Closed bwesterb closed 1 year ago
Hmm, this is a challenging one. I think that for something like this I'd want a feature flag. @bwesterb, do you think that you can manage that?
A feature flag is a good idea! Let's do that.
Very reasonable to expect a feature flag for that. Will change the PR.
It's under a feature flag now. There is a bit more code duplication than I would like. Not sure if we can work around it — my Rust macro fu isn't that strong yet.
Maintainer of rust-hpke prefers to wait for the final version of Kyber, before including support. I'd understand if you'd like to hold of as well because of that.
Cf. https://datatracker.ietf.org/doc/draft-westerbaan-cfrg-hpke-xyber768d00/
cc @chris-wood