Lines Matching defs:nrounds
60 uint32_t nrounds)
63 switch (nrounds) {
74 panic("invalid AES rounds: %u", nrounds);
80 uint32_t nrounds)
84 aesni_setenckey(enc, key, nrounds);
90 uint32_t nrounds)
95 aesni_setenckey(&enc, key, nrounds);
96 aesni_enctodec(&enc, dec, nrounds);
104 uint8_t out[static 16], uint32_t nrounds)
108 aesni_enc(enc, in, out, nrounds);
114 uint8_t out[static 16], uint32_t nrounds)
118 aesni_dec(dec, in, out, nrounds);
125 uint32_t nrounds)
131 aesni_cbc_enc(enc, in, out, nbytes, iv, nrounds);
138 uint32_t nrounds)
146 aesni_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds);
154 aesni_cbc_dec8(dec, in, out, nbytes, iv, nrounds);
162 uint32_t nrounds)
170 aesni_xts_enc1(enc, in, out, nbytes % 128, iv, nrounds);
178 aesni_xts_enc8(enc, in, out, nbytes, iv, nrounds);
186 uint32_t nrounds)
194 aesni_xts_dec1(dec, in, out, nbytes % 128, iv, nrounds);
202 aesni_xts_dec8(dec, in, out, nbytes, iv, nrounds);
210 uint32_t nrounds)
217 aesni_cbcmac_update1(enc, in, nbytes, auth, nrounds);
224 uint32_t nrounds)
231 aesni_ccm_enc1(enc, in, out, nbytes, authctr, nrounds);
238 uint32_t nrounds)
245 aesni_ccm_dec1(enc, in, out, nbytes, authctr, nrounds);