Home
last modified time | relevance | path

Searched refs:u128 (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/include/crypto/
Db128ops.h54 } u128; typedef
64 static inline void u128_xor(u128 *r, const u128 *p, const u128 *q) in u128_xor()
72 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in be128_xor()
77 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in le128_xor()
/Linux-v4.19/arch/x86/crypto/
Dglue_helper.c92 const u128 *src = (u128 *)walk.src.virt.addr; in glue_cbc_encrypt_req_128bit()
93 u128 *dst = (u128 *)walk.dst.virt.addr; in glue_cbc_encrypt_req_128bit()
94 u128 *iv = (u128 *)walk.iv; in glue_cbc_encrypt_req_128bit()
105 *(u128 *)walk.iv = *iv; in glue_cbc_encrypt_req_128bit()
125 const u128 *src = walk.src.virt.addr; in glue_cbc_decrypt_req_128bit()
126 u128 *dst = walk.dst.virt.addr; in glue_cbc_decrypt_req_128bit()
129 u128 last_iv; in glue_cbc_decrypt_req_128bit()
162 u128_xor(dst, dst, (u128 *)walk.iv); in glue_cbc_decrypt_req_128bit()
163 *(u128 *)walk.iv = last_iv; in glue_cbc_decrypt_req_128bit()
185 const u128 *src = walk.src.virt.addr; in glue_ctr_req_128bit()
[all …]
Dserpent_sse2_glue.c49 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway()
51 u128 ivs[SERPENT_PARALLEL_BLOCKS - 1]; in serpent_decrypt_cbc_xway()
63 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr()
71 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr()
74 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway()
Dtwofish_glue_3way.c55 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way()
57 u128 ivs[2]; in twofish_dec_blk_cbc_3way()
69 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr()
80 u128_xor(dst, dst, (u128 *)&ctrblk); in twofish_enc_blk_ctr()
84 void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src, in twofish_enc_blk_ctr_3way()
Dserpent_avx_glue.c62 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr()
70 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr()
74 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc()
81 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
Dcast6_avx_glue.c59 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
65 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
71 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
79 u128_xor(dst, src, (u128 *)&ctrblk); in cast6_crypt_ctr()
Dserpent_avx2_glue.c31 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src);
33 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src,
Dtwofish_avx_glue.c67 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc()
73 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
Dcamellia_aesni_avx_glue.c50 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc()
57 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
Dcamellia_glue.c1285 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way()
1287 u128 iv = *src; in camellia_decrypt_cbc_2way()
1295 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr()
1309 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr_2way()
Dghash-clmulni-intel_glue.c28 void clmul_ghash_mul(char *dst, const u128 *shash);
31 const u128 *shash);
38 u128 shash;
Daesni-intel_glue.c605 static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc()
610 static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec()
615 static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc8()
620 static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec8()
/Linux-v4.19/arch/x86/include/asm/crypto/
Dcamellia.h87 extern void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src);
88 extern void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src,
90 extern void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src,
93 extern void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv);
94 extern void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
Dtwofish.h22 extern void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src);
23 extern void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src,
25 extern void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src,
Dglue_helper.h15 typedef void (*common_glue_cbc_func_t)(void *ctx, u128 *dst, const u128 *src);
16 typedef void (*common_glue_ctr_func_t)(void *ctx, u128 *dst, const u128 *src,
18 typedef void (*common_glue_xts_func_t)(void *ctx, u128 *dst, const u128 *src,
119 extern void glue_xts_crypt_128bit_one(void *ctx, u128 *dst, const u128 *src,
Dserpent-avx.h33 extern void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src,
36 extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv);
37 extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
/Linux-v4.19/drivers/crypto/vmx/
Dghash.c36 void gcm_init_p8(u128 htable[16], const u64 Xi[2]);
37 void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]);
38 void gcm_ghash_p8(u64 Xi[2], const u128 htable[16],
42 u128 htable[16];
/Linux-v4.19/net/bluetooth/
Dsmp.c440 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1()
457 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
/Linux-v4.19/arch/arm64/boot/dts/xilinx/
Dzynqmp-zcu106-revA.dts417 temp@4c {/* lm96163 - u128 */
/Linux-v4.19/arch/arm64/crypto/
Dghash-ce-glue.c356 u128 lengths; in gcm_final()
/Linux-v4.19/crypto/
Dgcm.c250 u128 lengths; in gcm_hash_len()