#include <crypto/gf128mul.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
Go to the source code of this file.
| #define gf128mul_dat |
( |
|
q | ) |
|
Value:( \
(
i & 0x80 ?
xx(43, 80) : 0) ^ (
i & 0x40 ? xx(21, c0) : 0) ^ \
(
i & 0x20 ? xx(10,
e0) : 0) ^ (
i & 0x10 ? xx(08, 70) : 0) ^ \
(
i & 0x08 ? xx(04, 38) : 0) ^ (
i & 0x04 ? xx(02, 1
c) : 0) ^ \
(
i & 0x02 ? xx(01, 0
e) : 0) ^ (
i & 0x01 ? xx(00, 87) : 0) \
)
Definition at line 102 of file gf128mul.c.
Value:( \
(
i & 0x80 ?
xx(
e1, 00) : 0) ^ (
i & 0x40 ? xx(70, 80) : 0) ^ \
(
i & 0x20 ? xx(38, 40) : 0) ^ (
i & 0x10 ? xx(1
c, 20) : 0) ^ \
(
i & 0x08 ? xx(0
e, 10) : 0) ^ (
i & 0x04 ? xx(07, 08) : 0) ^ \
(
i & 0x02 ? xx(03, 84) : 0) ^ (
i & 0x01 ? xx(01, c2) : 0) \
)
Definition at line 109 of file gf128mul.c.
| #define xx |
( |
|
p, |
|
|
|
q |
|
) |
| 0x##p##q |
| MODULE_DESCRIPTION |
( |
"Functions for multiplying elements of GF(2^128)" |
| ) |
|