AW: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Markus Stockhausen
] 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

Re: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Ard Biesheuvel
...@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

AW: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Markus Stockhausen
...@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

[RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-28 Thread Ard Biesheuvel
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