Lines Matching defs:dec
130 aesvia_setdeckey(struct aesdec *dec, const uint8_t *key, uint32_t nrounds)
136 dec->aesd_aes.aes_rk[0] = le32dec(key + 4*0);
137 dec->aesd_aes.aes_rk[1] = le32dec(key + 4*1);
138 dec->aesd_aes.aes_rk[2] = le32dec(key + 4*2);
139 dec->aesd_aes.aes_rk[3] = le32dec(key + 4*3);
150 br_aes_ct_keysched_stddec(dec->aesd_aes.aes_rk, key, key_len);
175 aesvia_decN(const struct aesdec *dec, const uint8_t in[static 16],
185 KASSERT(((uintptr_t)dec & 0xf) == 0);
191 : "b"(dec), "d"(cw)
199 NULL, "aesvia", "dec unaligned");
237 NULL, "aesvia", "dec aligned");
240 NULL, "aesvia", "dec unaligned");
244 aesvia_dec(const struct aesdec *dec, const uint8_t in[static 16],
254 aesvia_decN(dec, in, out, 1, cw0);
268 aesvia_decN(dec, inbuf, outbuf, 1, cw0);
307 aesvia_cbc_decN(const struct aesdec *dec, const uint8_t in[static 16],
318 KASSERT(((uintptr_t)dec & 0xf) == 0);
333 : "a"(iv), "b"(dec), "d"(cw)
400 aesvia_cbc_dec(const struct aesdec *dec, const uint8_t in[static 16],
414 aesvia_cbc_decN(dec, in, out, nbytes/16, iv, cw0);
426 aesvia_decN(dec, cv, tmp, 1, cw0);
591 aesvia_xts_dec(const struct aesdec *dec, const uint8_t in[static 16],
630 aesvia_decN(dec, out, out, 1, cw0);
644 aesvia_decN(dec, out, out, 8, cw0);
652 aesvia_decN(dec, (const void *)buf, out, 1, cw0);
663 aesvia_decN(dec, buf, buf, 1, cw0);