diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-08-04 20:19:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-08-10 19:00:28 +0800 |
commit | 7c390170b49337477985be7a624015160ffeb056 (patch) | |
tree | c688eca7b31c154bc107cc107001fe2ffd4c7d99 /crypto/rng.c | |
parent | b64dc04beba30947dc80745dcb95ae3c04fd18cf (diff) |
crypto: sha1 - export sha1_update for reuse
Export the update function as crypto_sha1_update() to not have the need
to reimplement the same algorithm for each SHA-1 implementation. This
way the generic SHA-1 implementation can be used as fallback for other
implementations that fail to run under certain circumstances, like the
need for an FPU context while executing in IRQ context.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions