Home
last modified time | relevance | path

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

12

/linux/lib/crypto/
H A Dcurve25519-hacl64.c51 static __always_inline void fproduct_copy_from_wide_(u64 *output, u128 *input) in fproduct_copy_from_wide_()
54 u128 xi = input[0]; in fproduct_copy_from_wide_()
58 u128 xi = input[1]; in fproduct_copy_from_wide_()
62 u128 xi = input[2]; in fproduct_copy_from_wide_()
66 u128 xi = input[3]; in fproduct_copy_from_wide_()
70 u128 xi = input[4]; in fproduct_copy_from_wide_()
76 fproduct_sum_scalar_multiplication_(u128 *output, u64 *input, u64 s) in fproduct_sum_scalar_multiplication_()
78 output[0] += (u128)input[0] * s; in fproduct_sum_scalar_multiplication_()
79 output[1] += (u128)input[1] * s; in fproduct_sum_scalar_multiplication_()
80 output[2] += (u128)input[2] * s; in fproduct_sum_scalar_multiplication_()
[all …]
H A Dpoly1305-donna64.c43 u128 d0, d1, d2, d; in poly1305_core_blocks()
73 d0 = (u128)h0 * r0; in poly1305_core_blocks()
74 d = (u128)h1 * s2; in poly1305_core_blocks()
76 d = (u128)h2 * s1; in poly1305_core_blocks()
78 d1 = (u128)h0 * r1; in poly1305_core_blocks()
79 d = (u128)h1 * r0; in poly1305_core_blocks()
81 d = (u128)h2 * s2; in poly1305_core_blocks()
83 d2 = (u128)h0 * r2; in poly1305_core_blocks()
84 d = (u128)h1 * r1; in poly1305_core_blocks()
86 d = (u128)h in poly1305_core_blocks()
[all...]
/linux/arch/x86/include/asm/
H A Dcmpxchg_64.h30 u128 full;
50 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
56 static __always_inline u128 arch_cmpxchg128_local(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128_local()
81 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128()
87 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local()
/linux/arch/arm64/include/asm/
H A Datomic_ll_sc.h297 u128 full;
304 static __always_inline u128 \
305 __ll_sc__cmpxchg128##name(volatile u128 *ptr, u128 old, u128 new) \
321 : [v] "+Q" (*(u128 *)ptr), \
H A Datomic_lse.h285 static __always_inline u128 \
286 __lse__cmpxchg128##name(volatile u128 *ptr, u128 old, u128 new) \
299 [v] "+Q" (*(u128 *)ptr) \
H A Dcmpxchg.h135 static inline u128 __cmpxchg128##name(volatile u128 *ptr, \
136 u128 old, u128 new) \
H A Dpercpu.h466 static inline u128
467 __percpu_cmpxchg_128(void __percpu *pcp, u128 old, u128 new)
/linux/arch/s390/crypto/
H A Dhmac_s390.c49 #define MAX_IMBL_SIZE sizeof(u128)
93 *(u128 *)imbl = (((u128)buflen_hi << 64) + buflen_lo) << 3; in kmac_sha2_set_imbl()
111 u128 mbl; in hash_data()
H A Dphmac_s390.c112 #define MAX_IMBL_SIZE sizeof(u128)
215 u128 mbl; in hash_key()
406 *(u128 *)imbl = (((u128)buflen_hi << 64) + buflen_lo) << 3; in kmac_sha2_set_imbl()
/linux/rust/zerocopy/src/
H A Dbyteorder.rs748 [u32, u64, u128, usize],
749 [u32, u64, u128, usize],
765 [u64, u128],
766 [u64, u128],
782 [u128],
783 [u128],
791 u128,
794 u128::from_be_bytes,
795 u128::to_be_bytes,
796 u128
[all...]
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dtracepoints.rst194 kworker/u128:3-9093 [046] ..... 24625.365771: mlx5_sf_hwc_free: (0000:06:00.0) hw_id=0x8000
215 …kworker/u128:3-9093 [046] ..... 24625.365525: mlx5_sf_vhca_event: (0000:06:00.0) hw_id=0x8000 s…
222 …kworker/u128:3-9093 [000] ..... 24616.524495: mlx5_sf_dev_add: (0000:06:00.0) sfdev=00000000fc5…
229 …kworker/u128:3-9093 [044] ..... 24624.400749: mlx5_sf_dev_del: (0000:06:00.0) sfdev=00000000fc5…
/linux/rust/zerocopy-derive/derive/
H A Dfrom_bytes.rs20 // Discriminants can be anywhere in the range [i128::MIN, u128::MAX] because in find_zero_variant()
23 // avoid u128 -> i128 conversions and bounds checking by making the "next in find_zero_variant()
50 match int.base10_parse::<u128>().ok() { in find_zero_variant()
63 match int.base10_parse::<u128>().ok() { in find_zero_variant()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs.c89 value = data->u128.value; in vcap_debugfs_show_rule_keyfield()
90 mask = data->u128.mask; in vcap_debugfs_show_rule_keyfield()
94 vcap_netbytes_copy(nvalue, data->u128.value, in vcap_debugfs_show_rule_keyfield()
96 vcap_netbytes_copy(nmask, data->u128.mask, in vcap_debugfs_show_rule_keyfield()
H A Dvcap_api_client.h73 struct vcap_u128_key u128; member
131 struct vcap_u128_action u128; member
H A Dvcap_api.c489 value = kf->data.u128.value; in vcap_encode_keyfield()
490 mask = kf->data.u128.mask; in vcap_encode_keyfield()
580 vcap_copy_to_w32be(ddata->u128.value, sdata->u128.value, size); in vcap_copy_from_client_keyfield()
581 vcap_copy_to_w32be(ddata->u128.mask, sdata->u128.mask, size); in vcap_copy_from_client_keyfield()
630 vcap_copy_to_w32be(ddata->u128.value, sdata->u128.value, size); in vcap_copy_from_client_actionfield()
774 value = af->data.u128.value; in vcap_encode_actionfield()
1145 vcap_copy_from_w32be(field->data.u128.value, value, in vcap_copy_to_client_actionfield()
1185 vcap_copy_limited_actionfield(field->data.u128.value, in vcap_copy_to_client_actionfield()
1258 vcap_copy_from_w32be(field->data.u128.value, value, in vcap_copy_to_client_keyfield()
1260 vcap_copy_from_w32be(field->data.u128.mask, mask, in vcap_copy_to_client_keyfield()
[all …]
/linux/rust/kernel/
H A Dnum.rs80 u128: Unsigned,
175 ($v:expr => u128) => { $crate::cv!(@cast $v => u128) };
H A Dfmt.rs205 u128,
/linux/rust/quote/
H A Dident_fragment.rs90 ident_fragment_display!(u8, u16, u32, u64, u128, usize);
H A Dto_tokens.rs186 impl ToTokens for u128 { implementation
/linux/tools/include/linux/
H A Dbits.h58 #define GENMASK_U128(h, l) GENMASK_TYPE(u128, h, l)
/linux/include/linux/
H A Dbits.h58 #define GENMASK_U128(h, l) GENMASK_TYPE(u128, h, l)
H A Dtypes.h14 typedef __u128 u128; typedef
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h335 u128 full;
360 ((u128)t4 << 64) | t3; \
/linux/rust/zerocopy/src/util/
H A Dmacro_util.rs284 type Tag = u128;
486 if name.len() <= size_of::<u128>() { in hash_name()
498 // An implementation of FxHasher, although returning a u128. Probably in hash_name()
501 let mut hash = 0u128; in hash_name()
506 const K: u128 = 0x517cc1b727220a95517cc1b727220a95; in hash_name()
507 hash = (hash.rotate_left(5) ^ (name[i] as u128)).wrapping_mul(K); in hash_name()
/linux/arch/s390/include/asm/
H A Dcpu_mf.h145 u128 val;

12