Skip to content

Commit 135decb

Browse files
fix XWing algorithm ID
1 parent 43c0252 commit 135decb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

traits/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.0] - Unreleased
9+
10+
- [#103](https://github.com/cryspen/hpke-rs/pull/103): Add correct code point for `XWingDraft06` ciphersuite and move old code point to `XWingDraft06Hpke`.
11+
812
## [0.3.0] - 2025-07-01
913

1014
- [#72](https://github.com/cryspen/hpke-rs/pull/72):

traits/src/types.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ pub enum KemAlgorithm {
3131
DhKem448 = 0x0021,
3232

3333
/// X-WING
34-
XWingDraft06 = 0x004D,
34+
///
35+
/// This is an old code point but with draft 06.
36+
XWingDraft06Hpke = 0x004D,
37+
38+
/// X-WING
39+
///
40+
/// <https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-xwing-kem-06>
41+
XWingDraft06 = 0x647a,
3542
}
3643

3744
impl core::fmt::Display for KemAlgorithm {

0 commit comments

Comments
 (0)