summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorCyrille Pitchen <cyrille.pitchen@atmel.com>2017-01-26 17:07:56 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 18:16:14 +0800
commit89a82ef87e012061989fcaf7dd51d706ff2090e3 (patch)
tree7bd40206ac0ca5832b0bdeddff825465c16a7d7c /Kbuild
parenta1f613f167a36610d238b66f5e49bfdb1d04aa89 (diff)
crypto: atmel-authenc - add support to authenc(hmac(shaX), Y(aes)) modes
This patchs allows to combine the AES and SHA hardware accelerators on some Atmel SoCs. Doing so, AES blocks are only written to/read from the AES hardware. Those blocks are also transferred from the AES to the SHA accelerator internally, without additionnal accesses to the system busses. Hence, the AES and SHA accelerators work in parallel to process all the data blocks, instead of serializing the process by (de)crypting those blocks first then authenticating them after like the generic crypto/authenc.c driver does. Of course, both the AES and SHA hardware accelerators need to be available before we can start to process the data blocks. Hence we use their crypto request queue to synchronize both drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions