Repository navigation
Commit 1a67e71
gefeili
As announced in the 1.85 release notes, remove the deprecated ML-KEM implementation under org.bouncycastle.pqc.crypto.mlkem (public API and its internal engine), repointing the pqc.crypto.util key-factory classes and pqc.crypto.util.PQCOtherInfoGenerator - its only remaining production callers - to the canonical org.bouncycastle.crypto.params / generators / kems classes. PQCOtherInfoGenerator.PartyU/PartyV widen their constructor parameter from the pqc-side KEMParameters marker interface to CipherParameters, since the canonical MLKEMParameters does not implement that marker interface (only NTRUParameters, which stays under pqc.crypto, still does) - the two markers were never used for anything but instanceof dispatch to the already-narrowed concrete type. Also adds the ML-KEM round trip through PQCOtherInfoGenerator, which had no test coverage of any kind before this.
1 parent 089fe42 commit 1a67e71
38 files changed
Lines changed: 60 additions & 1880 deletions
File tree
- core/src
- main
- java/org/bouncycastle
- crypto/kems/mlkem
- pqc/crypto
- mlkem
- util
- jdk1.1/org/bouncycastle/pqc/crypto/util
- jdk1.4/org/bouncycastle/pqc/crypto/util
- test/java/org/bouncycastle/pqc/crypto/test
- docs
- prov/src/main
- ext-jdk1.9
- jdk1.9
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments