/freebsd/crypto/heimdal/lib/krb5/ |
H A D | rd_safe.c | 39 KRB_SAFE *safe) in verify_checksum() argument 49 c = safe->cksum; in verify_checksum() 50 safe->cksum.cksumtype = 0; in verify_checksum() 51 safe->cksum.checksum.data = NULL; in verify_checksum() 52 safe->cksum.checksum.length = 0; in verify_checksum() 54 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, safe, &len, ret); in verify_checksum() 78 safe->cksum = c; in verify_checksum() 91 KRB_SAFE safe; in krb5_rd_safe() local 105 /* if these fields are not present in the safe-part, silently in krb5_rd_safe() 110 ret = decode_KRB_SAFE (inbuf->data, inbuf->length, &safe, &len); in krb5_rd_safe() [all …]
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | safe.t | 11 unless (eval { require Safe; 1 }) { 12 plan skip_all => 'Safe.pm is required for this test'; 32 my $c = Safe->new or die; 43 my $text2 = $template1->fill_in(SAFE => $c); 46 my $text3 = $template2->fill_in(SAFE => $c); 49 # (4) Safe and non-safe fills of different template objects with the 53 # uses package main, while the safe fill uses the secret safe package. 54 # We could alias the secret safe package to be identical to main, 55 # but that wouldn't be safe. If you want the aliasing, you have to 58 # (5) Safe and non-safe fills of the same template object [all …]
|
H A D | safe2.t | 10 unless (eval { require Safe; 1 }) { 11 plan skip_all => 'Safe.pm is required for this test'; 19 my $c = Safe->new or die; 22 $c->reval('$P = "safe root"'); 40 # (3) When no package is specified in safe mode, we should use the 41 # default safe root. 42 $text = $t->fill_in(SAFE => $c); 43 is $text, 'package is safe root'; 45 # (4) When a package is specified in safe mode, we should use the 46 # default safe root, after aliasing to the specified package [all …]
|
H A D | safe3.t | 9 unless (eval { require Safe; 1 }) { 10 plan skip_all => 'Safe.pm is required for this test'; 18 # Test the OUT feature with safe compartments 34 my $c = Safe->new; 40 SAFE => $c) or die; 45 SAFE => $c) or die; 59 # is never undefined after it is used once if you are using the SAFE 70 my $s = Safe->new; 76 my $r = $o->fill_in(SAFE => $s);
|
/freebsd/crypto/openssl/exporters/pkg-config/ |
H A D | libcrypto.pc.in | 1 prefix={- $OpenSSL::safe::installdata::PREFIX[0] -} 3 libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) { 5 $x = '/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0] 6 if $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]; 9 $OpenSSL::safe::installdata::libdir[0]; 13 foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -} 14 enginesdir=${libdir}/{- $OpenSSL::safe::installdata::ENGINESDIR_REL_LIBDIR[0] -} 15 modulesdir=${libdir}/{- $OpenSSL::safe::installdata::MODULESDIR_REL_LIBDIR[0] -} 19 Version: {- $OpenSSL::safe::installdata::VERSION -} 21 Libs.private: {- join(' ', @OpenSSL::safe::installdata::LDLIBS) -} [all …]
|
H A D | libssl.pc.in | 1 prefix={- $OpenSSL::safe::installdata::PREFIX[0] -} 3 libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) { 5 $x = '/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0] 6 if $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]; 9 $OpenSSL::safe::installdata::libdir[0]; 13 foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -} 17 Version: {- $OpenSSL::safe::installdata::VERSION -} 21 if (scalar @OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX > 1) { 24 foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX);
|
H A D | openssl.pc.in | 1 prefix={- $OpenSSL::safe::installdata::PREFIX[0] -} 3 libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) { 5 $x = '/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0] 6 if $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]; 9 $OpenSSL::safe::installdata::libdir[0]; 13 foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -} 17 Version: {- $OpenSSL::safe::installdata::VERSION -}
|
/freebsd/crypto/openssl/doc/ |
H A D | perlvars.pm | 14 $OpenSSL::safe::opt_v_synopsis = "" 45 $OpenSSL::safe::opt_v_item = "" 60 $OpenSSL::safe::opt_x_synopsis = "" 67 $OpenSSL::safe::opt_x_item = "" 76 $OpenSSL::safe::opt_name_synopsis = "" 78 $OpenSSL::safe::opt_name_item = "" 85 $OpenSSL::safe::opt_r_synopsis = "" 88 $OpenSSL::safe::opt_r_item = "" 94 $OpenSSL::safe::opt_provider_synopsis = "" 99 $OpenSSL::safe::opt_provider_item = "" [all …]
|
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | EVP_PKEY-DH.7 | 69 parameters can be used: "safe" domain parameters that are associated with 70 approved named safe-prime groups, and a class of "FIPS186\-type" domain 73 approved safe-prime groups. 90 Sets or gets a string that associates a \fBDH\fR or \fBDHX\fR named safe prime group 114 Used for DH generation of safe primes using the old safe prime generator code. 116 It is recommended to use a named safe prime group instead, if domain parameter 119 Randomly generated safe primes are not allowed by FIPS, so setting this value 120 for the OpenSSL FIPS provider will instead choose a named safe prime group 142 This specifies that a named safe prime name will be chosen using the "pbits" 146 A safe prime generator. See the "safeprime-generator" type above. [all …]
|
H A D | openssl-threads.7 | 67 In this man page, we use the term \fBthread-safe\fR to indicate that an 76 all OpenSSL objects are thread-safe. 77 To emphasize: \fImost objects are not safe for simultaneous use\fR. 103 Get methods are often thread-safe as long as the ownership requirements are 105 Set methods, or modifying shared objects, are generally not thread-safe 108 Objects are thread-safe 121 In all cases, however, it is generally not safe for one thread to 142 not safe to modify the factory object after it has been used to create
|
/freebsd/share/man/man4/ |
H A D | safe.4 | 32 .Nm safe 41 .Cd "device safe" 54 .Cd hw.safe.debug 55 .Cd hw.safe.dump 56 .Cd hw.safe.rnginterval 57 .Cd hw.safe.rngbufsize 58 .Cd hw.safe.rngmaxalarm 83 .Va hw.safe.rnginterval 85 .Va hw.safe.rngbufsize 88 .Va hw.safe.rngmaxalarm [all …]
|
/freebsd/sys/dev/qat/qat_api/qat_utils/include/ |
H A D | qat_utils.h | 163 * @li IRQ safe: yes 181 * @li IRQ safe: yes 199 * @li IRQ safe: yes 217 * @li IRQ safe: yes 233 * @li IRQ safe: yes 249 * @li IRQ safe: yes 269 * @li IRQ safe: no 288 * @li IRQ safe: no 304 * @li IRQ safe: yes 321 * @li IRQ safe: yes [all …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_PKEY-DH.pod | 11 parameters can be used: "safe" domain parameters that are associated with 12 approved named safe-prime groups, and a class of "FIPS186-type" domain 15 approved safe-prime groups. 36 Sets or gets a string that associates a B<DH> or B<DHX> named safe prime group 70 Used for DH generation of safe primes using the old safe prime generator code. 72 It is recommended to use a named safe prime group instead, if domain parameter 75 Randomly generated safe primes are not allowed by FIPS, so setting this value 76 for the OpenSSL FIPS provider will instead choose a named safe prime group 105 This specifies that a named safe prime name will be chosen using the "pbits" 110 A safe prime generator. See the "safeprime-generator" type above. [all …]
|
H A D | openssl-threads.pod | 9 In this man page, we use the term B<thread-safe> to indicate that an 18 all OpenSSL objects are thread-safe. 19 To emphasize: I<most objects are not safe for simultaneous use>. 45 Get methods are often thread-safe as long as the ownership requirements are 47 Set methods, or modifying shared objects, are generally not thread-safe 50 Objects are thread-safe 63 In all cases, however, it is generally not safe for one thread to 84 not safe to modify the factory object after it has been used to create
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-srp.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 23 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_r_synopsis -} 24 {- $OpenSSL::safe::opt_provider_synopsis -} 25 {- $OpenSSL::safe::opt_config_synopsis -} 93 {- $OpenSSL::safe::opt_engine_item -} 95 {- $OpenSSL::safe::opt_r_item -} 97 {- $OpenSSL::safe::opt_provider_item -} 99 {- $OpenSSL::safe::opt_config_item -} 101 {- $OpenSSL::safe::opt_r_synopsis -}
|
H A D | openssl-verify.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 19 {- $OpenSSL::safe::opt_name_synopsis -} 20 {- $OpenSSL::safe::opt_trust_synopsis -} 21 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_v_synopsis -} 22 {- $OpenSSL::safe::opt_provider_synopsis -} 78 {- $OpenSSL::safe::opt_name_item -} 80 {- $OpenSSL::safe::opt_engine_item -} 87 {- $OpenSSL::safe::opt_trust_item -} 89 {- $OpenSSL::safe::opt_v_item -} 91 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-dhparam.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 25 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_r_synopsis -} 26 {- $OpenSSL::safe::opt_provider_synopsis -} 34 a key using a named safe prime group without generating intermediate 67 they are converted to DH format. Otherwise, safe primes (such 104 {- $OpenSSL::safe::opt_engine_item -} 106 {- $OpenSSL::safe::opt_r_item -} 108 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-rand.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 15 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_r_synopsis -} 16 {- $OpenSSL::safe::opt_provider_synopsis -} 58 {- $OpenSSL::safe::opt_engine_item -} 60 {- $OpenSSL::safe::opt_r_item -} 62 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-prime.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 15 [B<-safe>] 16 {- $OpenSSL::safe::opt_provider_synopsis -} 48 =item B<-safe> 50 When used with B<-generate>, generates a "safe" prime. If the number 53 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-gendsa.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 28 {- $OpenSSL::safe::opt_r_synopsis -} 29 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} 72 {- $OpenSSL::safe::opt_r_item -} 74 {- $OpenSSL::safe::opt_engine_item -} 82 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-dsaparam.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 21 {- $OpenSSL::safe::opt_r_synopsis -} 22 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} 91 {- $OpenSSL::safe::opt_r_item -} 93 {- $OpenSSL::safe::opt_engine_item -} 107 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-genrsa.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 33 {- $OpenSSL::safe::opt_r_synopsis -} 34 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} 91 {- $OpenSSL::safe::opt_r_item -} 93 {- $OpenSSL::safe::opt_engine_item -} 95 {- $OpenSSL::safe::opt_provider_item -}
|
H A D | openssl-crl.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 31 {- $OpenSSL::safe::opt_name_synopsis -} 32 {- $OpenSSL::safe::opt_trust_synopsis -} 33 {- $OpenSSL::safe::opt_provider_synopsis -} 137 {- $OpenSSL::safe::opt_name_item -} 139 {- $OpenSSL::safe::opt_trust_item -} 141 {- $OpenSSL::safe::opt_provider_item -}
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_prime.c | 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, 24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, 123 int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe, in BN_generate_prime_ex2() argument 137 } else if (add == NULL && safe && bits < 6 && bits != 3) { in BN_generate_prime_ex2() 139 * The smallest safe prime (7) is three bits. in BN_generate_prime_ex2() 140 * But the following two safe primes with less than 6 bits (11, 23) in BN_generate_prime_ex2() 158 if (!probable_prime(ret, bits, safe, mods, ctx)) in BN_generate_prime_ex2() 161 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2() 169 if (!safe) { in BN_generate_prime_ex2() 177 * for "safe prime" generation, check that (p-1)/2 is prime. Since a in BN_generate_prime_ex2() [all …]
|
/freebsd/crypto/openssl/exporters/cmake/ |
H A D | OpenSSLConfig.cmake.in | 92 # For each component in $OpenSSL::safe::installdata::CMAKECONFIGDIR[0] relative to 93 # $OpenSSL::safe::installdata::PREFIX[0], have CMake figure out the parent directory. 94 my $d = join('/', unixify(catdir($OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0], 95 $OpenSSL::safe::installdata::CMAKECONFIGDIR_REL_LIBDIR[0]), 1)); 132 set(OPENSSL_LIBRARY_DIR "${_ossl_prefix}/{- unixify($OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[… 135 foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -}) 136 …R "${_ossl_prefix}/{- unixify($OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0], 1); -}/{- unixify… 137 …R "${_ossl_prefix}/{- unixify($OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0], 1); -}/{- unixify… 138 set(OPENSSL_RUNTIME_DIR "${_ossl_prefix}/{- unixify($OpenSSL::safe::installdata::BINDIR_REL_PREFIX[… 140 set(OPENSSL_APPLINK_SOURCE "${_ossl_prefix}/{- unixify($OpenSSL::safe::installdata::APPLINKDIR_REL_… [all …]
|