CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/09/22 05:54:23
Modified files:
sys/conf : files
sys/crypto : cryptodev.h cryptosoft.c cryptosoft.h xform.c
xform.h
Added files:
sys/crypto : gmac.h gmac.c
Log message:
OCF support for the Galois/Counter Mode (GCM) for AES as
described in FIPS SP 800-38D.
This implementation supports 16 byte authentication tag only,
splitting transformation into two parts: encryption and
authentication. Encryption is handled by the existing
AES-CTR implementation, while authentication requires new
AES_GMAC hash function.
Additional routine is added to the software crypto driver
to deal with peculiarities of a combined authentication-
encryption transformation.
With suggestions from reyk, naddy and toby.