Linux cryptographic layer development
 help / color / mirror / Atom feed
* shash_alg size fields and stomping memory
@ 2011-04-19 18:29 Kent Borg
  2011-04-27  9:57 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Kent Borg @ 2011-04-19 18:29 UTC (permalink / raw)
  To: Linux Crypto Mailing List

In struct shash_alg what are the various sizes for?  (WOuld be cool to 
know what everything is for in those alg structures...)

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.

And, while I am at it, what is "cra"? 


-kb, the Kent who would love to RTFM but there doesn't seem to be an FM.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-27  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-19 18:29 shash_alg size fields and stomping memory Kent Borg
2011-04-27  9:57 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox