/openssl/Configurations/ |
H A D | gentemplate.pm | 17 my $generator = OpenSSL::GenTemplate->new(%opts); 20 foreach (@{$generator->{info}->{depends}->{""}}) { $generator->dogenerate($_); } 24 foreach (@{$generator->{info}->{targets}}) { $generator->dotarget($_); } 25 foreach (@{$generator->{info}->{libraries}}) { $generator->dolib($_); } 26 foreach (@{$generator->{info}->{modules}}) { $generator->domodule($_); } 27 foreach (@{$generator->{info}->{programs}}) { $generator->dobin($_); } 28 foreach (@{$generator->{info}->{scripts}}) { $generator->doscript($_); } 29 foreach (sort keys %{$generator->{info}->{htmldocs}}) { $generator->dodocs('html', $_); } 30 foreach (sort keys %{$generator->{info}->{mandocs}}) { $generator->dodocs('man', $_); } 31 foreach (sort keys %{$generator->{info}->{dirinfo}}) { $generator->dodir($_); }
|
/openssl/crypto/dh/ |
H A D | dh_gen.c | 35 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 115 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, in DH_generate_parameters_ex() argument 119 if (generator != 2) in DH_generate_parameters_ex() 124 return ret->meth->generate_params(ret, prime_len, generator, cb); in DH_generate_parameters_ex() 125 return dh_builtin_genparams(ret, prime_len, generator, cb); in DH_generate_parameters_ex() 156 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, in dh_builtin_genparams() argument 188 if (generator <= 1) { in dh_builtin_genparams() 192 if (generator == DH_GENERATOR_2) { in dh_builtin_genparams() 198 } else if (generator == DH_GENERATOR_5) { in dh_builtin_genparams() 214 g = generator; in dh_builtin_genparams()
|
H A D | dh_depr.c | 25 DH *DH_generate_parameters(int prime_len, int generator, in DH_generate_parameters() argument 41 if (DH_generate_parameters_ex(ret, prime_len, generator, cb)) { in DH_generate_parameters()
|
H A D | dh_pmeth.c | 32 int generator; member 62 dctx->generator = 2; in pkey_dh_init() 94 dctx->generator = sctx->generator; in pkey_dh_copy() 138 dctx->generator = p1; in pkey_dh_ctrl() 365 dctx->prime_len, dctx->generator, pcb); in pkey_dh_paramgen()
|
/openssl/util/perl/OpenSSL/Config/ |
H A D | Query.pm | 116 my @generator = 118 my %generator_parts = %{$self->get_sources(@generator)}; 122 @generator = () if %generator_parts; 126 ( grep { !defined($parts{$_}) } @sources, @generator ) );
|
/openssl/doc/man7/ |
H A D | RAND.pod | 6 - the OpenSSL random generator 13 can be used as a cryptographically-secure pseudo-random number generator 20 the deterministic random bit generator (DRBG) model as described in 21 [NIST SP 800-90A Rev. 1]. The default random generator will initialize 52 Changing the default random generator should be necessary 60 bit generator (DRBG) classes. 62 number generator (CSPRNG), which is described in [NIST SP 800-90A Rev. 1].
|
H A D | EVP_RAND-TEST-RAND.pod | 9 Support for a test generator through the B<EVP_RAND> API. This generator is 56 Sets the bytes returned when the test generator is sent an entropy request. 62 Sets the bytes returned when the test generator is sent a nonce request. 76 A context for a test generator can be obtained by calling:
|
H A D | EVP_PKEY-FFC.pod | 61 A DSA or Diffie-Hellman generator "g" value. 81 Sets the index to use for canonical generation and verification of the generator 85 is not set or is -1 then unverifiable generation of the generator I<g> will be 95 For unverifiable generation of the generator I<g> this value is output during 205 =item A.2.3 Generation of canonical generator g.
|
/openssl/doc/man3/ |
H A D | RAND_add.pod | 30 These functions can be used to seed the random generator and to check its 32 In general, manual (re-)seeding of the default OpenSSL random generator 38 RAND_status() indicates whether or not the random generator has been sufficiently 41 RAND_poll() uses the system's capabilities to seed the random generator using 47 of the random generator. 54 The content of B<buf> cannot be recovered from subsequent random generator output. 80 RAND_status() returns 1 if the random generator has been seeded
|
H A D | RAND_set_DRBG_type.pod | 7 - specify the global random number generator types 20 RAND_set_DRBG_type() specifies the random bit generator that will be 21 used within the library context I<ctx>. A generator of name I<drbg> 30 random bit generator.
|
H A D | DH_generate_parameters.pod | 19 int DH_generate_parameters_ex(DH *dh, int prime_len, int generator, BN_GENCB *cb); 32 DH *DH_generate_parameters(int prime_len, int generator, 44 structure. The pseudo-random number generator must be 50 B<generator> is a small number E<gt> 1, typically 2 or 5. 81 The generator B<g> is not suitable. 111 The generator B<g> cannot be checked for suitability. 115 The generator B<g> is not suitable.
|
H A D | EC_POINT_add.pod | 51 EC_POINT_mul calculates the value generator * B<n> + B<q> * B<m> and stores the result in B<r>. 52 …d B<m> may be NULL, and B<n> non-NULL, in which case the result is just generator * B<n> (fixed po… 56 EC_POINTs_mul calculates the value generator * B<n> + B<q[0]> * B<m[0]> + ... + B<q[num-1]> * B<m[n… 60 The function EC_GROUP_precompute_mult stores multiples of the generator for faster point multiplica… 62 about the generator. Precomputation functionality was deprecated in OpenSSL 3.0.
|
H A D | DSA_generate_parameters.pod | 34 DSA_generate_parameters_ex() generates primes p and q and a generator g 45 *B<counter_ret> and a counter used for finding a generator in 99 When the generator has been found, B<BN_GENCB_call(cb, 3, 1)> is called.
|
/openssl/test/ |
H A D | sm2_internal_test.c | 88 EC_POINT *generator = NULL; in create_EC_group() local 101 generator = EC_POINT_new(group); in create_EC_group() 102 if (!TEST_ptr(generator)) in create_EC_group() 107 || !TEST_true(EC_POINT_set_affine_coordinates(group, generator, g_x, in create_EC_group() 113 || !TEST_true(EC_GROUP_set_generator(group, generator, order, cof))) in create_EC_group() 123 EC_POINT_free(generator); in create_EC_group()
|
/openssl/crypto/ec/ |
H A D | ecp_nistz256.c | 799 is_one(generator->Z); in ecp_nistz256_is_affine_G() 812 const EC_POINT *generator; in ecp_nistz256_mult_precompute() local 824 if (generator == NULL) { in ecp_nistz256_mult_precompute() 874 if (!EC_POINT_copy(T, generator)) in ecp_nistz256_mult_precompute() 950 const EC_POINT *generator = NULL; in ecp_nistz256_points_mul() local 973 if (generator == NULL) { in ecp_nistz256_points_mul() 1123 new_points[num] = generator; in ecp_nistz256_points_mul() 1257 if (generator != NULL && ecp_nistz256_is_affine_G(generator)) { in ecp_nistz256_window_have_precompute_mult() 1533 group->generator = EC_POINT_new(group); in ecp_nistz256group_full_init() 1534 if (group->generator == NULL){ in ecp_nistz256group_full_init() [all …]
|
H A D | ecp_nistp224.c | 1425 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp224_points_mul() local 1445 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp224_points_mul() 1446 if (generator == NULL) in ossl_ec_GFp_nistp224_points_mul() 1459 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) in ossl_ec_GFp_nistp224_points_mul() 1594 EC_POINT_free(generator); in ossl_ec_GFp_nistp224_points_mul() 1607 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp224_precompute_mult() local 1629 if (group->generator == NULL) in ossl_ec_GFp_nistp224_precompute_mult() 1631 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp224_precompute_mult() 1632 if (generator == NULL) in ossl_ec_GFp_nistp224_precompute_mult() 1643 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) { in ossl_ec_GFp_nistp224_precompute_mult() [all …]
|
H A D | ecp_sm2p256.c | 447 static int ecp_sm2p256_is_affine_G(const EC_POINT *generator) in ecp_sm2p256_is_affine_G() argument 449 return (bn_get_top(generator->X) == P256_LIMBS) in ecp_sm2p256_is_affine_G() 450 && (bn_get_top(generator->Y) == P256_LIMBS) in ecp_sm2p256_is_affine_G() 451 && is_equal(bn_get_words(generator->X), def_xG) in ecp_sm2p256_is_affine_G() 452 && is_equal(bn_get_words(generator->Y), def_yG) in ecp_sm2p256_is_affine_G() 453 && (generator->Z_is_one == 1); in ecp_sm2p256_is_affine_G() 574 const EC_POINT *generator = NULL; in ecp_sm2p256_points_mul() local 589 generator = EC_GROUP_get0_generator(group); in ecp_sm2p256_points_mul() 590 if (generator == NULL) { in ecp_sm2p256_points_mul() 600 if (ecp_sm2p256_is_affine_G(generator)) { in ecp_sm2p256_points_mul() [all …]
|
H A D | ec_mult.c | 173 if (!EC_POINT_copy(p, group->generator)) { in ossl_ec_scalar_mul_ladder() 408 const EC_POINT *generator = NULL; in ossl_ec_wNAF_mul() local 463 generator = EC_GROUP_get0_generator(group); in ossl_ec_wNAF_mul() 464 if (generator == NULL) { in ossl_ec_wNAF_mul() 473 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == in ossl_ec_wNAF_mul() 690 if (!EC_POINT_copy(val_sub[i][0], generator)) in ossl_ec_wNAF_mul() 821 const EC_POINT *generator; in ossl_ec_wNAF_precompute_mult() local 838 generator = EC_GROUP_get0_generator(group); in ossl_ec_wNAF_precompute_mult() 839 if (generator == NULL) { in ossl_ec_wNAF_precompute_mult() 903 if (!EC_POINT_copy(base, generator)) in ossl_ec_wNAF_precompute_mult()
|
H A D | ec_lib.c | 132 EC_POINT_free(group->generator); in EC_GROUP_free() 227 if (src->generator != NULL) { in EC_GROUP_copy() 228 if (dest->generator == NULL) { in EC_GROUP_copy() 230 if (dest->generator == NULL) in EC_GROUP_copy() 233 if (!EC_POINT_copy(dest->generator, src->generator)) in EC_GROUP_copy() 238 dest->generator = NULL; in EC_GROUP_copy() 369 if (generator == NULL) { in EC_GROUP_set_generator() 402 if (group->generator == NULL) { in EC_GROUP_set_generator() 404 if (group->generator == NULL) in EC_GROUP_set_generator() 407 if (!EC_POINT_copy(group->generator, generator)) in EC_GROUP_set_generator() [all …]
|
H A D | ecp_nistp384.c | 1719 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp384_points_mul() local 1739 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp384_points_mul() 1740 if (generator == NULL) in ossl_ec_GFp_nistp384_points_mul() 1753 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) in ossl_ec_GFp_nistp384_points_mul() 1887 EC_POINT_free(generator); in ossl_ec_GFp_nistp384_points_mul() 1900 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp384_precompute_mult() local 1922 if (group->generator == NULL) in ossl_ec_GFp_nistp384_precompute_mult() 1924 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp384_precompute_mult() 1925 if (generator == NULL) in ossl_ec_GFp_nistp384_precompute_mult() 1936 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) { in ossl_ec_GFp_nistp384_precompute_mult() [all …]
|
H A D | ec_check.c | 84 if (group->generator == NULL) { in EC_GROUP_check() 88 if (EC_POINT_is_on_curve(group, group->generator, ctx) <= 0) { in EC_GROUP_check()
|
H A D | ecp_nistp521.c | 1928 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp521_points_mul() local 1948 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp521_points_mul() 1949 if (generator == NULL) in ossl_ec_GFp_nistp521_points_mul() 1962 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) in ossl_ec_GFp_nistp521_points_mul() 2101 EC_POINT_free(generator); in ossl_ec_GFp_nistp521_points_mul() 2114 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp521_precompute_mult() local 2136 if (group->generator == NULL) in ossl_ec_GFp_nistp521_precompute_mult() 2138 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp521_precompute_mult() 2139 if (generator == NULL) in ossl_ec_GFp_nistp521_precompute_mult() 2150 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) { in ossl_ec_GFp_nistp521_precompute_mult() [all …]
|
H A D | ecp_nistp256.c | 2039 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp256_points_mul() local 2059 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp256_points_mul() 2060 if (generator == NULL) in ossl_ec_GFp_nistp256_points_mul() 2073 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) in ossl_ec_GFp_nistp256_points_mul() 2214 EC_POINT_free(generator); in ossl_ec_GFp_nistp256_points_mul() 2227 EC_POINT *generator = NULL; in ossl_ec_GFp_nistp256_precompute_mult() local 2250 if (group->generator == NULL) in ossl_ec_GFp_nistp256_precompute_mult() 2252 generator = EC_POINT_new(group); in ossl_ec_GFp_nistp256_precompute_mult() 2253 if (generator == NULL) in ossl_ec_GFp_nistp256_precompute_mult() 2264 if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) { in ossl_ec_GFp_nistp256_precompute_mult() [all …]
|
/openssl/doc/internal/man7/ |
H A D | build.info.pod | 29 B<GENERATE[>I<item>B<]=> I<generator> I<generator-args> ... 196 way to tell the build file generator to emit the necessary command 467 =item B<GENERATE[>I<item>B<]> B<=> I<generator> I<generator-arg> ... 469 This specifies that the I<item> is generated using the I<generator> 470 with the I<generator-arg>s as arguments, plus the name of the output 473 The build file generators must be able to recognise the I<generator>. 480 For I<generator>s where this is applicable, any B<INCLUDE> statement 481 for the same I<item> will be given to the I<generator> as its 484 Likewise, For I<generator>s where this is applicable, any B<DEPEND> 492 Depending on what generator is used, a B<DEPEND> statement also acts [all …]
|
/openssl/doc/man1/ |
H A D | openssl-dhparam.pod.in | 82 The generator to use, either 2, 3 or 5. If present then the 85 default generator 2. 92 this option is not present but a generator (B<-2>, B<-3> or B<-5>) is
|