Kent Borg <kentb...@borg.org> wrote: > > My most recent discovery is that if I want to do an shash_desc_ctx() and > use the result, cra_ctxsize doesn't seem to mean a thing. Rather, > unless I set descsize, memory will be stomped.
descsize specifies the size of shash_desc_ctx. ctxsize is the size of crypto_shash_ctx. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html