cryspen / hpke-rs

Pure Rust implementation of HPKE (https://www.rfc-editor.org/rfc/rfc9180.html)
31 stars 16 forks source link

Typo in test_hpke_kat.rs #20

Closed mefsantos closed 3 years ago

mefsantos commented 3 years ago

typo in test vector struct: "HpkeTestVecor"

mefsantos commented 3 years ago

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?

franziskuskiefer commented 3 years ago

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.

franziskuskiefer commented 3 years ago

fixed in #22