] crypto: sha512: implement base layer for SHA-512
...
+int sha512_base_do_update(struct shash_desc *desc, const u8 *data,
+ unsigned int len, sha512_block_fn *block_fn, void
*p)
+{
+ struct sha512_state *sctx = shash_desc_ctx(desc);
+ unsigned int partial
...@lists.infradead.org; linux-crypto@vger.kernel.org;
samitolva...@google.com; herb...@gondor.apana.org.au; jussi.kivili...@iki.fi
Cc: Ard Biesheuvel
Betreff: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512
To reduce the number of copies of boilerplate code throughout
the tree
...@gondor.apana.org.au; jussi.kivili...@iki.fi
Cc: Ard Biesheuvel
Betreff: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512
To reduce the number of copies of boilerplate code throughout
the tree, this patch implements generic glue for the SHA-512
algorithm. This allows a specific
To reduce the number of copies of boilerplate code throughout
the tree, this patch implements generic glue for the SHA-512
algorithm. This allows a specific arch or hardware implementation
to only implement the special handling that it needs.
Signed-off-by: Ard Biesheuvel