Home
last modified time | relevance | path

Searched refs:mask_t (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/curve448/
H A Dword.h29 typedef uint64_t word_t, mask_t; typedef
35 typedef uint32_t word_t, mask_t; typedef
66 static ossl_inline c448_bool_t mask_to_bool(mask_t m) in mask_to_bool()
71 static ossl_inline mask_t bool_to_mask(c448_bool_t m) in bool_to_mask()
74 mask_t ret = 0; in bool_to_mask()
76 unsigned int limit = sizeof(c448_bool_t) / sizeof(mask_t); in bool_to_mask()
H A Dfield.h60 mask_t gf_isr(gf a, const gf x); /** a^2 x = 1, QNR, or 0 if x=0. Return true if successful */
61 mask_t gf_eq(const gf x, const gf y);
62 mask_t gf_lobit(const gf x);
63 mask_t gf_hibit(const gf x);
66 mask_t gf_deserialize(gf x, const uint8_t serial[SER_BYTES], int with_hibit,
133 static ossl_inline void gf_cond_sel(gf x, const gf y, const gf z, mask_t is_z) in gf_cond_sel()
150 static ossl_inline void gf_cond_neg(gf x, mask_t neg) in gf_cond_neg()
159 static ossl_inline void gf_cond_swap(gf x, gf_s * RESTRICT y, mask_t swap) in gf_cond_swap()
H A Df_generic.c46 mask_t gf_hibit(const gf x) in gf_hibit()
56 mask_t gf_lobit(const gf x) in gf_lobit()
66 mask_t gf_deserialize(gf x, const uint8_t serial[SER_BYTES], int with_hibit, in gf_deserialize()
74 mask_t succ; in gf_deserialize()
95 succ = with_hibit ? 0 - (mask_t) 1 : ~gf_hibit(x); in gf_deserialize()
157 mask_t gf_eq(const gf a, const gf b) in gf_eq()
160 mask_t ret = 0; in gf_eq()
172 mask_t gf_isr(gf a, const gf x) in gf_isr()
H A Dcurve448.c44 mask_t ret; in gf_invert()
91 static ossl_inline void cond_neg_niels(niels_t n, mask_t neg) in cond_neg_niels()
191 mask_t succ; in ossl_curve448_point_eq()
205 mask_t out; in ossl_curve448_point_valid()
249 mask_t invert; in ossl_curve448_precomputed_scalarmul()
332 mask_t low; in ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio()
333 mask_t succ; in ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio()
392 mask_t swap = 0; in ossl_x448_int()
393 mask_t nz; in ossl_x448_int()
403 mask_t k_t; in ossl_x448_int()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.h330 typedef unsigned long mask_t; typedef
332 static const unsigned int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT;
333 static const mask_t ONE = 1;
335 return __kmp_affin_mask_size / sizeof(mask_t); in get_num_mask_types()
339 mask_t *mask;
340 Mask() { mask = (mask_t *)__kmp_allocate(__kmp_affin_mask_size); } in Mask()
357 mask[i] = (mask_t)0; in zero()
362 if (mask[i] != (mask_t)0) in empty()
555 typedef ULONG_PTR mask_t; typedef
556 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT;
[all …]