Home
last modified time | relevance | path

Searched refs:cipher_ctx (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/crypto/openssl/crypto/engine/
H A Deng_devcrypto.c57 struct cipher_ctx { struct
150 struct cipher_ctx *cipher_ctx = in cipher_init() local
177 struct cipher_ctx *cipher_ctx = in cipher_do_cipher() local
258 struct cipher_ctx *cipher_ctx = in ctr_do_cipher() local
264 (*out++) = *(in++) ^ cipher_ctx->partial[cipher_ctx->num]; in ctr_do_cipher()
266 cipher_ctx->num = (cipher_ctx->num + 1) % cipher_ctx->blocksize; in ctr_do_cipher()
282 memset(cipher_ctx->partial, 0, cipher_ctx->blocksize); in ctr_do_cipher()
287 out[cipher_ctx->num] = in[cipher_ctx->num] in ctr_do_cipher()
298 struct cipher_ctx *cipher_ctx = in cipher_ctrl() local
315 memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess)); in cipher_ctrl()
[all …]