Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssl/crypto/engine/
H A Deng_devcrypto.c59 struct cipher_ctx { struct
152 struct cipher_ctx *cipher_ctx = in cipher_init() local
179 struct cipher_ctx *cipher_ctx = in cipher_do_cipher() local
260 struct cipher_ctx *cipher_ctx = in ctr_do_cipher() local
266 (*out++) = *(in++) ^ cipher_ctx->partial[cipher_ctx->num]; in ctr_do_cipher()
268 cipher_ctx->num = (cipher_ctx->num + 1) % cipher_ctx->blocksize; in ctr_do_cipher()
284 memset(cipher_ctx->partial, 0, cipher_ctx->blocksize); in ctr_do_cipher()
289 out[cipher_ctx->num] = in[cipher_ctx->num] in ctr_do_cipher()
300 struct cipher_ctx *cipher_ctx = in cipher_ctrl() local
317 memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess)); in cipher_ctrl()
[all …]