| Modifier and Type | Field and Description |
|---|---|
| private final BIKERing | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | BFIter(byte[] s, byte[] e, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol, byte[] black, byte[] gray, byte[] ctrs)
|
| private void | BFIter2(byte[] s, byte[] e, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol, byte[] ctrs)
|
| private void | BFMaskedIter(byte[] s, byte[] e, byte[] mask, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol)
|
| private byte[] | |
| private byte[] | |
| private void | |
| private int | |
| private void | |
| public void | decaps(byte[]
session key k, byte[] private key h0, byte[] private key h1, byte[] private key sigma, byte[] ciphertext c0, byte[] ciphertext c1)KEM Decapsulation - Input: (h0, h1, sigma), (c0, c1) - Output: k |
| public void | encaps(byte[]
ciphertext c0, byte[] ciphertext c1, byte[] session key k, byte[] public key h, SecureRandom Secure Random random)KEM Encapsulation - Input: h - Output: (c0,c1,k) |
| private byte[] | |
| private void | |
| private void | |
| public void | genKeyPair(byte[]
h0 h0, byte[] h1 h1, byte[] sigma sigma, byte[] h h, SecureRandom Secure Random random)Generate key pairs - Secret key : (h0, h1, sigma) - Public key: h |
| private int[] | |
| public int | |
| private void | |
| private void | |
| private int | |
| private static int | |
| private void |
| bikeRing | back to summary |
|---|---|
| private final BIKERing bikeRing | |
| hw | back to summary |
|---|---|
| private int hw | |
| L_BYTE | back to summary |
|---|---|
| private int L_BYTE | |
| nbIter | back to summary |
|---|---|
| private int nbIter | |
| r | back to summary |
|---|---|
| private int r | |
| R2_BYTE | back to summary |
|---|---|
| private int R2_BYTE | |
| R_BYTE | back to summary |
|---|---|
| private int R_BYTE | |
| t | back to summary |
|---|---|
| private int t | |
| tau | back to summary |
|---|---|
| private int tau | |
| w | back to summary |
|---|---|
| private int w | |
| BIKEEngine | back to summary |
|---|---|
| public BIKEEngine(int r, int w, int t, int l, int nbIter, int tau) | |
| BFIter | back to summary |
|---|---|
| private void BFIter(byte[] s, byte[] e, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol, byte[] black, byte[] gray, byte[] ctrs) | |
| BFIter2 | back to summary |
|---|---|
| private void BFIter2(byte[] s, byte[] e, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol, byte[] ctrs) | |
| BFMaskedIter | back to summary |
|---|---|
| private void BFMaskedIter(byte[] s, byte[] e, byte[] mask, int T, int[] h0Compact, int[] h1Compact, int[] h0CompactCol, int[] h1CompactCol) | |
| BGFDecoder | back to summary |
|---|---|
| private byte[] BGFDecoder(byte[] s, int[] h0Compact, int[] h1Compact) | |
| computeSyndrome | back to summary |
|---|---|
| private byte[] computeSyndrome(byte[] c0, byte[] h0) | |
| convertToCompact | back to summary |
|---|---|
| private void convertToCompact(int[] compactVersion, byte[] h) | |
| ctr | back to summary |
|---|---|
| private int ctr(int[] hCompactCol, byte[] s, int j) | |
| ctrAll | back to summary |
|---|---|
| private void ctrAll(int[] hCompactCol, byte[] s, byte[] ctrs) | |
| decaps | back to summary |
|---|---|
| public void decaps(byte[] k, byte[] h0, byte[] h1, byte[] sigma, byte[] c0, byte[] c1) KEM Decapsulation - Input: (h0, h1, sigma), (c0, c1) - Output: k
| |
| encaps | back to summary |
|---|---|
| public void encaps(byte[] c0, byte[] c1, byte[] k, byte[] h, SecureRandom random) KEM Encapsulation - Input: h - Output: (c0,c1,k)
| |
| functionH | back to summary |
|---|---|
| private byte[] functionH(byte[] seed) | |
| functionK | back to summary |
|---|---|
| private void functionK(byte[] m, byte[] c0, byte[] c1, byte[] result) | |
| functionL | back to summary |
|---|---|
| private void functionL(byte[] e0, byte[] e1, byte[] result) | |
| genKeyPair | back to summary |
|---|---|
| public void genKeyPair(byte[] h0, byte[] h1, byte[] sigma, byte[] h, SecureRandom random) Generate key pairs - Secret key : (h0, h1, sigma) - Public key: h
| |
| getColumnFromCompactVersion | back to summary |
|---|---|
| private int[] getColumnFromCompactVersion(int[] hCompact) | |
| getSessionKeySize | back to summary |
|---|---|
| public int getSessionKeySize() | |
| recomputeSyndrome | back to summary |
|---|---|
| private void recomputeSyndrome(byte[] syndrome, int index, int[] h0Compact, int[] h1Compact, boolean isOne) | |
| splitEBytes | back to summary |
|---|---|
| private void splitEBytes(byte[] e, byte[] e0, byte[] e1) | |
| threshold | back to summary |
|---|---|
| private int threshold(int hammingWeight, int r) | |
| thresholdFromParameters | back to summary |
|---|---|
| private static int thresholdFromParameters(int hammingWeight, double dm, double da, int min) | |
| updateNewErrorIndex | back to summary |
|---|---|
| private void updateNewErrorIndex(byte[] e, int index, boolean isOne) | |