aead: Create AEAD using traditional transforms with an explicit IV generator
authorMartin Willi <martin@revosec.ch>
Tue, 31 Mar 2015 12:59:12 +0000 (14:59 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 13 Apr 2015 13:06:15 +0000 (15:06 +0200)
commit3c81cb6fc3225423ce82bbd97bd6fd9b70df8cc0
tree73734ac0beef72de5a8ca3dff9b69c57a5e27fc1
parenta4549e55250e35033cb5984d834f174eec795e9e
aead: Create AEAD using traditional transforms with an explicit IV generator

Real AEADs directly provide a suitable IV generator, but traditional crypters
do not. For some (stream) ciphers, we should use sequential IVs, for which
we pass an appropriate generator to the AEAD wrapper.
src/charon-tkm/src/tkm/tkm_keymat.c
src/libcharon/sa/ikev2/keymat_v2.c
src/libipsec/esp_context.c
src/libstrongswan/crypto/aead.c
src/libstrongswan/crypto/aead.h