Class Symmetric

java.lang.Object
org.bouncycastle.pqc.crypto.mlkem.Symmetric
Direct Known Subclasses:
Symmetric.ShakeSymmetric

abstract class Symmetric extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Symmetric(int blockBytes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract void
    hash_g(byte[] out, byte[] in)
     
    (package private) abstract void
    hash_h(byte[] out, byte[] in, int outOffset)
     
    (package private) abstract void
    kdf(byte[] out, byte[] in)
     
    (package private) abstract void
    prf(byte[] out, byte[] key, byte nonce)
     
    (package private) abstract void
    xofAbsorb(byte[] seed, byte x, byte y)
     
    (package private) abstract void
    xofSqueezeBlocks(byte[] out, int outOffset, int outLen)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)