|
cryptlib
3.4.1
|
Go to the source code of this file.
Macros | |
| #define | UNIT_BITS 8 |
| #define | GF_MODE_LB /* the representation used by GCM */ |
| #define | TABLES_4K |
| #define | GF_BYTE_LEN 16 |
| #define | GF_UNIT_LEN (GF_BYTE_LEN / (UNIT_BITS >> 3)) |
Typedefs | |
| typedef gf_t | gf_t64k_a [16][256] |
| typedef gf_t(* | gf_t64k_t )[256] |
| typedef gf_t | gf_t8k_a [32][16] |
| typedef gf_t(* | gf_t8k_t )[16] |
| typedef gf_t | gf_t4k_a [256] |
| typedef gf_t * | gf_t4k_t |
| typedef gf_t | gf_t256_a [16] |
| typedef gf_t * | gf_t256_t |
Enumerations | |
| enum | transform { REVERSE_NONE = 0, REVERSE_BITS = 1, REVERSE_BYTES = 2 } |
Functions | |
| UNIT_TYPEDEF (gf_unit_t, UNIT_BITS) | |
| BUFR_TYPEDEF (gf_t, UNIT_BITS, GF_BYTE_LEN) | |
| void | convert_representation (gf_t dest, const gf_t source, transform rev) |
| void | gf_mul (gf_t a, const gf_t b) |
| void | init_64k_table (const gf_t g, gf_t64k_t t) |
| void | gf_mul_64k (gf_t a, const gf_t64k_t t, void *r) |
| void | init_8k_table (const gf_t g, gf_t8k_t t) |
| void | gf_mul_8k (gf_t a, const gf_t8k_t t, gf_t r) |
| void | init_4k_table (const gf_t g, gf_t4k_t t) |
| void | gf_mul_4k (gf_t a, const gf_t4k_t t, gf_t r) |
| void | init_256_table (const gf_t g, gf_t256_t t) |
| void | gf_mul_256 (gf_t a, const gf_t256_t t, gf_t r) |
| #define GF_BYTE_LEN 16 |
Definition at line 155 of file gf128mul.h.
| #define GF_MODE_LB /* the representation used by GCM */ |
Definition at line 122 of file gf128mul.h.
| #define GF_UNIT_LEN (GF_BYTE_LEN / (UNIT_BITS >> 3)) |
Definition at line 156 of file gf128mul.h.
| #define TABLES_4K |
Definition at line 140 of file gf128mul.h.
| #define UNIT_BITS 8 |
Definition at line 98 of file gf128mul.h.
| typedef gf_t gf_t256_a[16] |
Definition at line 197 of file gf128mul.h.
| typedef gf_t* gf_t256_t |
Definition at line 198 of file gf128mul.h.
| typedef gf_t gf_t4k_a[256] |
Definition at line 189 of file gf128mul.h.
| typedef gf_t* gf_t4k_t |
Definition at line 190 of file gf128mul.h.
| typedef gf_t gf_t64k_a[16][256] |
Definition at line 173 of file gf128mul.h.
| typedef gf_t(* gf_t64k_t)[256] |
Definition at line 174 of file gf128mul.h.
| typedef gf_t gf_t8k_a[32][16] |
Definition at line 181 of file gf128mul.h.
| typedef gf_t(* gf_t8k_t)[16] |
Definition at line 182 of file gf128mul.h.
| enum transform |
Definition at line 165 of file gf128mul.h.
| BUFR_TYPEDEF | ( | gf_t | , |
| UNIT_BITS | , | ||
| GF_BYTE_LEN | |||
| ) |
| void gf_mul | ( | gf_t | a, |
| const gf_t | b | ||
| ) |
Definition at line 66 of file gf128mul.c.
| UNIT_TYPEDEF | ( | gf_unit_t | , |
| UNIT_BITS | |||
| ) |
1.8.2