Re: shash_alg size fields and stomping memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kent Borg <kentborg@xxxxxxxx> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux