Class Symmetric
java.lang.Object
org.bouncycastle.pqc.crypto.mlkem.Symmetric
- Direct Known Subclasses:
Symmetric.ShakeSymmetric
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidhash_g(byte[] out, byte[] in) (package private) abstract voidhash_h(byte[] out, byte[] in, int outOffset) (package private) abstract voidkdf(byte[] out, byte[] in) (package private) abstract voidprf(byte[] out, byte[] key, byte nonce) (package private) abstract voidxofAbsorb(byte[] seed, byte x, byte y) (package private) abstract voidxofSqueezeBlocks(byte[] out, int outOffset, int outLen)
-
Field Details
-
xofBlockBytes
final int xofBlockBytes
-
-
Constructor Details
-
Symmetric
Symmetric(int blockBytes)
-
-
Method Details
-
hash_h
abstract void hash_h(byte[] out, byte[] in, int outOffset) -
hash_g
abstract void hash_g(byte[] out, byte[] in) -
xofAbsorb
abstract void xofAbsorb(byte[] seed, byte x, byte y) -
xofSqueezeBlocks
abstract void xofSqueezeBlocks(byte[] out, int outOffset, int outLen) -
prf
abstract void prf(byte[] out, byte[] key, byte nonce) -
kdf
abstract void kdf(byte[] out, byte[] in)
-