HomeSort by: relevance | last modified time | path
    Searched refs:authctr (Results 1 - 15 of 15) 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_bear64.c 714 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
732 w[0] = le32dec(authctr + 4*0);
733 w[1] = le32dec(authctr + 4*1);
734 w[2] = le32dec(authctr + 4*2);
735 w[3] = le32dec(authctr + 4*3);
738 c0 = le32dec(authctr + 16 + 4*0);
739 c1 = le32dec(authctr + 16 + 4*1);
740 c2 = le32dec(authctr + 16 + 4*2);
741 c3be = bswap32(le32dec(authctr + 16 + 4*3));
775 le32enc(authctr + 4*0, w[0])
    [all...]
aes_selftest.c 502 uint8_t authctr[32]; local
509 memset(authctr, 0, 16);
510 memcpy(authctr + 16, ctr0, 16);
512 impl->ai_ccm_enc1(&enc, ptxt, buf, 16, authctr, nr);
513 if (memcmp(authctr, authctr16, 32))
514 result |= aes_selftest_fail(impl, authctr, authctr16, 32,
516 impl->ai_ccm_enc1(&enc, ptxt + 16, buf + 16, 32, authctr, nr);
517 if (memcmp(authctr, authctr48, 32))
518 result |= aes_selftest_fail(impl, authctr, authctr48, 32,
525 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 328 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
336 aes_impl->ai_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
341 uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],
349 aes_impl->ai_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
  /src/sys/crypto/aes/arch/x86/
aes_via.c 739 uint8_t *authctr; local
747 authctr = authctrbuf;
750 authctr = authctr0;
770 xor128(authctr, authctr, in);
771 le32enc(authctr + 16 + 4*0, c0);
772 le32enc(authctr + 16 + 4*1, c1);
773 le32enc(authctr + 16 + 4*2, c2);
774 be32enc(authctr + 16 + 4*3, ++c3);
775 aesvia_encN(enc, authctr, authctr, 2, cw0)
805 uint8_t *authctr; local
    [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_4x32_impl.c 162 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
166 aes_sse2_4x32_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
173 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
177 aes_sse2_4x32_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);
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);
aes_sse2_4x32_subr.c 597 uint8_t authctr[static 32], uint32_t nrounds)
610 q[0] = _mm_loadu_epi8(authctr);
613 c0 = le32dec(authctr + 16 + 4*0);
614 c1 = le32dec(authctr + 16 + 4*1);
615 c2 = le32dec(authctr + 16 + 4*2);
616 c3be = bswap32(le32dec(authctr + 16 + 4*3));
640 _mm_storeu_epi8(authctr, q[0]);
643 le32enc(authctr + 16 + 4*3, bswap32(c3be));
653 uint8_t authctr[static 32], uint32_t nrounds)
667 c0 = le32dec(authctr + 16 + 4*0)
    [all...]
  /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 31 milliseconds