Commit 95aa59a
committed
hqc-kem: fix pkcs8 v0.11.0 API compatibility
pkcs8 v0.11.0 changed Error::KeyMalformed from a unit variant to
Error::KeyMalformed(KeyError), so passing it bare yields a function
pointer rather than an Error value. Use pkcs8::KeyError::Invalid
instead, which converts to pkcs8::Error via From, matching the
pattern used in ml-kem.
Also bumps the pkcs8 version constraint from 0.11.0-rc.11 to 0.11
and removes the now-redundant standalone hqc-kem/Cargo.lock (the
workspace Cargo.lock is authoritative).1 parent d15c88b commit 95aa59a
4 files changed
Lines changed: 56 additions & 1184 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments