|
cryptlib
3.4.1
|
Go to the source code of this file.
Macros | |
| #define | gf_m(n, x) gf_mulx ## n ## x |
| #define | gf_mulx1(x) gf_m(1,x) |
| #define | gf_mulx4(x) gf_m(4,x) |
| #define | gf_mulx8(x) gf_m(8,x) |
| #define | MASK(x) ((x) * (UNIT_CAST(-1,UNIT_BITS) / 0xff)) |
| #define | DATA_256(q) |
| #define | f1_bl(n, r, x) r[n] = (x[n] << 1) | (n < 15 ? x[n+1] >> 7 : 0) |
| #define | f4_bl(n, r, x) r[n] = (x[n] << 4) | (n < 15 ? x[n+1] >> 4 : 0) |
| #define | f1_bb(n, r, x) r[n] = (x[n] >> 1) | (n < 15 ? x[n+1] << 7 : 0) |
| #define | f4_bb(n, r, x) r[n] = (x[n] >> 4) | (n < 15 ? x[n+1] << 4 : 0) |
| #define | f1_ll(n, r, x) r[n] = (x[n] << 1) | (n ? x[n-1] >> 7 : 0) |
| #define | f4_ll(n, r, x) r[n] = (x[n] << 4) | (n ? x[n-1] >> 4 : 0) |
| #define | f1_lb(n, r, x) r[n] = (x[n] >> 1) | (n ? x[n-1] << 7 : 0) |
| #define | f4_lb(n, r, x) r[n] = (x[n] >> 4) | (n ? x[n-1] << 4 : 0) |
Functions | |
| gf_decl void | gf_mulx1_bl (gf_t r, const gf_t x) |
| gf_decl void | gf_mulx4_bl (gf_t x) |
| gf_decl void | gf_mulx8_bl (gf_t x) |
| gf_decl void | gf_mulx1_bb (gf_t r, const gf_t x) |
| gf_decl void | gf_mulx4_bb (gf_t x) |
| gf_decl void | gf_mulx8_bb (gf_t x) |
| gf_decl void | gf_mulx1_ll (gf_t r, const gf_t x) |
| gf_decl void | gf_mulx4_ll (gf_t x) |
| gf_decl void | gf_mulx8_ll (gf_t x) |
| gf_decl void | gf_mulx1_lb (gf_t r, const gf_t x) |
| gf_decl void | gf_mulx4_lb (gf_t x) |
| gf_decl void | gf_mulx8_lb (gf_t x) |
Variables | |
| const uint_16t | gf_tab [256] = DATA_256(gf_uint16_xor) |
| #define DATA_256 | ( | q | ) |
Definition at line 58 of file gf_mul_lo.h.
Definition at line 391 of file gf_mul_lo.h.
Definition at line 213 of file gf_mul_lo.h.
Definition at line 747 of file gf_mul_lo.h.
Definition at line 569 of file gf_mul_lo.h.
Definition at line 392 of file gf_mul_lo.h.
Definition at line 214 of file gf_mul_lo.h.
Definition at line 748 of file gf_mul_lo.h.
Definition at line 570 of file gf_mul_lo.h.
Definition at line 51 of file gf_mul_lo.h.
| #define gf_mulx1 | ( | x | ) | gf_m(1,x) |
Definition at line 52 of file gf_mul_lo.h.
| #define gf_mulx4 | ( | x | ) | gf_m(4,x) |
Definition at line 53 of file gf_mul_lo.h.
| #define gf_mulx8 | ( | x | ) | gf_m(8,x) |
Definition at line 54 of file gf_mul_lo.h.
Definition at line 56 of file gf_mul_lo.h.
| gf_decl void gf_mulx1_bb | ( | gf_t | r, |
| const gf_t | x | ||
| ) |
Definition at line 394 of file gf_mul_lo.h.
| gf_decl void gf_mulx1_bl | ( | gf_t | r, |
| const gf_t | x | ||
| ) |
Definition at line 216 of file gf_mul_lo.h.
| gf_decl void gf_mulx1_lb | ( | gf_t | r, |
| const gf_t | x | ||
| ) |
Definition at line 750 of file gf_mul_lo.h.
| gf_decl void gf_mulx1_ll | ( | gf_t | r, |
| const gf_t | x | ||
| ) |
Definition at line 572 of file gf_mul_lo.h.
| gf_decl void gf_mulx4_bb | ( | gf_t | x | ) |
Definition at line 401 of file gf_mul_lo.h.
| gf_decl void gf_mulx4_bl | ( | gf_t | x | ) |
Definition at line 223 of file gf_mul_lo.h.
| gf_decl void gf_mulx4_lb | ( | gf_t | x | ) |
Definition at line 757 of file gf_mul_lo.h.
| gf_decl void gf_mulx4_ll | ( | gf_t | x | ) |
Definition at line 579 of file gf_mul_lo.h.
| gf_decl void gf_mulx8_bb | ( | gf_t | x | ) |
Definition at line 409 of file gf_mul_lo.h.
| gf_decl void gf_mulx8_bl | ( | gf_t | x | ) |
Definition at line 231 of file gf_mul_lo.h.
| gf_decl void gf_mulx8_lb | ( | gf_t | x | ) |
Definition at line 765 of file gf_mul_lo.h.
| gf_decl void gf_mulx8_ll | ( | gf_t | x | ) |
Definition at line 587 of file gf_mul_lo.h.
Definition at line 151 of file gf_mul_lo.h.
1.8.2