HomeSort by: relevance | last modified time | path
    Searched refs:authctr (Results 1 - 14 of 14) sorted by relevancy

  /src/sys/crypto/aes/
aes_ccm.h 38 uint8_t authctr[32]; /* authenticator and counter */ member in struct:aes_ccm
aes_bear.c 648 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
661 q[2*0] = le32dec(authctr + 4*0);
662 q[2*1] = le32dec(authctr + 4*1);
663 q[2*2] = le32dec(authctr + 4*2);
664 q[2*3] = le32dec(authctr + 4*3);
667 c0 = le32dec(authctr + 16 + 4*0);
668 c1 = le32dec(authctr + 16 + 4*1);
669 c2 = le32dec(authctr + 16 + 4*2);
670 c3 = be32dec(authctr + 16 + 4*3);
698 le32enc(authctr + 4*0, q[2*0])
    [all...]
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...]
aes_ccm.c 69 uint8_t *ctr = C->authctr + 16;
79 uint8_t *ctr = C->authctr + 16;
92 uint8_t *auth = C->authctr;
93 uint8_t *ctr = C->authctr + 16;
186 uint8_t *auth = C->authctr;
187 uint8_t *ctr = C->authctr + 16;
246 uint8_t *auth = C->authctr;
247 uint8_t *ctr = C->authctr + 16;
309 uint8_t *auth = C->authctr;
310 const uint8_t *ctr = C->authctr + 16
    [all...]
aes_impl.c 315 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
323 aes_impl->ai_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
328 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
336 aes_impl->ai_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
  /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...]
aes_ssse3_subr.c 228 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
239 auth = loadblock(authctr);
240 ctr_be = loadblock(authctr + 16);
249 storeblock(authctr, auth);
250 storeblock(authctr + 16, ctr_be);
255 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
266 auth = loadblock(authctr);
267 ctr_be = loadblock(authctr + 16);
276 storeblock(authctr, auth);
277 storeblock(authctr + 16, ctr_be)
    [all...]
aes_sse2_impl.c 159 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
164 aes_sse2_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
170 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
175 aes_sse2_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
aes_sse2_subr.c 556 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
571 q[0] = aes_sse2_interleave_in(_mm_loadu_epi8(authctr));
574 c0 = le32dec(authctr + 16 + 4*0);
575 c1 = le32dec(authctr + 16 + 4*1);
576 c2 = le32dec(authctr + 16 + 4*2);
577 c3 = be32dec(authctr + 16 + 4*3);
601 _mm_storeu_epi8(authctr, aes_sse2_interleave_out(q[0]));
604 be32enc(authctr + 16 + 4*3, c3);
613 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
628 c0 = le32dec(authctr + 16 + 4*0)
    [all...]
aes_ssse3_impl.c 152 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
157 aes_ssse3_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
163 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
168 aes_ssse3_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
aes_ni.c 223 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
231 aesni_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
237 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
245 aesni_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
  /src/sys/crypto/aes/arch/arm/
aes_neon_subr.c 292 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
303 auth = loadblock(authctr);
304 ctr_be = loadblock(authctr + 16);
318 storeblock(authctr, auth);
319 storeblock(authctr + 16, ctr_be);
324 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
335 ctr_be = loadblock(authctr + 16);
340 auth = loadblock(authctr);
360 storeblock(authctr, auth);
361 storeblock(authctr + 16, ctr_be)
    [all...]
aes_armv8.c 225 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
233 aesarmv8_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
239 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
247 aesarmv8_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
aes_neon_impl.c 160 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
165 aes_neon_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
171 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
176 aes_neon_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);

Completed in 19 milliseconds