-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement PKCS7_encrypt and PKC7_decrypt (#1996)
This PR adds 2 new functions to encrypt/decrypt BIO contents into/out of "enveloped"-type PKCS7 objects. Like OpenSSL, this implementation of `PKCS7_decrypt` contains mitigations against the "Million Message Attack" (MMA) as prescribed in [RFC 3218](https://www.rfc-editor.org/rfc/rfc3218). A more detailed description is given in source comments.
- Loading branch information
1 parent
7c04616
commit f14cc9a
Showing
6 changed files
with
581 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.