Skip to content

Commit ab61a5a

Browse files
committed
bugfix: use correct kem ids
1 parent 52d84b0 commit ab61a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ only two of options listed in the hpke draft are available.
9292
pub enum Kem {
9393
/// DHKEM(P-256, HKDF-SHA256) [NISTCurves](https://doi.org/10.6028/nist.fips.186-4)
9494
#[cfg(feature = "kem-dh-p256-hkdf-sha256")]
95-
DhP256HkdfSha256 = 10,
95+
DhP256HkdfSha256 = 16,
9696

9797
/// DHKEM(X25519, HKDF-SHA256) [RFC7748](https://www.rfc-editor.org/info/rfc7748)
9898
#[cfg(feature = "kem-x25519-hkdf-sha256")]
99-
X25519HkdfSha256 = 20,
99+
X25519HkdfSha256 = 32,
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)