]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 362123: Fix AES-CCM requests with an AAD size smaller than a single block.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 8 Sep 2020 23:19:59 +0000 (23:19 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 8 Sep 2020 23:19:59 +0000 (23:19 +0000)
commit95b37a4ed741fd116809d0f2cb295c4e9977f5b6
tree337c7477bc9f38eb5207ebe4579844012dc8c073
parent13ccf661f6633628bf977612b86b6b638f0b5273
MFC 362123: Fix AES-CCM requests with an AAD size smaller than a single block.

The amount to copy for the first block is the minimum of the size of
the AAD region or the remaining space in the first block.
sys/crypto/aesni/aesni_ccm.c