Searched refs:aes_xts_ctx (Results 1 – 2 of 2) sorted by relevance
78 struct aes_xts_ctx *ctx = (struct aes_xts_ctx *)key; in aes_xts_reinit()98 aes_xts_crypt(struct aes_xts_ctx *ctx, u_int8_t *data, u_int do_encrypt) in aes_xts_crypt()129 aes_xts_crypt((struct aes_xts_ctx *)key, data, 1); in aes_xts_encrypt()135 aes_xts_crypt((struct aes_xts_ctx *)key, data, 0); in aes_xts_decrypt()141 struct aes_xts_ctx *ctx; in aes_xts_setkey()146 *sched = KMALLOC(sizeof(struct aes_xts_ctx), M_CRYPTO_DATA, in aes_xts_setkey()150 ctx = (struct aes_xts_ctx *)*sched; in aes_xts_setkey()161 bzero(*sched, sizeof(struct aes_xts_ctx)); in aes_xts_zerokey()
86 struct aes_xts_ctx { struct