Package org.bouncycastle.jcajce.provider.asymmetric.xwing
package org.bouncycastle.jcajce.provider.asymmetric.xwing
JCA/JCE provider classes for X-Wing (draft-connolly-cfrg-xwing-kem), the X25519 and ML-KEM-768 hybrid
KEM, registered in the BouncyCastle provider as "X-WING".
-
ClassesClassDescriptionKTS-style key wrapping Cipher for X-Wing: the wrapped key is the X-Wing encapsulation followed by the key wrapped under a key derived from the X-Wing shared secret, with the KDF and wrap algorithm taken from a
KTSParameterSpec(AES-KWP with a 256-bit key and the default KDF when none is given).X-Wing has a single parameter set, so the generator needs no initialisation:initialize(int, SecureRandom)accepts any strength and only records the SecureRandom, andinitialize(AlgorithmParameterSpec, SecureRandom)accepts a spec naming "X-WING" (for example a NamedParameterSpec) for the same purpose.