| Modifier and Type | Field and Description |
|---|---|
| private BENES | |
| private int | |
| private boolean | |
| private final int | |
| private GF | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int[] | |
| private int | |
| private int | |
| private int | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv static void | |
| pack-priv int | |
| pack-priv int | |
| private static void | |
| private static int | |
| public byte[] | |
| private int | |
| private void | |
| private short | |
| private void | |
| private int | |
| public byte[] | |
| pack-priv static short | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public void | |
| private static void | |
| private static int | |
| private int | |
| private int | |
| private void | |
| private static byte | |
| private static long | |
| private static void | |
| private static void | |
| private void | |
| private void |
| benes | back to summary |
|---|---|
| private BENES benes | |
| COND_BYTES | back to summary |
|---|---|
| private int COND_BYTES | |
| countErrorIndices | back to summary |
|---|---|
| private boolean countErrorIndices | |
| defaultKeySize | back to summary |
|---|---|
| private final int defaultKeySize | |
| gf | back to summary |
|---|---|
| private GF gf | |
| GFBITS | back to summary |
|---|---|
| private int GFBITS | |
| GFMASK | back to summary |
|---|---|
| private int GFMASK | |
| IRR_BYTES | back to summary |
|---|---|
| private int IRR_BYTES | |
| PK_NCOLS | back to summary |
|---|---|
| private int PK_NCOLS | |
| PK_NROWS | back to summary |
|---|---|
| private int PK_NROWS | |
| PK_ROW_BYTES | back to summary |
|---|---|
| private int PK_ROW_BYTES | |
| poly | back to summary |
|---|---|
| private int[] poly | |
| SYND_BYTES | back to summary |
|---|---|
| private int SYND_BYTES | |
| SYS_N | back to summary |
|---|---|
| private int SYS_N | |
| SYS_T | back to summary |
|---|---|
| private int SYS_T | |
| usePadding | back to summary |
|---|---|
| private boolean usePadding | |
| usePivots | back to summary |
|---|---|
| private boolean usePivots | |
| CMCEEngine | back to summary |
|---|---|
| public CMCEEngine(int m, int n, int t, int[] p, boolean usePivots, int defaultKeySize) | |
| bm | back to summary |
|---|---|
| private void bm(short[] out, short[] s) | |
| cbrecursion | back to summary |
|---|---|
| pack-priv static void cbrecursion(byte[] out, long pos, long step, short[] pi, int qIndex, long w, long n, int[] temp) | |
| check_c_padding | back to summary |
|---|---|
| pack-priv int check_c_padding(byte[] c) | |
| check_pk_padding | back to summary |
|---|---|
| pack-priv int check_pk_padding(byte[] pk) | |
| controlbitsfrompermutation | back to summary |
|---|---|
| private static void controlbitsfrompermutation(byte[] out, short[] pi, long w, long n) | |
| ctz | back to summary |
|---|---|
| private static int ctz(long in) | |
| decompress_private_key | back to summary |
|---|---|
| public byte[] decompress_private_key(byte[] sk) | |
| decrypt | back to summary |
|---|---|
| private int decrypt(byte[] error_vector, byte[] sk, byte[] cipher_text) | |
| encrypt | back to summary |
|---|---|
| private void encrypt(byte[] cipher_text, byte[] pk, byte[] error_vector, SecureRandom random) | |
| eval | back to summary |
|---|---|
| private short eval(short[] f, short a) | |
| generate_error_vector | back to summary |
|---|---|
| private void generate_error_vector(byte[] error_vector, SecureRandom random) | |
| generate_irr_poly | back to summary |
|---|---|
| private int generate_irr_poly(short[] field) | |
| generate_public_key_from_private_key | back to summary |
|---|---|
| public byte[] generate_public_key_from_private_key(byte[] sk) | |
| get_q_short | back to summary |
|---|---|
| pack-priv static short get_q_short(int[] temp, int q_index) | |
| getCipherTextSize | back to summary |
|---|---|
| public int getCipherTextSize() | |
| getCondBytes | back to summary |
|---|---|
| public int getCondBytes() | |
| getDefaultSessionKeySize | back to summary |
|---|---|
| public int getDefaultSessionKeySize() | |
| getIrrBytes | back to summary |
|---|---|
| public int getIrrBytes() | |
| getPrivateKeySize | back to summary |
|---|---|
| public int getPrivateKeySize() | |
| getPublicKeySize | back to summary |
|---|---|
| public int getPublicKeySize() | |
| kem_dec | back to summary |
|---|---|
| public int kem_dec(byte[] key, byte[] cipher_text, byte[] sk) | |
| kem_enc | back to summary |
|---|---|
| public int kem_enc(byte[] cipher_text, byte[] key, byte[] pk, SecureRandom random) | |
| kem_keypair | back to summary |
|---|---|
| public void kem_keypair(byte[] pk, byte[] sk, SecureRandom random) | |
| layer | back to summary |
|---|---|
| private static void layer(short[] p, byte[] out, int ptrIndex, int s, int n) | |
| min | back to summary |
|---|---|
| private static int min(short a, int b) | |
| mov_columns | back to summary |
|---|---|
| private int mov_columns(byte[][] mat, short[] pi, long[] pivots) | |
| pk_gen | back to summary |
|---|---|
| private int pk_gen(byte[] pk, byte[] sk, int[] perm, short[] pi, long[] pivots) | |
| root | back to summary |
|---|---|
| private void root(short[] out, short[] f, short[] L) | |
| same_mask32 | back to summary |
|---|---|
| private static byte same_mask32(short x, short y) | |
| same_mask64 | back to summary |
|---|---|
| private static long same_mask64(short x, short y) | |
| sort32 | back to summary |
|---|---|
| private static void sort32(int[] temp, int from, int to) | |
| sort64 | back to summary |
|---|---|
| private static void sort64(long[] temp, int from, int to) | |
| synd | back to summary |
|---|---|
| private void synd(short[] out, short[] f, short[] L, byte[] r) | |
| syndrome | back to summary |
|---|---|
| private void syndrome(byte[] cipher_text, byte[] pk, byte[] error_vector) | |