Skip to content
Commit 0475add3 authored by Brilly Wu's avatar Brilly Wu Committed by Herbert Xu
Browse files

crypto: padlock - Add SHA-1/256 module for VIA Nano



Add new SHA-1/256 module that never needs any fallback and just calls the
PadLock hardware instruction supported from VIA Nano processors to implement
the "update" and "final" function.

They are respectively named "sha1_alg_nano" and "sha256_alg_nano", and will
be used on any VIA Nano processor or the later ones. On VIA C7 CPU, the
"sha1_alg" and "sha256_alg" modules will still be used as before.

Signed-off-by: default avatarBrilly Wu <brillywu@viatech.com.cn>
Signed-off-by: default avatarKary Jin <karyjin@viatech.com.cn>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7dfc2179
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment