Adding TripleDhKem key exchange (#404)

This commit is contained in:
Kevin Lewi
2025-11-08 14:21:51 -08:00
committed by GitHub
parent 67297dc73a
commit 8afec46637
9 changed files with 1607 additions and 2 deletions
+3
View File
@@ -24,6 +24,8 @@ pub enum InternalError {
HmacError,
/// Computing the key stretching function failed
KsfError,
/// Error while performing a KEM operation
KemError,
/** This error occurs when the envelope seal open hmac check fails
HMAC check in seal open failed. */
SealOpenHmacError,
@@ -43,6 +45,7 @@ impl Debug for InternalError {
Self::HkdfError => f.debug_tuple("HkdfError").finish(),
Self::HmacError => f.debug_tuple("HmacError").finish(),
Self::KsfError => f.debug_tuple("KsfError").finish(),
Self::KemError => f.debug_tuple("KemError").finish(),
Self::SealOpenHmacError => f.debug_tuple("SealOpenHmacError").finish(),
Self::IncompatibleEnvelopeModeError => {
f.debug_tuple("IncompatibleEnvelopeModeError").finish()