From: Dimitrios Siganos <dimitris@siganos.org>
To: linux-crypto@vger.kernel.org
Subject: ABLKCIPHER
Date: Fri, 12 Mar 2010 13:36:35 +0000 [thread overview]
Message-ID: <4B9A4363.1080706@siganos.org> (raw)
Hi,
I am trying to write an ABLKCIPHER algorithm for my hardware crypto
engine and I have a few questions:
1) In struct ablkcipher_alg, what do these fields do? I see some
implementations use them and some not. Do I need to implement them?
int (*givencrypt)(struct skcipher_givcrypt_request *req);
int (*givdecrypt)(struct skcipher_givcrypt_request *req);
const char *geniv;
2) What is a CRYPTO_ALG_TYPE_GIVCIPHER? What does it do and how does it
interface to other algorithms?
In case, it is important; we are using linux-2.6.28 but we will soon
move to linux-2.6.31. The ultimate goal is to accelerate
authenc(cbc(aes),hmac(sha1)) and I am currently implementing the simpler
algorithms as a learning exercise.
Regards,
Dimitris
next reply other threads:[~2010-03-12 13:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 13:36 Dimitrios Siganos [this message]
2010-03-13 12:31 ` ABLKCIPHER Herbert Xu
2010-03-15 15:23 ` ABLKCIPHER Dimitrios Siganos
2010-03-15 17:00 ` ABLKCIPHER Kim Phillips
2010-03-16 0:18 ` ABLKCIPHER 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=4B9A4363.1080706@siganos.org \
--to=dimitris@siganos.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox