Home
last modified time | relevance | path

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

/openssl/engines/
H A De_devcrypto.c105 struct cipher_ctx { struct
207 struct cipher_ctx *cipher_ctx = in cipher_init() local
243 struct cipher_ctx *cipher_ctx = in cipher_do_cipher() local
324 struct cipher_ctx *cipher_ctx = in ctr_do_cipher() local
330 (*out++) = *(in++) ^ cipher_ctx->partial[cipher_ctx->num]; in ctr_do_cipher()
332 cipher_ctx->num = (cipher_ctx->num + 1) % cipher_ctx->blocksize; in ctr_do_cipher()
348 memset(cipher_ctx->partial, 0, cipher_ctx->blocksize); in ctr_do_cipher()
353 out[cipher_ctx->num] = in[cipher_ctx->num] in ctr_do_cipher()
364 struct cipher_ctx *cipher_ctx = in cipher_ctrl() local
382 memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess)); in cipher_ctrl()
[all …]
/openssl/crypto/modes/
H A Dsiv128.c177 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_init()
181 ctx->cipher_ctx = NULL; in ossl_siv128_init()
194 if ((ctx->cipher_ctx = EVP_CIPHER_CTX_new()) == NULL in ossl_siv128_init()
204 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_init()
224 if (dest->cipher_ctx == NULL) { in ossl_siv128_copy_ctx()
225 dest->cipher_ctx = EVP_CIPHER_CTX_new(); in ossl_siv128_copy_ctx()
226 if (dest->cipher_ctx == NULL) in ossl_siv128_copy_ctx()
229 if (!EVP_CIPHER_CTX_copy(dest->cipher_ctx, src->cipher_ctx)) in ossl_siv128_copy_ctx()
317 if (!siv128_do_encrypt(ctx->cipher_ctx, out, in, len, &q) in ossl_siv128_decrypt()
373 EVP_CIPHER_CTX_free(ctx->cipher_ctx); in ossl_siv128_cleanup()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv_hw.c65 out->siv.cipher_ctx = NULL; in aes_siv_dupctx()
/openssl/include/crypto/
H A Dmodes.h223 EVP_CIPHER_CTX *cipher_ctx; member

Completed in 21 milliseconds