diff options
author | Lee Nipper <lee.nipper@gmail.com> | 2011-11-21 16:13:25 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-11-21 16:21:48 +0800 |
commit | 79b3a418e090248d00ceba40b81da9dfac753367 (patch) | |
tree | 99ac80d75596b08206e3397a632ff7df6b5ad015 /ipc/mq_sysctl.c | |
parent | d35643385628d44a5933a0755b01478eb4df5c65 (diff) | |
download | op-kernel-dev-79b3a418e090248d00ceba40b81da9dfac753367.zip op-kernel-dev-79b3a418e090248d00ceba40b81da9dfac753367.tar.gz |
crypto: talitos - add hmac algorithms
Add these hmac algorithms to talitos:
hmac(md5),
hmac(sha1),
hmac(sha224),
hmac(sha256),
hmac(sha384),
hmac(sha512).
These are all type ahash.
Signed-off-by: Lee Nipper <lee.nipper@gmail.com>
Fixed up to not register HMAC algorithms on sec2.0 devices.
Rationale (from Lee):
on an 8349E Rev1.1, there's a problem with hmac for any talitos
hmac sequence requiring an intermediate hash context (Pointer
DWORD 1); the result is an incorrect hmac. An intermediate hash
context is required for something longer than (65536-blocksize),
and for other cases when update/finup/final are used inefficiently.
Interestingly, a normal hash (without hmac) works perfectly
when using an intermediate context.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions