From: Kent Borg <kentborg@borg.org>
To: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: shash_alg size fields and stomping memory
Date: Tue, 19 Apr 2011 14:29:16 -0400 [thread overview]
Message-ID: <4DADD47C.1080701@borg.org> (raw)
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.
next reply other threads:[~2011-04-19 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 18:29 Kent Borg [this message]
2011-04-27 9:57 ` shash_alg size fields and stomping memory Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DADD47C.1080701@borg.org \
--to=kentborg@borg.org \
--cc=linux-crypto@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.