Home
last modified time | relevance | path

Searched refs:gf128 (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/opencrypto/
H A Dgfmult.h75 struct gf128 { struct
80 #define MAKE_GF128(a, b) ((struct gf128){.v = { (a), (b) } }) argument
84 static inline struct gf128
87 struct gf128 r; in gf128_read()
98 gf128_write(struct gf128 v, uint8_t *buf) in gf128_write()
108 static inline struct gf128 __pure /* XXX - __pure2 instead */
109 gf128_add(struct gf128 a, struct gf128 b) in gf128_add()
117 void gf128_genmultable(struct gf128 h, struct gf128table *t);
118 void gf128_genmultable4(struct gf128 h, struct gf128table4 *t);
119 struct gf128 gf128_mul(struct gf128 v, struct gf128table *tbl);
[all …]
H A Dgfmult.c41 static inline struct gf128
42 gf128_mulalpha(struct gf128 v) in gf128_mulalpha()
59 gf128_genmultable(struct gf128 h, struct gf128table *t) in gf128_genmultable()
61 struct gf128 tbl[16]; in gf128_genmultable()
84 gf128_genmultable4(struct gf128 h, struct gf128table4 *t) in gf128_genmultable4()
86 struct gf128 h2, h3, h4; in gf128_genmultable4()
104 static inline struct gf128
107 struct gf128 r; in readrow()
134 static struct gf128
135 gfmultword(uint64_t word, struct gf128 x, struct gf128table *tbl) in gfmultword()
[all …]
H A Dgmac.c49 struct gf128 h; in AES_GMAC_Setkey()
83 struct gf128 v; in AES_GMAC_Update()
121 struct gf128 a; in AES_GMAC_Final()
H A Dgmac.h41 struct gf128 hash;