Home
last modified time | relevance | path

Searched refs:check_prime (Results 1 – 25 of 34) sorted by relevance

12

/dports/graphics/p5-GraphViz/GraphViz-2.24/examples/
H A Dprimes_aux.pl11 if (check_prime($_)) {
16 sub check_prime { subroutine
/dports/net-im/telegram-purple/telegram-purple-1.4.3/tgl/
H A Dmtproto-utils.c12 static int check_prime (struct tgl_state *TLS, TGLC_bn *p) { in check_prime() function
59 if (res < 0 || !check_prime (TLS, p)) { in tglmp_check_DH_params()
67 if (!check_prime (TLS, t)) { in tglmp_check_DH_params()
/dports/net-im/telegram-cli/tg-20200106/tgl/
H A Dmtproto-utils.c12 static int check_prime (struct tgl_state *TLS, TGLC_bn *p) { in check_prime() function
59 if (res < 0 || !check_prime (TLS, p)) { in tglmp_check_DH_params()
67 if (!check_prime (TLS, t)) { in tglmp_check_DH_params()
/dports/security/botan110/Botan-1.10.17/src/math/numbertheory/
H A Dmake_prm.cpp78 if(check_prime(p, rng)) in random_prime()
96 while(!check_prime(p, rng)); in random_safe_prime()
H A Ddsa_gen.cpp86 if(!check_prime(q, rng)) in generate_dsa_primes()
110 if(p.bits() == pbits && check_prime(p, rng)) in generate_dsa_primes()
H A Dnumthry.h143 inline bool check_prime(const BigInt& n, RandomNumberGenerator& rng) in check_prime() function
/dports/security/botan110/Botan-1.10.17/src/pubkey/dl_group/
H A Ddl_group.cpp66 while(p.bits() != pbits || !check_prime(p, rng)) in DL_Group()
166 if(!check_prime(p, rng)) in verify_group()
168 if((q > 0) && !check_prime(q, rng)) in verify_group()
/dports/security/libgcrypt/libgcrypt-1.9.4/cipher/
H A Dprimegen.c36 static int check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds,
569 while (! ((nprime == pbits) && check_prime (prime, val_2, 5, in prime_generate_internal()
858 check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds, in check_prime() function
1185 if (check_prime (x, mpi_const (MPI_C_TWO), 64, NULL, NULL)) in _gcry_prime_check()
1205 if (! check_prime (x, mpi_const (MPI_C_TWO), bits > 1024 ? 4 : 5, NULL, NULL)) in _gcry_fips186_4_prime_check()
1313 while ( !check_prime (prime, val_2, 64, NULL, NULL) ) in find_x931_prime()
1413 else if (check_prime (yp0, val_2, 64, NULL, NULL)) in _gcry_derive_x931_prime()
1526 if (check_prime (prime_q, val_2, 64, NULL, NULL)) in _gcry_generate_fips186_2_prime()
1591 && check_prime (prime_p, val_2, 64, NULL, NULL) ) in _gcry_generate_fips186_2_prime()
1764 if (check_prime (prime_q, val_2, 64, NULL, NULL)) in _gcry_generate_fips186_3_prime()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/cipher/
H A Dprimegen.c36 static int check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds,
569 while (! ((nprime == pbits) && check_prime (prime, val_2, 5, in prime_generate_internal()
858 check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds, in check_prime() function
1185 if (check_prime (x, mpi_const (MPI_C_TWO), 64, NULL, NULL)) in _gcry_prime_check()
1205 if (! check_prime (x, mpi_const (MPI_C_TWO), bits > 1024 ? 4 : 5, NULL, NULL)) in _gcry_fips186_4_prime_check()
1313 while ( !check_prime (prime, val_2, 64, NULL, NULL) ) in find_x931_prime()
1413 else if (check_prime (yp0, val_2, 64, NULL, NULL)) in _gcry_derive_x931_prime()
1526 if (check_prime (prime_q, val_2, 64, NULL, NULL)) in _gcry_generate_fips186_2_prime()
1591 && check_prime (prime_p, val_2, 64, NULL, NULL) ) in _gcry_generate_fips186_2_prime()
1764 if (check_prime (prime_q, val_2, 64, NULL, NULL)) in _gcry_generate_fips186_3_prime()
[all …]
/dports/security/botan110/Botan-1.10.17/src/pubkey/if_algo/
H A Dif_algo.cpp132 if(!check_prime(p, rng) || !check_prime(q, rng)) in check_key()
/dports/security/gnupg1/gnupg-1.4.23/cipher/
H A Dprimegen.c37 static int check_prime( MPI prime, MPI val_2 );
213 } while( !(nprime == pbits && check_prime( prime, val_2 )) ); in generate_elg_prime()
400 check_prime( MPI prime, MPI val_2 ) in check_prime() function
/dports/devel/qca/qca-2.3.4/src/botantools/botan/botan/
H A Dnumthry.h86 bool check_prime(const BigInt &);
/dports/lang/parrot/parrot-8.1.0/t/pmc/
H A Dtask_primes.t105 .sub check_prime
/dports/security/botan110/Botan-1.10.17/doc/examples/
H A Dfactor.cpp102 if(check_prime(n, rng)) in factorize()
/dports/security/wolfssl/wolfssl-5.1.0/wolfcrypt/src/
H A Ddsa.c250 check_prime = MP_NO; in wc_MakeDsaParameters() local
333 while (check_prime == MP_NO) { in wc_MakeDsaParameters()
334 err = mp_prime_is_prime_ex(&dsa->p, 8, &check_prime, rng); in wc_MakeDsaParameters()
337 if (check_prime != MP_YES) { in wc_MakeDsaParameters()
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Ddsa.c250 check_prime = MP_NO; in wc_MakeDsaParameters() local
333 while (check_prime == MP_NO) { in wc_MakeDsaParameters()
334 err = mp_prime_is_prime_ex(&dsa->p, 8, &check_prime, rng); in wc_MakeDsaParameters()
337 if (check_prime != MP_YES) { in wc_MakeDsaParameters()
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Ddsa.c250 check_prime = MP_NO; in wc_MakeDsaParameters() local
333 while (check_prime == MP_NO) { in wc_MakeDsaParameters()
334 err = mp_prime_is_prime_ex(&dsa->p, 8, &check_prime, rng); in wc_MakeDsaParameters()
337 if (check_prime != MP_YES) { in wc_MakeDsaParameters()
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Ddsa.c250 check_prime = MP_NO; in wc_MakeDsaParameters() local
333 while (check_prime == MP_NO) { in wc_MakeDsaParameters()
334 err = mp_prime_is_prime_ex(&dsa->p, 8, &check_prime, rng); in wc_MakeDsaParameters()
337 if (check_prime != MP_YES) { in wc_MakeDsaParameters()
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Ddsa.c250 check_prime = MP_NO; in wc_MakeDsaParameters() local
333 while (check_prime == MP_NO) { in wc_MakeDsaParameters()
334 err = mp_prime_is_prime_ex(&dsa->p, 8, &check_prime, rng); in wc_MakeDsaParameters()
337 if (check_prime != MP_YES) { in wc_MakeDsaParameters()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/math/numbertheory/
H A Dnumthry.h202 check_prime(const BigInt& n, RandomNumberGenerator& rng) in check_prime() function
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/math/numbertheory/
H A Dnumthry.h202 check_prime(const BigInt& n, RandomNumberGenerator& rng) in check_prime() function
/dports/security/botan2/Botan-2.18.2/src/lib/math/numbertheory/
H A Dnumthry.h202 check_prime(const BigInt& n, RandomNumberGenerator& rng) in check_prime() function
/dports/textproc/zorba/zorba-2.7.0/src/runtime/core/
H A Dsequencetypes.h245 bool check_prime,
/dports/textproc/zorba/zorba-2.7.0/src/compiler/expression/
H A Dexpr.h308 bool check_prime = true,
316 void set_check_prime(bool check_prime) { theCheckPrime = check_prime; } in set_check_prime() argument
H A Dexpr_manager.cpp269 bool check_prime, in create_treat_expr() argument
273 sctx, loc, treated, type, err, check_prime, qname); in create_treat_expr()

12