| /src/crypto/external/apache2/openssl/dist/crypto/ml_dsa/ |
| ml_dsa_key_compress.c | 55 * r == r1 * (2 * gamma2) + r0 mod q 59 * @param gamma2 Depending on the algorithm gamma2 is either (q-1)/32 or (q-1)/88 62 uint32_t ossl_ml_dsa_key_compress_high_bits(uint32_t r, uint32_t gamma2) 66 if (gamma2 == ML_DSA_GAMMA2_Q_MINUS1_DIV32) { 78 * @brief Decomposes r into (r1, r0) such that r == r1 * (2*gamma2) + r0 mod q. 82 * @param gamma2 Depending on the algorithm gamma2 is either (q-1)/32 or (q-1)/88 86 void ossl_ml_dsa_key_compress_decompose(uint32_t r, uint32_t gamma2, 89 *r1 = ossl_ml_dsa_key_compress_high_bits(r, gamma2); [all...] |
| ml_dsa_poly.h | 121 poly_high_bits(const POLY *in, uint32_t gamma2, POLY *out) 126 out->coeff[i] = ossl_ml_dsa_key_compress_high_bits(in->coeff[i], gamma2); 130 poly_low_bits(const POLY *in, uint32_t gamma2, POLY *out) 135 out->coeff[i] = ossl_ml_dsa_key_compress_low_bits(in->coeff[i], gamma2); 139 poly_make_hint(const POLY *ct0, const POLY *cs2, const POLY *w, uint32_t gamma2, 147 gamma2, w->coeff[i]); 151 poly_use_hint(const POLY *h, const POLY *r, uint32_t gamma2, POLY *out) 157 r->coeff[i], gamma2);
|
| ml_dsa_local.h | 52 * The possible values for gamma2 - If a new value is added, then all code 81 uint32_t ossl_ml_dsa_key_compress_high_bits(uint32_t r, uint32_t gamma2); 82 void ossl_ml_dsa_key_compress_decompose(uint32_t r, uint32_t gamma2, 84 void ossl_ml_dsa_key_compress_decompose(uint32_t r, uint32_t gamma2, 86 int32_t ossl_ml_dsa_key_compress_low_bits(uint32_t r, uint32_t gamma2); 88 uint32_t gamma2, uint32_t w); 90 uint32_t gamma2); 99 int ossl_ml_dsa_w1_encode(const VECTOR *w1, uint32_t gamma2,
|
| ml_dsa_sign.c | 59 uint32_t gamma1 = params->gamma1, gamma2 = params->gamma2; local 81 w1_encoded_len = k * (gamma2 == ML_DSA_GAMMA2_Q_MINUS1_DIV88 ? 192 : 128); 151 vector_high_bits(&w, gamma2, &w1); 152 ossl_ml_dsa_w1_encode(&w1, gamma2, w1_encoded, w1_encoded_len); 171 vector_low_bits(r0, gamma2, r0); 180 | constant_time_ge(r0_max, gamma2 - params->beta))) 185 vector_make_hint(ct0, &cs2, &w, gamma2, &sig.hint); 190 if (value_barrier_32(constant_time_ge(ct0_max, gamma2) 219 uint32_t gamma2 = params->gamma2 local [all...] |
| ml_dsa_vector.h | 184 vector_high_bits(const VECTOR *in, uint32_t gamma2, VECTOR *out) 189 poly_high_bits(in->poly + i, gamma2, out->poly + i); 193 vector_low_bits(const VECTOR *in, uint32_t gamma2, VECTOR *out) 198 poly_low_bits(in->poly + i, gamma2, out->poly + i); 237 uint32_t gamma2, VECTOR *out) 242 poly_make_hint(ct0->poly + i, cs2->poly + i, w->poly + i, gamma2, 247 vector_use_hint(const VECTOR *h, const VECTOR *r, uint32_t gamma2, VECTOR *out) 252 poly_use_hint(h->poly + i, r->poly + i, gamma2, out->poly + i);
|
| ml_dsa_encoders.c | 990 * depending on the value of gamma2. 995 * @param gamma2 either ML_DSA_GAMMA2_Q_MINUS1_DIV32 or ML_DSA_GAMMA2_Q_MINUS1_DIV88 998 int ossl_ml_dsa_w1_encode(const VECTOR *w1, uint32_t gamma2, 1008 if (gamma2 == ML_DSA_GAMMA2_Q_MINUS1_DIV32)
|
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| ml_dsa.h | 61 int gamma2; /* low-order rounding range */ member in struct:ml_dsa_params_st
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_overlay.c | 1194 static bool check_gamma_bounds(u32 gamma1, u32 gamma2) 1198 if (gamma1 & 0xff000000 || gamma2 & 0xff000000) 1202 if (((gamma1 >> i*8) & 0xff) >= ((gamma2 >> i*8) & 0xff)) 1225 !check_gamma_bounds(attrs->gamma1, attrs->gamma2) || 1226 !check_gamma_bounds(attrs->gamma2, attrs->gamma3) || 1264 attrs->gamma2 = I915_READ(OGAMC2); 1299 I915_WRITE(OGAMC2, attrs->gamma2);
|
| /src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
| i915_drm.h | 1473 __u32 gamma2; member in struct:drm_intel_overlay_attrs
|