Lines Matching refs:cipher_data
57 if (ctx->cipher_data && ctx->cipher->ctx_size) in EVP_CIPHER_CTX_reset()
58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in EVP_CIPHER_CTX_reset()
60 OPENSSL_free(ctx->cipher_data); in EVP_CIPHER_CTX_reset()
156 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
157 ctx->cipher_data = NULL; in evp_cipher_init_internal()
339 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal()
340 if (ctx->cipher_data == NULL) { in evp_cipher_init_internal()
346 ctx->cipher_data = NULL; in evp_cipher_init_internal()
1451 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1452 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
1453 if (out->cipher_data == NULL) { in EVP_CIPHER_CTX_copy()
1458 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()