| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 30-test_pairwise_fail.t | 2 # Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved. 26 my $provconf = srctop_file("test", "fips-and-base.cnf"); 28 run(test(["fips_version_test", "-config", $provconf, ">=3.1.0"]), 31 SKIP: { 32 skip "Skip RSA test because of no rsa in this build", 1 34 ok(run(test(["pairwise_fail_test", "-config", $provconf, 35 "-pairwise", "rsa"])), 39 SKIP: { 40 skip "Skip EC test because of no ec in this build", 2 42 ok(run(test(["pairwise_fail_test", "-config", $provconf, [all …]
|
| H A D | 03-test_fipsinstall.t | 2 # Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 41 ( 'ems_check', 'tls1-prf-ems-check' ), 42 ( 'no_short_mac', 'no-short-mac' ), 43 ( 'no_drbg_truncated_digests', 'drbg-no-trunc-md' ), 44 ( 'signature_digest_check', 'signature-digest-check' ), 45 ( 'hkdf_digest_check', 'hkdf-digest-check' ), 46 ( 'tls13_kdf_digest_check', 'tls13-kdf-digest-check' ), 47 ( 'tls1_prf_digest_check', 'tls1-prf-digest-check' ), 48 ( 'sshkdf_digest_check', 'sshkdf-digest-check' ), 49 ( 'sskdf_digest_check', 'sskdf-digest-check' ), [all …]
|
| H A D | 25-test_req.t | 2 # Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved. 27 @req_new = ("-newkey", "dsa:".srctop_file("apps", "dsa512.pem")); 29 @req_new = ("-new"); 38 # Check for duplicate -addext parameters, and one "working" case. 39 my @addext_args = ( "openssl", "req", "-new", "-out", "testreq-addexts.pem", 40 "-key", srctop_file(@certs, "ee-key.pem"), 41 "-config", srctop_file("test", "test.cnf"), @req_new ); 47 ok( run(app([@addext_args, "-addext", $val]))); 48 ok( run(app([@addext_args, "-addext", $val1]))); 50 ok(!run(app([@addext_args, "-addext", $val1]))); [all …]
|
| H A D | 25-test_verify_store.t | 2 # Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 20 my $cakey = srctop_file("test", "certs", "ca-key.pem"); 21 my $ukey = srctop_file("test", "certs", "ee-key.pem"); 23 my $cnf = srctop_file("test", "ca-and-certs.cnf"); 33 SKIP: { 35 qw(-new -section userreq), 36 -config => $cnf, 37 -out => $CAreq, 38 -key => $cakey, 39 -keyout => $CAkey ); [all …]
|
| H A D | 80-test_ssl_old.t | 2 # Copyright 2015-2024 The OpenSSL Project Authors. All Rights Reserved. 42 my $digest = "-sha1"; 49 my $cnf = srctop_file("test", "ca-and-certs.cnf"); 50 my $CAkey = srctop_file("test", "certs", "ca-key.pem"); # "keyCA.ss" 55 my $Ukey = srctop_file("test", "certs", "ee-key.pem"); # "keyU.ss"; 66 my $P1key= srctop_file("test", "certs", "alt1-key.pem"); # "keyP1.ss"; 70 my $P2key= srctop_file("test", "certs", "alt2-key.pem"); # "keyP2.ss"; 80 # new format in ssl_test.c and add recipes to 80-test_ssl_new.t instead. 100 note('test_ssl_old -- key U'); 101 my $configfile = srctop_file("test","default-and-legacy.cnf"); [all …]
|
| H A D | 80-test_tsa.t | 2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. 30 my @QUERY = ("openssl", "ts", "-query"); 32 my @VERIFY = ("openssl", "ts", "-verify"); 40 ok(run(app(["openssl", "req", "-config", $openssl_conf, "-new", 41 "-out", "tsa_req${INDEX}.pem", 42 "-key", srctop_file("test", "certs", "alt${INDEX}-key.pem"), 43 "-keyout", "tsa_key${INDEX}.pem"]))); 45 ok(run(app(["openssl", "x509", "-req", 46 "-in", "tsa_req${INDEX}.pem", 47 "-out", "tsa_cert${INDEX}.pem", [all …]
|
| H A D | 80-test_ca.t | 2 # Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved. 23 my $cnf = srctop_file("test","ca-and-certs.cnf"); 24 my $std_openssl_cnf = srctop_file("apps", $^O eq "VMS" ? "openssl-vms.cnf" : "openssl.cnf"); 36 SKIP: { 37 my $cakey = src_file("ca-key.pem"); 38 $ENV{OPENSSL_CONFIG} = qq(-config "$cnf"); 39 skip "failed creating CA structure", 4 40 if !ok(run(perlapp(["CA.pl","-newca", 41 "-extra-req", qq{-key "$cakey"}], stdin => undef)), 44 my $eekey = src_file("ee-key.pem"); [all …]
|
| H A D | 04-test_encoder_decoder.t | 2 # Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved. 25 my $rsa_key = srctop_file("test", "certs", "ee-key.pem"); 26 my $pss_key = srctop_file("test", "certs", "ca-pss-key.pem"); 37 open(my $in, $file) or return -1; 48 ok(run(test(["endecode_test", "-rsa", $rsa_key, 49 "-pss", $pss_key, 50 "-config", $conf, 51 "-provider", "default"]))); 53 # Run with non-default library context 54 ok(run(test(["endecode_test", "-rsa", $rsa_key, [all …]
|
| H A D | 30-test_evp.t | 2 # Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved. 27 my $no_slh_dsa = disabled("slh-dsa"); 35 my $no_ml_dsa = disabled("ml-dsa"); 36 my $no_ml_kem = disabled("ml-kem"); 38 # Default config depends on if the legacy module is built or not 39 my $defaultcnf = $no_legacy ? 'default.cnf' : 'default-and-legacy.cnf'; 42 # Only add the FIPS config if the FIPS module has been built 43 push @configs, 'fips-and-base.cnf' unless $no_fips; 185 "-config", $conf, 187 "running evp_test -config $conf $f"); [all …]
|
| H A D | 30-test_slh_dsa.t | 2 # Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 19 my $provconf = srctop_file("test", "fips-and-base.cnf"); 25 plan skip_all => 'SLH-DSA is not supported in this build' if disabled('slh-dsa'); 30 SKIP: { 31 skip "Skipping FIPS tests", 1 34 # SLH-DSA is only present after OpenSSL 3.5 35 run(test(["fips_version_test", "-config", $provconf, ">=3.5.0"]), 37 skip "FIPS provider version is too old for SLH_DSA test", 1 40 ok(run(test(["slh_dsa_test", "-config", $provconf])),
|
| H A D | 90-test_sslapi.t | 2 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 21 my $provconf = srctop_file("test", "fips-and-base.cnf"); 31 # A modified copy of "fips-and-base.cnf" 32 my $provconfnew = result_file("fips-and-base-temp.cnf"); 42 srctop_file("test", "recipes", "90-test_sslapi_data", 47 "90-test_sslapi_data", 51 "90-test_sslapi_data")])), 54 SKIP: { 55 skip "Skipping FIPS tests", 2 62 srctop_file("test", "recipes", "90-test_sslapi_data", [all …]
|
| /freebsd/crypto/openssl/ |
| H A D | Configure | 2 # -*- mode: perl; -*- 3 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 10 ## Configure -- OpenSSL source tree configuration script 14 use Config; 23 use OpenSSL::config; 30 …-<feature> ...] [enable-<feature> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [… 42 *** perl configdata.pm --dump *** 52 # --config add the given configuration file, which will be read after 55 # --prefix prefix for the OpenSSL installation, which includes the 59 # --openssldir OpenSSL data area, such as openssl.cnf, certificates and keys. [all …]
|
| /freebsd/sys/tools/syscalls/scripts/ |
| H A D | syscall_h.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 8 -- 10 -- Setup to be a module, or ran as its own script. 12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script. 14 -- Add library root to the package path. [all …]
|
| /freebsd/contrib/pam-krb5/tests/tap/perl/Test/RRA/ |
| H A D | Automake.pm | 7 # require closely following the conventions implemented by the rra-c-util 14 # SPDX-License-Identifier: MIT 27 use Test::RRA::Config qw($LIBRARY_PATH); 36 $PERL_BLIB_ARCH = File::Spec->catdir(qw(perl blib arch)); 37 $PERL_BLIB_LIB = File::Spec->catdir(qw(perl blib lib)); 41 my ($vol, $dirs) = File::Spec->splitpath($ENV{C_TAP_BUILD}, 1); 42 my @dirs = File::Spec->splitdir($dirs); 44 $PERL_BLIB_ARCH = File::Spec->catdir(@dirs, qw(perl blib arch)); 45 $PERL_BLIB_LIB = File::Spec->catdir(@dirs, qw(perl blib lib)); 57 # Set $VERSION and everything export-related in a BEGIN block for robustness [all …]
|
| /freebsd/contrib/pam-krb5/tests/module/ |
| H A D | fast-anon-t.c | 2 * Tests for anonymous FAST support in pam-krb5. 17 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 20 #include <config.h> 30 * skip the tests of anonymous FAST. 82 struct script_config config; in main() local 85 /* Skip the test if FAST is not available. */ in main() 92 memset(&config, 0, sizeof(config)); in main() 93 config.user = krbconf->username; in main() 94 config.authtok = krbconf->password; in main() 95 config.extra[0] = krbconf->userprinc; in main() [all …]
|
| /freebsd/contrib/lib9p/pytest/ |
| H A D | client.py | 32 self.config = None 49 In any case we return the now-connected client, plus the 90 # No session yet - establish one. Note, this may fail. 91 section = None if cid is None else ('client-' + cid) 92 aname = getconf(self.config, section, 'aname', '') 93 uname = getconf(self.config, section, 'uname', '') 95 n_uname = getint(self.config, section, 'n_uname', 1001) 156 "get integer config item" 160 "get float config item" 164 "get boolean config item" [all …]
|
| /freebsd/contrib/kyua/integration/ |
| H A D | cmd_test_test.sh | 41 simple_all_pass:pass -> passed [S.UUUs] 42 simple_all_pass:skip -> skipped: The reason for skipping is this [S.UUUs] 51 atf_check -s exit:0 -o file:expout -e empty kyua test 66 simple_some_fail:fail -> failed: This fails on purpose [S.UUUs] 67 simple_some_fail:pass -> passed [S.UUUs] 76 atf_check -s exit:1 -o file:expout -e empty kyua test 90 plain_test_program{name="fourth", required_files="/non-existent/foo"} 94 first:pass -> passed [S.UUUs] 95 first:skip -> skipped: The reason for skipping is this [S.UUUs] 96 fourth:main -> skipped: Required file '/non-existent/foo' not found [S.UUUs] [all …]
|
| /freebsd/sys/tools/syscalls/core/ |
| H A D | freebsd-syscall.lua | 1 -- 2 -- SPDX-License-Identifier: BSD-2-Clause 3 -- 4 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 5 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 6 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 7 -- 16 -- For each compat option in the provided config table, process them and insert 17 -- them into known_flags for class syscall. 19 for _, v in pairs(self.config.compat_options) do [all …]
|
| /freebsd/crypto/openssh/.github/ |
| H A D | configs | 11 config=$1 12 if [ "$config" = "" ]; then 13 config="default" 18 TEST_TARGET="tests compat-tests" 29 case "$config" in 34 # get it by setting -std=gnu99, at which point we won't be testing 36 llong_max=`gcc -E -dM - </dev/null | \ 38 CPPFLAGS="-DLLONG_MAX=${llong_max}" 41 CFLAGS="-Wall -std=c89 -pedantic -Werror=vla" 42 CONFIGFLAGS="--without-zlib" [all …]
|
| /freebsd/share/man/man8/ |
| H A D | nanobsd.8 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 37 .Op Fl c Ar config-file 51 .Bl -tag -width ".Fl c Ar config-file" -offset indent 53 Skip the install stages (both for kernel and world). 55 Skip the build stages (both for kernel and world). 56 .It Fl c Ar config-file 59 Skip the code slice extraction. 65 Skip the disk image build stage. 67 Skip the 71 Skip the [all …]
|
| /freebsd/contrib/unbound/iterator/ |
| H A D | iter_hints.h | 2 * iterator/iter_hints.h - iterative resolver module stub and root hints. 40 * Keep track of stub and root hints, and read those from config. 61 * first sorted on qclass. Then on dname in nsec-like order, so that 95 * Process hints config. Sets default values for root hints if no config. 97 * @param cfg: config options. 112 * @param nolock: Skip locking, locking is handled by the caller. 122 * @param nolock: Skip locking, locking is handled by the caller. 137 * @param nolock: Skip locking, locking is handled by the caller. 157 * @param nolock: Skip lockin [all...] |
| H A D | iter_fwd.h | 2 * iterator/iter_fwd.h - iterative resolver module forward zones. 40 * Keep track of forward zones, and read those from config. 61 * first sorted on qclass. Then on dname in nsec-like order, so that 83 * stub-zone with the same name exists, and should be used. 106 * Process forwards config. 108 * @param cfg: config options. 123 * @param nolock: Skip locking, locking is handled by the caller. 142 * @param nolock: Skip locking, locking is handled by the caller. 153 * @param nolock: Skip locking, locking is handled by the caller. 165 * @param nolock: Skip lockin [all...] |
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | libarchive_internals.3 | 1 .\" Copyright (c) 2003-2007 Tim Kientzle 40 opaque, object-style interface. 74 object, which holds all read-specific data. 92 In particular, the API layer drives the format-detection process: 107 A zero-length return does indicate end of file, but otherwise 111 The client skip callback returns the number of bytes actually 112 skipped, which may be much smaller than the skip requested. 113 The only requirement is that the skip not be larger. 115 skip that they don't want to handle. 116 The skip callbac [all...] |
| /freebsd/sys/dev/cesa/ |
| H A D | cesa.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2009-2011 Semihalf. 32 * +------------------------+ <= sc->sc_sram_base_va + CESA_SRAM_SIZE 36 * +------------------------+ <= sc->sc_sram_base_va + CESA_DATA(0) 38 * +------------------------+ 40 * +------------------------+ <= sc->sc_sram_base_va 90 { -1, 0 } 122 dev = sc->sc_dev; in cesa_dump_cshd() 124 device_printf(dev, "\t\tconfig: 0x%08X\n", cshd->cshd_config); in cesa_dump_cshd() [all …]
|
| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_query_decoder.c | 2 * Copyright (c) 2014-2019, Intel Corporation 38 #include "intel-pt.h" 63 return -pte_internal; in pt_qry_find_header_fup() 72 switch (packet->type) { in pt_qry_find_header_fup() 89 const struct pt_config *config) in pt_qry_decoder_init() argument 94 return -pte_invalid; in pt_qry_decoder_init() 98 errcode = pt_config_from_user(&decoder->config, config); in pt_qry_decoder_init() 102 pt_last_ip_init(&decoder->ip); in pt_qry_decoder_init() 103 pt_tnt_cache_init(&decoder->tnt); in pt_qry_decoder_init() 104 pt_time_init(&decoder->time); in pt_qry_decoder_init() [all …]
|