• 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
..
.clang-format Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cpputil.gyp Loading commit data...
cpputil.h Loading commit data...
databuffer.cc Loading commit data...
databuffer.h Loading commit data...
dummy_io.cc Loading commit data...
dummy_io.h Loading commit data...
dummy_io_fwd.cc Loading commit data...
freebl_scoped_ptrs.h Loading commit data...
manifest.mn Loading commit data...
nss_scoped_ptrs.h Loading commit data...
scoped_ptrs_smime.h Loading commit data...
scoped_ptrs_ssl.h Loading commit data...
scoped_ptrs_util.h Loading commit data...
tls_parser.cc Loading commit data...
tls_parser.h Loading commit data...