| /Linux-v5.4/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-v5.4/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 | 49 be128 mulinc[128]; 53 be128 t; 75 be128 tmp = { 0 }; in setkey() 91 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in setkey() 148 be128 t = rctx->t; in xor_tweak() 172 be128 *wsrc; in xor_tweak() 173 be128 *wdst; in xor_tweak() 387 (__alignof__(be128) - 1); in create()
|
| D | ghash-generic.c | 59 be128 k; in ghash_setkey() 98 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 103 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 127 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_flush()
|
| D | gcm.c | 100 be128 hash; in crypto_gcm_setkey() 143 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); in crypto_gcm_setkey() 234 be128 lengths; in gcm_hash_len()
|
| /Linux-v5.4/drivers/crypto/vmx/ |
| D | ghash.c | 36 be128 key; 89 gf128mul_lle((be128 *)dctx->shash, &ctx->key); in __ghash_block() 109 gf128mul_lle((be128 *)dctx->shash, &ctx->key); in __ghash_blocks()
|
| /Linux-v5.4/arch/x86/include/asm/crypto/ |
| D | glue_helper.h | 77 static inline void le128_to_be128(be128 *dst, const le128 *src) in le128_to_be128() 83 static inline void be128_to_le128(le128 *dst, const be128 *src) in be128_to_le128()
|
| /Linux-v5.4/arch/x86/crypto/ |
| D | glue_helper.c | 180 be128_to_le128(&ctrblk, (be128 *)walk.iv); in glue_ctr_req_128bit() 201 le128_to_be128((be128 *)walk.iv, &ctrblk); in glue_ctr_req_128bit() 211 be128_to_le128(&ctrblk, (be128 *)walk.iv); in glue_ctr_req_128bit() 216 le128_to_be128((be128 *)walk.iv, &ctrblk); in glue_ctr_req_128bit()
|
| D | serpent_sse2_glue.c | 50 be128 ctrblk; in serpent_crypt_ctr() 62 be128 ctrblks[SERPENT_PARALLEL_BLOCKS]; in serpent_crypt_ctr_xway()
|
| D | twofish_glue_3way.c | 56 be128 ctrblk; in twofish_enc_blk_ctr() 72 be128 ctrblks[3]; in twofish_enc_blk_ctr_3way()
|
| D | ghash-clmulni-intel_glue.c | 57 be128 *x = (be128 *)key; in ghash_setkey()
|
| D | cast6_avx_glue.c | 58 be128 ctrblk; in cast6_crypt_ctr()
|
| D | serpent_avx_glue.c | 49 be128 ctrblk; in __serpent_crypt_ctr()
|
| D | camellia_glue.c | 1282 be128 ctrblk; in camellia_crypt_ctr() 1296 be128 ctrblks[2]; in camellia_crypt_ctr_2way()
|
| /Linux-v5.4/arch/arm/crypto/ |
| D | ghash-ce-glue.c | 35 be128 k; 76 be128 dst = { cpu_to_be64(dg[1]), cpu_to_be64(dg[0]) }; in ghash_do_update() 149 static void ghash_reflect(u64 h[], const be128 *k) in ghash_reflect() 164 be128 h; in ghash_setkey()
|
| /Linux-v5.4/arch/arm64/crypto/ |
| D | ghash-ce-glue.c | 39 be128 k; 93 be128 dst = { cpu_to_be64(dg[1]), cpu_to_be64(dg[0]) }; in ghash_do_update() 214 static void ghash_reflect(u64 h[], const be128 *k) in ghash_reflect() 228 be128 h; in __ghash_setkey() 318 return __ghash_setkey(&ctx->ghash_key, key, sizeof(be128)); in gcm_setkey()
|
| D | aes-glue.c | 803 static void cmac_gf128_mul_by_x(be128 *y, const be128 *x) in cmac_gf128_mul_by_x() 816 be128 *consts = (be128 *)ctx->consts; in cmac_setkey()
|