| /freebsd/crypto/openssl/crypto/ml_dsa/ |
| H A D | ml_dsa_poly.h | 19 poly_zero(POLY *p) in poly_zero() 34 poly_add(const POLY *lhs, const POLY *rhs, POLY *out) in poly_add() 52 poly_sub(const POLY *lhs, const POLY *rhs, POLY *out) in poly_sub() 62 poly_equal(const POLY *a, const POLY *b) in poly_equal() 68 poly_ntt(POLY *p) in poly_ntt() 74 poly_sample_in_ball_ntt(POLY *out, const uint8_t *seed, int seed_len, in poly_sample_in_ball_ntt() 84 poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len, in poly_expand_mask() 102 poly_power2_round(const POLY *t, POLY *t1, POLY *t0) in poly_power2_round() 112 poly_scale_power2_round(POLY *in, POLY *out) in poly_scale_power2_round() 121 poly_high_bits(const POLY *in, uint32_t gamma2, POLY *out) in poly_high_bits() [all …]
|
| H A D | ml_dsa_local.h | 58 typedef struct poly_st POLY; typedef 69 int ossl_ml_dsa_poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len, 72 int ossl_ml_dsa_poly_sample_in_ball(POLY *out_c, const uint8_t *seed, int seed_len, 76 void ossl_ml_dsa_poly_ntt(POLY *s); 77 void ossl_ml_dsa_poly_ntt_inverse(POLY *s); 78 void ossl_ml_dsa_poly_ntt_mult(const POLY *lhs, const POLY *rhs, POLY *out); 101 int ossl_ml_dsa_poly_decode_expand_mask(POLY *out,
|
| H A D | ml_dsa_encoders.c | 23 typedef int(ENCODE_FN)(const POLY *s, WPACKET *pkt); 24 typedef int(DECODE_FN)(POLY *s, PACKET *pkt); 53 static int poly_encode_4_bits(const POLY *p, WPACKET *pkt) in poly_encode_4_bits() 90 static int poly_encode_6_bits(const POLY *p, WPACKET *pkt) in poly_encode_6_bits() 130 static int poly_encode_10_bits(const POLY *p, WPACKET *pkt) in poly_encode_10_bits() 162 static int poly_decode_10_bits(POLY *p, PACKET *pkt) in poly_decode_10_bits() 199 static int poly_encode_signed_4(const POLY *p, WPACKET *pkt) in poly_encode_signed_4() 225 static int poly_decode_signed_4(POLY *p, PACKET *pkt) in poly_decode_signed_4() 287 static int poly_encode_signed_2(const POLY *p, WPACKET *pkt) in poly_encode_signed_2() 323 static int poly_decode_signed_2(POLY *p, PACKET *pkt) in poly_decode_signed_2() [all …]
|
| H A D | ml_dsa_ntt.c | 111 void ossl_ml_dsa_poly_ntt_mult(const POLY *lhs, const POLY *rhs, POLY *out) in ossl_ml_dsa_poly_ntt_mult() 128 void ossl_ml_dsa_poly_ntt(POLY *p) in ossl_ml_dsa_poly_ntt() 161 void ossl_ml_dsa_poly_ntt_inverse(POLY *p) in ossl_ml_dsa_poly_ntt_inverse()
|
| H A D | ml_dsa_sample.c | 117 const uint8_t *seed, size_t seed_len, POLY *out) in rej_ntt_poly() 160 const uint8_t *seed, size_t seed_len, POLY *out) in rej_bounded_poly() 206 POLY *poly = out->m_poly; in ossl_ml_dsa_matrix_expand_A() 281 int ossl_ml_dsa_poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len, in ossl_ml_dsa_poly_expand_mask() 306 int ossl_ml_dsa_poly_sample_in_ball(POLY *out_c, const uint8_t *seed, int seed_len, in ossl_ml_dsa_poly_sample_in_ball()
|
| H A D | ml_dsa_matrix.c | 27 POLY *poly = a->m_poly; in ossl_ml_dsa_matrix_mult_vector() 33 POLY product; in ossl_ml_dsa_matrix_mult_vector()
|
| H A D | ml_dsa_matrix.h | 12 POLY *m_poly; 26 matrix_init(MATRIX *m, POLY *polys, size_t k, size_t l) in matrix_init()
|
| H A D | ml_dsa_sign.c | 36 POLY *hint, uint32_t k, POLY *z, uint32_t l, in signature_init() 66 POLY *polys = NULL, *p, *c_ntt; in ml_dsa_sign_internal() 93 p = (POLY *)(w1_encoded + w1_encoded_len); in ml_dsa_sign_internal() 212 POLY *polys = NULL, *p, *c_ntt; in ml_dsa_verify_internal() 245 p = (POLY *)(w1_encoded + w1_encoded_len); in ml_dsa_verify_internal()
|
| H A D | ml_dsa_vector.h | 14 POLY *poly; 26 static ossl_inline ossl_unused void vector_init(VECTOR *v, POLY *polys, size_t num_polys) in vector_init() 34 v->poly = OPENSSL_malloc(num_polys * sizeof(POLY)); in vector_alloc() 123 vector_mult_scalar(const VECTOR *lhs, const POLY *rhs, VECTOR *out) in vector_mult_scalar()
|
| H A D | ml_dsa_key.c | 113 POLY *poly; in ossl_ml_dsa_key_priv_alloc() 321 POLY *polys; in public_from_private() 382 POLY *polys = NULL; in ossl_ml_dsa_key_pairwise_check()
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
| H A D | sv_log_inline.h | 16 # define POLY \ macro 22 # define POLY \ macro 40 .poly = POLY, .ln2 = 0x1.62e42fefa39efp-1, \
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
| H A D | v_log_inline.h | 16 # define POLY \ macro 22 # define POLY \ macro 41 .poly = POLY, .ln2 = V2 (0x1.62e42fefa39efp-1), \
|
| /freebsd/sys/libkern/x86/ |
| H A D | crc32_sse42.c | 70 #define POLY 0x82f63b78 macro 138 odd[0] = POLY; /* CRC-32C polynomial */ in crc32c_zeros_op()
|
| /freebsd/sys/contrib/zlib/ |
| H A D | crc32.c | 157 #define POLY 0xedb88320 /* p(x) reflected, with x^32 implied */ macro 175 b = b & 1 ? (b >> 1) ^ POLY : b >> 1; in multmodp() 251 p = p & 1 ? (p >> 1) ^ POLY : p >> 1; in make_crc_table()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | biosig | 119 0 string POLY\x20SAMPLE\x20FILEversion\x20 Biosig/TMS32
|
| /freebsd/crypto/openssl/crypto/modes/asm/ |
| H A D | aes-gcm-avx512.pl | 823 my $POLY = $_[1]; # [in] zmm/ymm/xmm: polynomial 832 vpclmulqdq \$0x01,$LO128,$POLY,$TMP0 837 vpclmulqdq \$0x00,$TMP0,$POLY,$TMP1 839 vpclmulqdq \$0x10,$TMP0,$POLY,$OUT
|
| /freebsd/sys/crypto/openssl/amd64/ |
| H A D | aes-gcm-avx512.S | 132 vpand POLY(%rip),%xmm2,%xmm2 135988 POLY:.quad 0x0000000000000001, 0xC200000000000000
|