Linux cryptographic layer development
 help / color / mirror / Atom feed
* combined mode algorithms
@ 2007-06-25 22:13 Joy Latten
  2007-06-26  9:09 ` Evgeniy Polyakov
  0 siblings, 1 reply; 7+ messages in thread
From: Joy Latten @ 2007-06-25 22:13 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert

I have been reading IP Encapsulating Payload-(ESP) RFC4303 where use of
combined mode algorithms are mentioned and accommodated for. 
In trying to determine how I should handle this, I examined the
crypto code and could not readily recognize any combined mode
algorithms. Are there any current plans to implement combined mode
algorithms?  

Thanks!

Regards,
Joy

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: combined mode algorithms
@ 2007-08-20 23:12 Joy Latten
  2007-08-20 23:34 ` Herbert Xu
  0 siblings, 1 reply; 7+ messages in thread
From: Joy Latten @ 2007-08-20 23:12 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto

>
>The salt will just come from the key field.  So instead of having
>an 128-bit key for example, you'd have 152 bits.

ok, quick question, this 152 bits key will be part
of input to setkey()? 
The reason I am asking is because setkey in ablkcipher and
blkcipher check key length for min and max size.  
Thus for example, aes, when using a 256 bit key, would
pass in 288 bits or 36 octet key. max is 32 bits, so would
result in error. 

If not passed into setkey, then I assume the salt/nonce
would be parsed from key when ipsec daemon passes keys 
into kernel...

Joy

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

end of thread, other threads:[~2007-08-20 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25 22:13 combined mode algorithms Joy Latten
2007-06-26  9:09 ` Evgeniy Polyakov
2007-06-26 15:02   ` Joy Latten
2007-07-18  4:46     ` Herbert Xu
2007-07-18 22:32       ` Joy Latten
  -- strict thread matches above, loose matches on Subject: below --
2007-08-20 23:12 Joy Latten
2007-08-20 23:34 ` Herbert Xu

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