/src/sys/crypto/aes/ |
aes_ccm.h | 38 uint8_t authctr[32]; /* authenticator and counter */ member in struct:aes_ccm
|
aes_selftest.c | 500 uint8_t authctr[32]; local in function:aes_selftest_ccm 507 memset(authctr, 0, 16); 508 memcpy(authctr + 16, ctr0, 16); 510 impl->ai_ccm_enc1(&enc, ptxt, buf, 16, authctr, nr); 511 if (memcmp(authctr, authctr16, 32)) 512 result |= aes_selftest_fail(impl, authctr, authctr16, 32, 514 impl->ai_ccm_enc1(&enc, ptxt + 16, buf + 16, 32, authctr, nr); 515 if (memcmp(authctr, authctr48, 32)) 516 result |= aes_selftest_fail(impl, authctr, authctr48, 32, 523 memset(authctr, 0, 16) [all...] |
/src/sys/crypto/aes/arch/x86/ |
aes_via.c | 731 uint8_t *authctr; local in function:aesvia_ccm_enc1 739 authctr = authctrbuf; 742 authctr = authctr0; 762 xor128(authctr, authctr, in); 763 le32enc(authctr + 16 + 4*0, c0); 764 le32enc(authctr + 16 + 4*1, c1); 765 le32enc(authctr + 16 + 4*2, c2); 766 be32enc(authctr + 16 + 4*3, ++c3); 767 aesvia_encN(enc, authctr, authctr, 2, cw0) 797 uint8_t *authctr; local in function:aesvia_ccm_dec1 [all...] |