Lines Matching refs:gf

37 } ALIGNED gf_s, gf[1];  typedef
44 static INLINE_UNUSED void gf_copy(gf out, const gf a) in gf_copy()
49 static INLINE_UNUSED void gf_add_RAW(gf out, const gf a, const gf b);
50 static INLINE_UNUSED void gf_sub_RAW(gf out, const gf a, const gf b);
51 static INLINE_UNUSED void gf_bias(gf inout, int amount);
52 static INLINE_UNUSED void gf_weak_reduce(gf inout);
54 void gf_strong_reduce(gf inout);
55 void gf_add(gf out, const gf a, const gf b);
56 void gf_sub(gf out, const gf a, const gf b);
57 void ossl_gf_mul(gf_s * RESTRICT out, const gf a, const gf b);
58 void ossl_gf_mulw_unsigned(gf_s * RESTRICT out, const gf a, uint32_t b);
59 void ossl_gf_sqr(gf_s * RESTRICT out, const gf a);
60 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);
65 void gf_serialize(uint8_t serial[SER_BYTES], const gf x, int with_highbit);
66 mask_t gf_deserialize(gf x, const uint8_t serial[SER_BYTES], int with_hibit,
79 static const gf ZERO = {{{0}}}, ONE = {{{1}}};
82 static ossl_inline void gf_sqrn(gf_s * RESTRICT y, const gf x, int n) in gf_sqrn()
84 gf tmp; in gf_sqrn()
104 static ossl_inline void gf_sub_nr(gf c, const gf a, const gf b) in gf_sub_nr()
113 static ossl_inline void gf_subx_nr(gf c, const gf a, const gf b, int amt) in gf_subx_nr()
122 static ossl_inline void gf_mulw(gf c, const gf a, int32_t w) in gf_mulw()
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()
152 gf y; 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()