franziskuskiefer / hpke-rs

Pure Rust implementation of HPKE (https://www.rfc-editor.org/rfc/rfc9180.html)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in test_hpke_kat.rs

mefsantos opened this issue · comments

typo in test vector struct: "HpkeTestVecor"

Also, a half off-topic question: any particular reason for (hike) mode to be deserialised as u16 when it is defined as u8 in lib.rs?

Thanks for taking a look and filing the issue. I'll fix both on a branch I'm working on right now. This should get into main soon (I'll update the issue when it does).
The mode is probably a copy paste issue because the other "modes" for KEM, KDF, and AEAD are u16.