Top Constructors Methods
org.bouncycastle.pqc.crypto.bike

pack-priv Class BIKEUtils

extends Object
Class Inheritance
Imports
org.bouncycastle.crypto.Xof, org.bouncycastle.util.Pack

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected static int
CHECK_BIT(byte[] tmp, int position)

pack-priv static void
fromBitArrayToByteArray(byte[] out, byte[] in, int inOff, int inLen)

pack-priv static void
generateRandomByteArray(byte[] res, int size, int weight, Xof digest)

pack-priv static int
getHammingWeight(byte[] bytes)

protected static void
SET_BIT(byte[] tmp, int position)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BIKEUtilsback to summary
pack-priv BIKEUtils()

Method Detail

CHECK_BITback to summary
protected static int CHECK_BIT(byte[] tmp, int position)
fromBitArrayToByteArrayback to summary
pack-priv static void fromBitArrayToByteArray(byte[] out, byte[] in, int inOff, int inLen)
generateRandomByteArrayback to summary
pack-priv static void generateRandomByteArray(byte[] res, int size, int weight, Xof digest)
getHammingWeightback to summary
pack-priv static int getHammingWeight(byte[] bytes)
SET_BITback to summary
protected static void SET_BIT(byte[] tmp, int position)