• Kevin Jacobs's avatar
    Bug 1631890 - Add support for Hybrid Public Key Encryption (draft-irtf-cfrg-hpke-05). r=mt · bd4ef1c9
    Kevin Jacobs authored
    This patch adds support for Hybrid Public Key Encryption (draft-irtf-cfrg-hpke-05).
    
    Because the draft number (and the eventual RFC number) is an input to the key schedule, future updates will *not* be backwards compatible in terms of key material or encryption/decryption. For this reason, a default compilation will produce stubs that simply return an "Invalid Algorithm" error. To opt into using the HPKE functionality , compile with `NSS_ENABLE_DRAFT_HPKE` defined. Once finalized, this flag will not be required to access the functions.
    
    Lastly, the `DeriveKeyPair` API is not implemented as it adds complextiy around PKCS #11 and is unnecessary for ECH.
    
    Differential Revision: https://phabricator.services.mozilla.com/D73947
    
    --HG--
    extra : moz-landing-system : lando
    bd4ef1c9
Name
Last commit
Last update
..
testvectors Loading commit data...
testvectors_base Loading commit data...
wycheproof Loading commit data...
Makefile Loading commit data...
__init__.py Loading commit data...
gtest.gypi Loading commit data...
gtest.mk Loading commit data...
gtests-util.cc Loading commit data...
gtests.cc Loading commit data...
manifest.mn Loading commit data...
util.h Loading commit data...