Skip to content

feat: Add EVP_CIPHER_CTX_init_wrapper#20

Merged
Andrew-Lees11 merged 3 commits intoopenSSL1from
cipherInit1.0
Feb 15, 2019
Merged

feat: Add EVP_CIPHER_CTX_init_wrapper#20
Andrew-Lees11 merged 3 commits intoopenSSL1from
cipherInit1.0

Conversation

@Andrew-Lees11
Copy link
Copy Markdown
Contributor

The PR adds a wrapper for EVP_CIPHER_CTX_init so that it can be called from OpenSSL 1.0 and 1.1

In OpenSSL 1.0 you had to call EVP_CIPHER_CTX_init after creating a new cipher context. This is no longer the case and EVP_CIPHER_CTX_init is not used in 1.1. Instead calls to EVP_CIPHER_CTX_init should just call EVP_CIPHER_CTX_reset.

https://www.openssl.org/docs/man1.1.0/man3/EVP_EncryptInit.html

@Andrew-Lees11 Andrew-Lees11 merged commit 273fe9f into openSSL1 Feb 15, 2019
@Andrew-Lees11 Andrew-Lees11 deleted the cipherInit1.0 branch February 21, 2019 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants