Skip to content

Commit

Permalink
CryptoPkg/BaseCryptLib: add DigestLen to RsaOaepEncrypt(), RsaOaepDec…
Browse files Browse the repository at this point in the history
…rypt() (#80)

## Description

Add DigestLen parameter to RsaOaepEncrypt(), RsaOaepDecrypt() so that
SHA256, SAH384, SHA512 hash and MGF can be used with the API.

- [ ] Impacts functionality?
- [x] Impacts security?
- [x] Breaking change?
- [x] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

Unit tests, wycheproof test vectors, end-to-end test with 3rd party
application.

## Integration Instructions

nuget needs to be built on a private mu_basecore branch.

(contains changes from edk2 commit
89ff5da9f9787be29c173ad5d5c0beb0c262e3cc)
(contains changes from edk2 commit
503344cdbd289e6f360f900551d1cc7c23f4b27a)

---------

Co-authored-by: Chris Ruffin <[email protected]>
  • Loading branch information
cmruffin and Chris Ruffin authored Apr 12, 2024
1 parent 18b2c6c commit 431cff6
Show file tree
Hide file tree
Showing 6 changed files with 495 additions and 364 deletions.
Loading

0 comments on commit 431cff6

Please sign in to comment.