Searched refs:cipher_ctx (Results 1 – 4 of 4) sorted by relevance
105 struct cipher_ctx { struct207 struct cipher_ctx *cipher_ctx = in cipher_init() local243 struct cipher_ctx *cipher_ctx = in cipher_do_cipher() local324 struct cipher_ctx *cipher_ctx = in ctr_do_cipher() local330 (*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() local382 memset(&cipher_ctx->sess, 0, sizeof(cipher_ctx->sess)); in cipher_ctrl()[all …]
177 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 …]
65 out->siv.cipher_ctx = NULL; in aes_siv_dupctx()
223 EVP_CIPHER_CTX *cipher_ctx; member
Completed in 21 milliseconds