Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/ml_dsa/
H A Dml_dsa_poly.h21 memset(p->coeff, 0, sizeof(*p)); in poly_zero()
39 out->coeff[i] = reduce_once(lhs->coeff[i] + rhs->coeff[i]); in poly_add()
57 out->coeff[i] = mod_sub(lhs->coeff[i], rhs->coeff[i]); in poly_sub()
108 t1->coeff + i, t0->coeff + i); in poly_power2_round()
117 out->coeff[i] = (in->coeff[i] << ML_DSA_D_BITS); in poly_scale_power2_round()
126 out->coeff[i] = ossl_ml_dsa_key_compress_high_bits(in->coeff[i], gamma2); in poly_high_bits()
135 out->coeff[i] = ossl_ml_dsa_key_compress_low_bits(in->coeff[i], gamma2); in poly_low_bits()
145 out->coeff[i] = ossl_ml_dsa_key_compress_make_hint(ct0->coeff[i], in poly_make_hint()
156 out->coeff[i] = ossl_ml_dsa_key_compress_use_hint(h->coeff[i], in poly_use_hint()
166 uint32_t c = p->coeff[i]; in poly_max()
[all …]
H A Dml_dsa_ntt.c116 out->coeff[i] = in ossl_ml_dsa_poly_ntt_mult()
117 reduce_montgomery((uint64_t)lhs->coeff[i] * (uint64_t)rhs->coeff[i]); in ossl_ml_dsa_poly_ntt_mult()
143 uint32_t w_even = p->coeff[j]; in ossl_ml_dsa_poly_ntt()
146 * (uint64_t)p->coeff[j + offset]); in ossl_ml_dsa_poly_ntt()
148 p->coeff[j] = reduce_once(w_even + t_odd); in ossl_ml_dsa_poly_ntt()
149 p->coeff[j + offset] = mod_sub(w_even, t_odd); in ossl_ml_dsa_poly_ntt()
184 uint32_t even = p->coeff[j]; in ossl_ml_dsa_poly_ntt_inverse()
185 uint32_t odd = p->coeff[j + offset]; in ossl_ml_dsa_poly_ntt_inverse()
187 p->coeff[j] = reduce_once(odd + even); in ossl_ml_dsa_poly_ntt_inverse()
188 p->coeff[j + offset] = in ossl_ml_dsa_poly_ntt_inverse()
[all …]
H A Dml_dsa_sample.c131 if (coeff_from_three_bytes(b, &(out->coeff[j]))) { in rej_ntt_poly()
175 if (coef_from_nibble(z0, &out->coeff[j]) in rej_bounded_poly()
178 if (coef_from_nibble(z1, &out->coeff[j]) in rej_bounded_poly()
352 out_c->coeff[end] = out_c->coeff[index]; in ossl_ml_dsa_poly_sample_in_ball()
354 out_c->coeff[index] = mod_sub(1, 2 * (signs & 1)); in ossl_ml_dsa_poly_sample_in_ball()
H A Dml_dsa_encoders.c54 const uint32_t *in = p->coeff, *end = in + ML_DSA_NUM_POLY_COEFFICIENTS; in poly_encode_4_bits()
91 const uint32_t *in = p->coeff, *end = in + ML_DSA_NUM_POLY_COEFFICIENTS; in poly_encode_6_bits()
131 const uint32_t *in = p->coeff, *end = in + ML_DSA_NUM_POLY_COEFFICIENTS; in poly_encode_10_bits()
164 uint32_t *out = p->coeff, *end = out + ML_DSA_NUM_POLY_COEFFICIENTS; in poly_decode_10_bits()
226 uint32_t v, *out = p->coeff; in poly_decode_signed_4()
324 uint32_t u = 0, v = 0, *out = p->coeff; in poly_decode_signed_2()
424 uint32_t *out = p->coeff; in poly_decode_signed_two_to_power_12()
509 uint32_t *out = p->coeff; in poly_decode_signed_two_to_power_19()
589 uint32_t *out = p->coeff; in poly_decode_signed_two_to_power_17()
843 if (p->coeff[j] != 0) in hint_bits_encode()
[all …]
H A Dml_dsa_vector.h235 count += v->poly[i].coeff[j]; in vector_count_ones()
/openssl/crypto/rsa/
H A Drsa_lib.c818 BIGNUM *coeff = sk_BIGNUM_pop(coeffs); in DEFINE_STACK_OF() local
821 if (!ossl_assert(prime != NULL && exp != NULL && coeff != NULL)) in DEFINE_STACK_OF()
830 pinfo->t = coeff; in DEFINE_STACK_OF()
/openssl/doc/man3/
H A DASN1_generate_nconf.pod204 (note: the field names such as 'coeff' are ignored and are present just
231 coeff=INTEGER:0x30B9E4F2AFA5AC679F920FC83F1F2DF1BAF1779CF989447FABC2F5\

Completed in 722 milliseconds