Searched defs:keysched (Results 1 - 8 of 8) sorted by relevance

/freebsd-head/sys/opencrypto/
H A Dgmac.h45 uint32_t keysched[4*(RIJNDAEL_MAXNR + 1)]; member in struct:aes_gmac_ctx
H A Dcbc_mac.h58 uint32_t keysched[4*(RIJNDAEL_MAXNR+1)]; member in struct:aes_cbc_mac_ctx
/freebsd-head/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c49 armv8_aes_enc(int rounds, const uint8x16_t *keysched, const uint8x16_t from) argument
56 tmp = vaeseq_u8(tmp, keysched[i]);
58 tmp = vaeseq_u8(tmp, keysched[i + 1]);
62 tmp = vaeseq_u8(tmp, keysched[rounds - 1]);
64 tmp = vaeseq_u8(tmp, keysched[rounds]);
65 tmp = veorq_u8(tmp, keysched[rounds + 1]);
71 armv8_aes_dec(int rounds, const uint8x16_t *keysched, const uint8x16_t from) argument
78 tmp = vaesdq_u8(tmp, keysched[i]);
80 tmp = vaesdq_u8(tmp, keysched[i+1]);
84 tmp = vaesdq_u8(tmp, keysched[round
[all...]
/freebsd-head/sys/crypto/aesni/
H A Daesencdec.h40 aesni_enc8(int rounds, const __m128i *keysched, __m128i a, argument
46 a ^= keysched[0];
47 b ^= keysched[0];
48 c ^= keysched[0];
49 d ^= keysched[0];
50 e ^= keysched[0];
51 f ^= keysched[0];
52 g ^= keysched[0];
53 h ^= keysched[0];
56 a = _mm_aesenc_si128(a, keysched[
77 aesni_dec8(int rounds, const __m128i *keysched, __m128i a, __m128i b, __m128i c, __m128i d, __m128i e, __m128i f, __m128i g, __m128i h, __m128i out[8]) argument
115 aesni_enc(int rounds, const __m128i *keysched, const __m128i from) argument
131 aesni_dec(int rounds, const __m128i *keysched, const __m128i from) argument
[all...]
/freebsd-head/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c73 uint32_t keysched[4 * (RIJNDAEL_MAXNR + 1)]; local
76 rounds = rijndaelKeySetupEnc(keysched, key, klen * 8);
77 rijndaelEncrypt(keysched, rounds, zeroes, ghash);
78 explicit_bzero(keysched, sizeof(keysched));
/freebsd-head/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl.c38 * keysched AES key schedule to be initialized, of type aes_key_t.
42 aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits, void *keysched) argument
45 aes_key_t *newbie = keysched;
213 aes_key_t *keysched; local
215 keysched = (aes_key_t *)kmem_alloc(sizeof (aes_key_t), kmflag);
216 if (keysched != NULL) {
218 return (keysched);
/freebsd-head/sys/contrib/openzfs/module/icp/io/
H A Daes.c1226 void *keysched; local
1238 if ((keysched = aes_alloc_keysched(&size,
1247 if ((rv = init_keysched(key, keysched)) != CRYPTO_SUCCESS) {
1248 bzero(keysched, size);
1249 kmem_free(keysched, size);
1253 *tmpl = keysched;
1286 void *keysched; local
1290 if ((keysched = aes_alloc_keysched(&size, kmflag)) == NULL)
1296 if ((rv = init_keysched(key, keysched)) != CRYPTO_SUCCESS) {
1297 kmem_free(keysched, siz
[all...]
/freebsd-head/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1269 const void *keysched = ((aes_key_t *)ctx->gcm_keysched)->encr_ks.ks32; local
1270 int aes_rounds = ((aes_key_t *)keysched)->nr;
1285 aes_encrypt_intel(keysched, aes_rounds, cb, (uint32_t *)tmp);
1298 aes_encrypt_intel(keysched, aes_rounds, J0, J0);
1442 const void *keysched = ((aes_key_t *)ctx->gcm_keysched)->encr_ks.ks32; local
1454 aes_encrypt_intel(keysched, aes_rounds,

Completed in 132 milliseconds