Lines Matching defs:nrounds

50 aesbear64_setkey(uint64_t rk[static 30], const void *key, uint32_t nrounds)
54 switch (nrounds) {
65 panic("invalid AES nrounds: %u", nrounds);
72 aesbear64_setenckey(struct aesenc *enc, const uint8_t *key, uint32_t nrounds)
75 aesbear64_setkey(enc->aese_aes.aes_rk64, key, nrounds);
79 aesbear64_setdeckey(struct aesdec *dec, const uint8_t *key, uint32_t nrounds)
86 aesbear64_setkey(dec->aesd_aes.aes_rk64, key, nrounds);
91 uint8_t out[static 16], uint32_t nrounds)
98 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
111 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
128 uint8_t out[static 16], uint32_t nrounds)
135 br_aes_ct64_skey_expand(sk_exp, nrounds, dec->aesd_aes.aes_rk64);
148 br_aes_ct64_bitslice_decrypt(nrounds, sk_exp, q);
166 uint32_t nrounds)
180 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
202 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
231 uint32_t nrounds)
246 br_aes_ct64_skey_expand(sk_exp, nrounds, dec->aesd_aes.aes_rk64);
290 br_aes_ct64_bitslice_decrypt(nrounds, sk_exp, q);
344 br_aes_ct64_bitslice_decrypt(nrounds, sk_exp, q);
444 uint32_t nrounds)
459 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
485 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
521 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
554 uint32_t nrounds)
569 br_aes_ct64_skey_expand(sk_exp, nrounds, dec->aesd_aes.aes_rk64);
595 br_aes_ct64_bitslice_decrypt(nrounds, sk_exp, q);
631 br_aes_ct64_bitslice_decrypt(nrounds, sk_exp, q);
663 size_t nbytes, uint8_t auth[static 16], uint32_t nrounds)
673 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
695 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
714 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
725 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
760 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
790 size_t nbytes, uint8_t authctr[32], uint32_t nrounds)
802 br_aes_ct64_skey_expand(sk_exp, nrounds, enc->aese_aes.aes_rk64);
829 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
874 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);
885 br_aes_ct64_bitslice_encrypt(nrounds, sk_exp, q);