Top Constructors Methods
org.bouncycastle.pqc.crypto.crystals.kyber

pack-priv final Class CBD

extends Object
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv
CBD()

Method Summary

Modifier and TypeMethod and Description
private static long
convertByteTo24BitUnsignedInt(byte[] x, int offset)

Converts an Array of Bytes to a 24-bit Unsigned Integer Returns a 24-bit unsigned integer as a long from byte x

private static long
convertByteTo32BitUnsignedInt(byte[] x, int offset)

Converts an Array of Bytes to a 32-bit Unsigned Integer Returns a 32-bit unsigned integer as a long

public static void
kyberCBD(Poly r, byte[] bytes, int eta)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CBDback to summary
pack-priv CBD()

Method Detail

convertByteTo24BitUnsignedIntback to summary
private static long convertByteTo24BitUnsignedInt(byte[] x, int offset)

Converts an Array of Bytes to a 24-bit Unsigned Integer Returns a 24-bit unsigned integer as a long from byte x

convertByteTo32BitUnsignedIntback to summary
private static long convertByteTo32BitUnsignedInt(byte[] x, int offset)

Converts an Array of Bytes to a 32-bit Unsigned Integer Returns a 32-bit unsigned integer as a long

kyberCBDback to summary
public static void kyberCBD(Poly r, byte[] bytes, int eta)