AES counter mode uses 8byte IV, not 16 bytes.

Obtained from:	NetBSD
This commit is contained in:
Hajimu UMEMOTO 2005-10-12 09:13:48 +00:00
parent 9f5c1d1955
commit 9129d539e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151253

View File

@ -59,7 +59,7 @@
union cblock {
struct {
u_int8_t nonce[4];
u_int8_t iv[16];
u_int8_t iv[8];
u_int32_t ctr;
} v __attribute__((__packed__));
u_int8_t cblock[16];