Searched refs:prime (Results 26 - 45 of 45) sorted by relevance

12

/freebsd-13-stable/contrib/unbound/util/
H A Dfptr_wlist.c361 uint16_t qflags, int prime, int valrec, struct module_qstate** newq))
370 uint16_t qflags, int prime, int valrec, struct module_qstate** newq,
387 uint16_t flags, int prime, int valrec))
359 fptr_whitelist_modenv_attach_sub(int (*fptr)( struct module_qstate* qstate, struct query_info* qinfo, uint16_t qflags, int prime, int valrec, struct module_qstate** newq)) argument
368 fptr_whitelist_modenv_add_sub(int (*fptr)( struct module_qstate* qstate, struct query_info* qinfo, uint16_t qflags, int prime, int valrec, struct module_qstate** newq, struct mesh_state** sub)) argument
385 fptr_whitelist_modenv_detect_cycle(int (*fptr)( struct module_qstate* qstate, struct query_info* qinfo, uint16_t flags, int prime, int valrec)) argument
/freebsd-13-stable/sys/contrib/openzfs/module/icp/os/
H A Dmodhash.c341 * attempts to find the next largest prime above the number of hash
343 * the hash size, or (key * prime) % nchains.
359 * Generate the next largest prime number greater than nchains; this value
366 uint_t kval, i, prime; local
369 * Pick the first (odd) prime greater than nchains. Make sure kval is
375 prime = 1;
378 prime = 0;
380 if (prime == 1)
/freebsd-13-stable/contrib/wpa/src/crypto/
H A Dcrypto.h420 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey,
422 int crypto_dh_derive_secret(u8 generator, const u8 *prime, size_t prime_len,
700 * crypto_ec_prime_len - Get length of the prime in octets
702 * Returns: Length of the prime defining the group
707 * crypto_ec_prime_len_bits - Get length of the prime in bits
709 * Returns: Length of the prime defining the group in bits
721 * crypto_ec_get_prime - Get prime defining an EC group
776 * the length of the prime defining the group.
789 * the length of the prime defining the group.
H A Ddh_groups.c1213 if (crypto_dh_init(*dh->generator, dh->prime, dh->prime_len,
1251 if (crypto_dh_derive_secret(*dh->generator, dh->prime, dh->prime_len,
/freebsd-13-stable/tools/tools/usbtest/
H A Dusbtest.c66 const uint32_t prime = 0xFFFF1D; local
70 noise_rem += prime;
/freebsd-13-stable/crypto/openssl/crypto/ec/
H A Dec_asn1.c117 ASN1_INTEGER *prime; member in union:x9_62_fieldid_st::__anon6981
193 ADB_ENTRY(NID_X9_62_prime_field, ASN1_SIMPLE(X9_62_FIELDID, p.prime, ASN1_INTEGER)),
274 /* the parameters are specified by the prime number p */
279 /* set the prime number */
280 field->p.prime = BN_to_ASN1_INTEGER(tmp, NULL);
281 if (field->p.prime == NULL) {
717 /* we have a curve over a prime field */
718 /* extract the prime number */
719 if (!params->fieldID->p.prime) {
723 p = ASN1_INTEGER_to_BN(params->fieldID->p.prime, NUL
[all...]
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_gem.c177 drm_prime_remove_buf_handle(&filp->prime,
181 drm_prime_remove_buf_handle(&filp->prime,
H A Ddrm_fops.c215 drm_prime_init_file_private(&priv->prime);
446 drm_prime_destroy_file_private(&file_priv->prime);
H A DdrmP.h429 struct drm_prime_file_private prime; member in struct:drm_file
871 /* prime: */
/freebsd-13-stable/contrib/unbound/services/
H A Dmesh.c774 struct respip_client_info* cinfo, uint16_t qflags, int prime,
821 mstate->s.is_priming = prime;
1005 uint16_t qflags, int prime, int valrec, struct module_qstate** newq,
1011 prime, valrec);
1021 *sub = mesh_state_create(qstate->env, qinfo, NULL, qflags, prime,
1051 uint16_t qflags, int prime, int valrec, struct module_qstate** newq)
1056 if(!mesh_add_sub(qstate, qinfo, qflags, prime, valrec, newq, &sub))
1452 uint16_t qflags, int prime, int valrec)
1458 key.s.is_priming = prime;
1739 num++, (m->s.is_priming)?"p":"", /* prime */
773 mesh_state_create(struct module_env* env, struct query_info* qinfo, struct respip_client_info* cinfo, uint16_t qflags, int prime, int valrec) argument
1004 mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo, uint16_t qflags, int prime, int valrec, struct module_qstate** newq, struct mesh_state** sub) argument
1050 mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo, uint16_t qflags, int prime, int valrec, struct module_qstate** newq) argument
1450 mesh_area_find(struct mesh_area* mesh, struct respip_client_info* cinfo, struct query_info* qinfo, uint16_t qflags, int prime, int valrec) argument
1811 mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo, uint16_t flags, int prime, int valrec) argument
[all...]
/freebsd-13-stable/usr.bin/factor/
H A Dfactor.c55 * chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\
112 static void pr_print(BIGNUM *); /* print a prime */
195 for (fact = &prime[0]; !BN_is_one(val); ++fact) {
/freebsd-13-stable/contrib/wpa/src/eap_common/
H A Deap_eke_common.c171 if (crypto_dh_init(gen, dh->prime, dh->prime_len, ret_priv,
401 if (crypto_dh_derive_secret(*dh->generator, dh->prime, dh->prime_len,
/freebsd-13-stable/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c2034 PACKET prime, generator, salt, server_pub; local
2036 if (!PACKET_get_length_prefixed_2(pkt, &prime)
2047 BN_bin2bn(PACKET_data(&prime),
2048 (int)PACKET_remaining(&prime), NULL)) == NULL
2083 PACKET prime, generator, pub_key; local
2091 if (!PACKET_get_length_prefixed_2(pkt, &prime)
2109 p = BN_bin2bn(PACKET_data(&prime), (int)PACKET_remaining(&prime), NULL);
/freebsd-13-stable/contrib/bmake/mk/
H A Ddirdeps-targets.mk43 # for DIRDEPS_BUILD this is how we prime the pump
/freebsd-13-stable/sys/dev/usb/gadget/
H A Dg_audio.c388 const uint32_t prime = 0xFFFF1D; local
391 sc->sc_noise_rem += prime;
/freebsd-13-stable/share/mk/
H A Ddirdeps-targets.mk44 # for DIRDEPS_BUILD this is how we prime the pump
/freebsd-13-stable/contrib/bc/
H A DMakefile.in389 @$(RM) -f tests/dc/scripts/prime.txt tests/dc/scripts/stream.txt
/freebsd-13-stable/contrib/unbound/daemon/
H A Dremote.c2083 int* insecure, int* prime)
2096 else if(*args == 'p' && prime)
2097 *prime = 1;
2175 int insecure = 0, prime = 0; local
2178 if(!parse_fs_args(ssl, args, &nm, &dp, &insecure, &prime))
2198 if(!hints_add_stub(worker->env.hints, LDNS_RR_CLASS_IN, dp, !prime)) {
2082 parse_fs_args(RES* ssl, char* args, uint8_t** nm, struct delegpt** dp, int* insecure, int* prime) argument
/freebsd-13-stable/contrib/unbound/validator/
H A Dval_secalgo.c946 * {iso(1) member-body(2) us(840) ansi-x962(10045) curves(3) prime(1) prime256v1(7)} */
1036 if(SECITEM_CopyItem(pk->arena, &pk->u.dsa.params.prime, &P)) {
/freebsd-13-stable/contrib/unbound/iterator/
H A Diterator.c260 /* prime failed to get delegation */
690 int prime = (finalstate == PRIME_RESP_STATE)?1:0; local
716 qflags, prime, valrec, &subq, &sub)){
724 if(!(*qstate->env->attach_sub)(qstate, &qinf, qflags, prime,
770 * @param qstate: the qtstate that triggered the need to prime.
773 * @param qclass: the class to prime.
787 verbose(VERB_ALGO, "Cannot prime due to lack of hints");
795 verbose(VERB_ALGO, "could not prime root");
802 * copy dp, it is now part of the root prime query.
825 * need to prime
[all...]

Completed in 310 milliseconds

12