| /src/crypto/external/apache2/openssl/dist/crypto/ml_dsa/ |
| ml_dsa_matrix.c | 27 POLY *poly = a->m_poly; local 33 POLY product; 35 ossl_ml_dsa_poly_ntt_mult(poly++, &s->poly[j], &product); 36 poly_add(&product, &t->poly[i], &t->poly[i]);
|
| ml_dsa_sample.c | 117 const uint8_t *seed, size_t seed_len, POLY *out) 160 const uint8_t *seed, size_t seed_len, POLY *out) 206 POLY *poly = out->m_poly; local 216 if (!rej_ntt_poly(g_ctx, md, derived_seed, sizeof(derived_seed), poly++)) 265 derived_seed, sizeof(derived_seed), &s1->poly[i])) 271 derived_seed, sizeof(derived_seed), &s2->poly[i])) 281 int ossl_ml_dsa_poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len, 306 int ossl_ml_dsa_poly_sample_in_ball(POLY *out_c, const uint8_t *seed, int seed_len,
|
| ml_dsa_vector.h | 14 POLY *poly; member in struct:vector_st 26 static ossl_inline ossl_unused void vector_init(VECTOR *v, POLY *polys, size_t num_polys) 28 v->poly = polys; 34 v->poly = OPENSSL_malloc(num_polys * sizeof(POLY)); 35 if (v->poly == NULL) 43 OPENSSL_free(v->poly); 44 v->poly = NULL; 51 if (va->poly != NULL [all...] |
| ml_dsa_key.c | 105 if (key->t1.poly != NULL) 113 POLY *poly; local 115 if (key->s1.poly != NULL) 120 poly = key->s1.poly; 122 vector_init(&key->s2, poly + l, k); 123 vector_init(&key->t0, poly + l + k, k); 147 * The allocation for |s1.poly| subsumes those for |s2| and |t0|, which we 148 * must not access after |s1|'s poly is freed [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| crc.c | 46 unsigned long crc, poly; local 50 poly = CRC_GEN; 55 crc = (crc >> 1) ^ poly;
|
| /src/external/mit/isl/dist/ |
| isl_polynomial_private.h | 20 struct isl_poly poly; member in struct:isl_poly_cst 27 struct isl_poly poly; member in struct:isl_poly_rec 42 isl_poly *poly; member in struct:isl_qpolynomial 129 __isl_give isl_poly *isl_poly_copy(__isl_keep isl_poly *poly); 130 __isl_give isl_poly *isl_poly_cow(__isl_take isl_poly *poly); 131 __isl_give isl_poly *isl_poly_dup(__isl_keep isl_poly *poly); 132 __isl_null isl_poly *isl_poly_free(__isl_take isl_poly *poly); 136 isl_bool isl_poly_is_cst(__isl_keep isl_poly *poly); 137 isl_bool isl_poly_is_zero(__isl_keep isl_poly *poly); 138 isl_bool isl_poly_is_one(__isl_keep isl_poly *poly); [all...] |
| isl_bernstein.c | 30 isl_qpolynomial *poly; member in struct:bernstein_data 159 static isl_stat extract_coefficients(isl_qpolynomial *poly, 171 n = isl_qpolynomial_dim(poly, isl_dim_in); 175 ctx = isl_qpolynomial_get_ctx(poly); 176 d = isl_qpolynomial_degree(poly); 190 c[0] = isl_qpolynomial_coeff(poly, isl_dim_in, n - 1, k[0]); 257 * data->poly has been homogenized in the calling function. 273 isl_qpolynomial *poly = data->poly; local 282 n_in = isl_qpolynomial_dim(poly, isl_dim_in) [all...] |
| isl_range.c | 16 isl_qpolynomial *poly; member in struct:range_data 22 __isl_take isl_qpolynomial *poly, struct range_data *data); 24 /* Check whether the polynomial "poly" has sign "sign" over "bset", 30 __isl_keep isl_qpolynomial *poly, int sign, int *signs) 44 poly = isl_qpolynomial_copy(poly); 48 poly = isl_qpolynomial_move_dims(poly, isl_dim_in, 0, 51 space = isl_qpolynomial_get_space(poly); 64 if (propagate_on_domain(bset, poly, &data_m) < 0 186 isl_qpolynomial *poly; member in struct:isl_fixed_sign_data 358 isl_qpolynomial *poly; local [all...] |
| isl_polynomial.c | 51 isl_bool isl_poly_is_cst(__isl_keep isl_poly *poly) 53 if (!poly) 56 return isl_bool_ok(poly->var < 0); 59 __isl_keep isl_poly_cst *isl_poly_as_cst(__isl_keep isl_poly *poly) 61 if (!poly) 64 isl_assert(poly->ctx, poly->var < 0, return NULL); 66 return (isl_poly_cst *) poly; 69 __isl_keep isl_poly_rec *isl_poly_as_rec(__isl_keep isl_poly *poly) 71 if (!poly) 1245 isl_poly *poly; local 1455 isl_poly *poly; local 1498 isl_poly *poly; local 1852 isl_poly *poly; local 1898 isl_poly *poly; local 1921 isl_poly *poly; local 1951 isl_poly *poly; local 2012 isl_poly *poly; local 2042 isl_poly *poly; local 2486 isl_poly *poly; local 3131 isl_poly *poly; local 3587 isl_poly *poly; local 3694 isl_poly *poly; local 3709 isl_poly *poly; local 3783 isl_poly *poly; local 3844 isl_poly *poly; local 3979 isl_poly *poly; local 4392 isl_poly *poly; local 4674 isl_poly *poly; local [all...] |
| isl_test.c | 4012 * "poly" is a string representation of the input. 4019 const char *poly; member in struct:__anon23704 4074 str = bound_tests[i].poly;
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/ |
| cipher_chacha20_poly1305_hw.c | 122 POLY1305 *poly = &ctx->poly1305; local 137 Poly1305_Init(poly, buf); 162 Poly1305_Init(poly, buf); 194 Poly1305_Init(poly, buf); 197 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); 205 Poly1305_Update(poly, out, plen); 207 Poly1305_Update(poly, in, plen); 214 Poly1305_Update(poly, zero, tail); 240 Poly1305_Update(poly, tohash, tohash_len); 242 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash) 271 POLY1305 *poly = &ctx->poly1305; local [all...] |
| /src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| cipher_chacha20_poly1305_hw.c | 123 POLY1305 *poly = &ctx->poly1305; local 138 Poly1305_Init(poly, buf); 163 Poly1305_Init(poly, buf); 195 Poly1305_Init(poly, buf); 198 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); 206 Poly1305_Update(poly, out, plen); 208 Poly1305_Update(poly, in, plen); 215 Poly1305_Update(poly, zero, tail); 241 Poly1305_Update(poly, tohash, tohash_len); 243 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash) 272 POLY1305 *poly = &ctx->poly1305; local [all...] |
| /src/external/cddl/osnet/dist/uts/common/zmod/ |
| crc32.c | 115 unsigned long poly; /* polynomial exclusive-or pattern */ local 127 poly = 0UL; 129 poly |= 1UL << (31 - p[n]); 135 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
|
| /src/crypto/external/apache2/openssl/dist/crypto/ec/ |
| ec_local.h | 236 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m = 237 * poly[0] > poly[1] > ... > poly[k] = 0. The array is terminated with 238 * poly[k+1]=-1. All elliptic curve irreducibles have at most 5 non-zero 241 int poly[6]; member in struct:ec_group_st
|
| /src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| ec_local.h | 234 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m = 235 * poly[0] > poly[1] > ... > poly[k] = 0. The array is terminated with 236 * poly[k+1]=-1. All elliptic curve irreducibles have at most 5 non-zero 239 int poly[6]; member in struct:ec_group_st
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| ec_local.h | 230 * then of the form: t^poly[0] + t^poly[1] + ... + t^poly[k] where m = 231 * poly[0] > poly[1] > ... > poly[k] = 0. The array is terminated with 232 * poly[k+1]=-1. All elliptic curve irreducibles have at most 5 non-zero 235 int poly[6]; member in struct:ec_group_st
|
| /src/sys/dev/marvell/ |
| if_mvgbe.c | 2145 const uint8_t poly = 0x07; local 2149 crc = (crc << 1) ^ ((((crc >> 7) ^ (byte >> bit)) & 1) ? poly : 0);
|
| if_mvxpe.c | 2680 const uint8_t poly = 0x07; local 2684 crc = (crc << 1) ^ ((((crc >> 7) ^ (byte >> bit)) & 1) ? poly : 0);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| endecode_test.c | 1212 BIGNUM *a, *b, *poly, *order, *cofactor; local 1266 && TEST_ptr(poly = BN_CTX_get(bnctx)) 1269 && TEST_ptr(BN_bin2bn(poly_data, sizeof(poly_data), poly)) 1277 && TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, poly))
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| endecode_test.c | 1167 BIGNUM *a, *b, *poly, *order, *cofactor; local 1194 && TEST_ptr(poly = BN_CTX_get(bnctx)) 1197 && TEST_ptr(BN_bin2bn(poly_data, sizeof(poly_data), poly)) 1205 && TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, poly))
|
| /src/sys/dev/ |
| ipmi.c | 1350 poly(int64_t x0, int64_t x, int64_t a[], int n) function 1384 z += poly(x, x, fixlog_a, sizeof(fixlog_a)/sizeof(fixlog_a[0])); 1410 x = poly(INT2FIX(1), x, fixexp_a, sizeof(fixexp_a)/sizeof(fixexp_a[0]));
|
| /src/external/bsd/nvi/dist/motif_l/ |
| xtabbed.c | 507 Widget,XPoint poly[12] 779 static void draw_border(Widget self,XPoint poly[12]) 781 static void draw_border(self,poly)Widget self;XPoint poly[12]; 788 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly, 6, CoordModeOrigin); 789 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly + 5, 4, CoordModeOrigin); 790 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly + 8, 2, CoordModeOrigin); 792 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly, 2, CoordModeOrigin); 793 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly + 1, 4, CoordModeOrigin); 794 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly + 4, 6, CoordModeOrigin) 983 XPoint poly[12]; local 1169 XPoint poly[12]; local 1175 comp_hor_tab_shape(self, ((XmTabsWidget)self)->xmTabs.lefttabs, poly, &x0, &x1, &dummy); local 1198 comp_ver_tab_shape(self, ((XmTabsWidget)self)->xmTabs.lefttabs, poly, &x0, &x1, &dummy); local [all...] |