Linux cryptographic layer development
 help / color / mirror / Atom feed
* ABLKCIPHER
@ 2010-03-12 13:36 Dimitrios Siganos
  2010-03-13 12:31 ` ABLKCIPHER Herbert Xu
  0 siblings, 1 reply; 5+ messages in thread
From: Dimitrios Siganos @ 2010-03-12 13:36 UTC (permalink / raw)
  To: linux-crypto

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

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

end of thread, other threads:[~2010-03-16  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 13:36 ABLKCIPHER Dimitrios Siganos
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

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