Lines Matching refs:cipher_data
179 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
180 if (!ctx->cipher_data) in EVP_CipherInit_ex()
188 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
577 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
578 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
580 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
581 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
666 if (in->cipher_data && in->cipher->ctx_size) in EVP_CIPHER_CTX_copy()
668 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
669 if (!out->cipher_data) in EVP_CIPHER_CTX_copy()
674 memcpy(out->cipher_data,in->cipher_data,in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()