Searched refs:be128 (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/include/crypto/ |
D | gf128mul.h | 163 void gf128mul_lle(be128 *a, const be128 *b); 165 void gf128mul_bbe(be128 *a, const be128 *b); 182 static inline void gf128mul_x_lle(be128 *r, const be128 *x) in gf128mul_x_lle() 195 static inline void gf128mul_x_bbe(be128 *r, const be128 *x) in gf128mul_x_bbe() 223 be128 t[256]; 226 struct gf128mul_4k *gf128mul_init_4k_lle(const be128 *g); 227 struct gf128mul_4k *gf128mul_init_4k_bbe(const be128 *g); 228 void gf128mul_4k_lle(be128 *a, const struct gf128mul_4k *t); 229 void gf128mul_4k_bbe(be128 *a, const struct gf128mul_4k *t); 248 struct gf128mul_64k *gf128mul_init_64k_bbe(const be128 *g); [all …]
|
D | b128ops.h | 58 } be128; typedef 70 static inline void be128_xor(be128 *r, const be128 *p, const be128 *q) in be128_xor()
|
/linux-4.19.296/crypto/ |
D | gf128mul.c | 139 static void gf128mul_x8_lle(be128 *x) in gf128mul_x8_lle() 149 static void gf128mul_x8_bbe(be128 *x) in gf128mul_x8_bbe() 170 void gf128mul_lle(be128 *r, const be128 *b) in gf128mul_lle() 172 be128 p[8]; in gf128mul_lle() 208 void gf128mul_bbe(be128 *r, const be128 *b) in gf128mul_bbe() 210 be128 p[8]; in gf128mul_bbe() 260 struct gf128mul_64k *gf128mul_init_64k_bbe(const be128 *g) in gf128mul_init_64k_bbe() 312 void gf128mul_64k_bbe(be128 *a, const struct gf128mul_64k *t) in gf128mul_64k_bbe() 315 be128 r[1]; in gf128mul_64k_bbe() 341 struct gf128mul_4k *gf128mul_init_4k_lle(const be128 *g) in gf128mul_init_4k_lle() [all …]
|
D | lrw.c | 55 be128 mulinc[128]; 59 be128 buf[LRW_BUFFER_SIZE / sizeof(be128)]; 61 be128 t; 63 be128 *ext; 93 be128 tmp = { 0 }; in setkey() 109 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in setkey() 123 static inline void inc(be128 *iv) in inc() 132 static inline int get_index128(be128 *block) in get_index128() 157 be128 *buf = rctx->ext ?: rctx->buf; in post_crypt() 170 be128 *wdst; in post_crypt() [all …]
|
D | ghash-generic.c | 37 be128 k; in ghash_setkey() 76 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 81 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 105 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_flush()
|
D | gcm.c | 103 be128 hash; in crypto_gcm_setkey() 146 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); in crypto_gcm_setkey()
|