What is the difference between aead.ko and authenc.ko ?
Hi,
Can anyone explain the difference between aead.ko and authenc.ko ?
How does crypto decide to use aead.ko instead of authenc.ko ? I am guessing it is something to do with XFRM ?
Thanks,
Regards,
Dean Jenkins
MontaVista Software
Herbert Xu
maintainerQuoted 2 lines · Dean Jenkins
Can anyone explain the difference between aead.ko and authenc.ko ?
AEAD is a type of crypto algorithms, just like cipher or hash.
Authenc is a particular AEAD algorithm, just like AES is a cipher or SHA is a hash.
Quoted 2 lines
How does crypto decide to use aead.ko instead of authenc.ko ? I am guessing it is something to do with XFRM ?
Well IPsec uses the AEAD interface so it loads the aead.ko due to symbol dependencies. The authenc module is loaded if the user specifies a normal block cipher and hash algorithm.
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt