Lines Matching refs:cipher_data
161 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
162 if (!ctx->cipher_data) in EVP_CipherInit_ex()
170 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
503 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
504 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
506 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
507 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
588 if (in->cipher_data && in->cipher->ctx_size) in EVP_CIPHER_CTX_copy()
590 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
591 if (!out->cipher_data) in EVP_CIPHER_CTX_copy()
596 memcpy(out->cipher_data,in->cipher_data,in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()