/freebsd/crypto/openssl/test/recipes/ |
H A D | 25-test_req.t | 2 # Copyright 2015-2024 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.pem", 40 "-key", srctop_file("test", "certs", "ee-key.pem"), 41 "-config", srctop_fil [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 | 03-test_fipsinstall.t | 2 # Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. 29 my $infile = bldtop_file('providers', platform->dso('fips')); 30 my $fipskey = $ENV{FIPSKEY} // config('FIPSKEY') // '00'; 31 my $provconf = srctop_file("test", "fips-and-base.cnf"); 33 run(test(["fips_version_test", "-config", $provconf, "<3.4.0"]), 87 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', 88 '-provider_name', 'fips', 89 '-macopt', 'digest:SHA256', '-macopt', "hexkey:$fipskey", 90 '-section_name', 'fips_sect'])), 94 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile, [all …]
|
H A D | 80-test_ssl_old.t | 2 # Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved. 41 my $digest = "-sha1"; 48 my $cnf = srctop_file("test", "ca-and-certs.cnf"); 49 my $CAkey = srctop_file("test", "certs", "ca-key.pem"); # "keyCA.ss" 54 my $Ukey = srctop_file("test", "certs", "ee-key.pem"); # "keyU.ss"; 65 my $P1key= srctop_file("test", "certs", "alt1-key.pem"); # "keyP1.ss"; 69 my $P2key= srctop_file("test", "certs", "alt2-key.pem"); # "keyP2.ss"; 79 # new format in ssl_test.c and add recipes to 80-test_ssl_new.t instead. 98 note('test_ssl_old -- key U'); 99 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-2021 The OpenSSL Project Authors. All Rights Reserved. 23 my $cnf = srctop_file("test","ca-and-certs.cnf"); 25 . srctop_file("apps", $^O eq "VMS" ? "openssl-vms.cnf" : "openssl.cnf") 31 SKIP: { 32 my $cakey = srctop_file("test", "certs", "ca-key.pem"); 33 $ENV{OPENSSL_CONFIG} = qq(-config "$cnf"); 34 skip "failed creating CA structure", 4 35 if !ok(run(perlapp(["CA.pl","-newca", 36 "-extra-req", "-key $cakey"], stdin => undef)), 39 my $eekey = srctop_file("test", "certs", "ee-key.pem"); [all …]
|
H A D | 30-test_evp.t | 2 # Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved. 31 # Default config depends on if the legacy module is built or not 32 my $defaultcnf = $no_legacy ? 'default.cnf' : 'default-and-legacy.cnf'; 35 # Only add the FIPS config if the FIPS module has been built 36 push @configs, 'fips-and-base.cnf' unless $no_fips; 132 "-config", $conf, 134 "running evp_test -config $conf $f"); 141 "-config", $conf, 143 "running evp_test -config $conf $f"); 157 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} ); [all …]
|
/freebsd/crypto/openssl/ |
H A D | Configure | 2 # -*- mode: perl; -*- 3 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. 10 ## Configure -- OpenSSL source tree configuration script 14 use Config; 23 use OpenSSL::config; 30 …-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[n… 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/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/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 | 35 .Op Fl c Ar config-file 49 .Bl -tag -width ".Fl c Ar config-file" -offset indent 51 Skip the install stages (both for kernel and world). 53 Skip the build stages (both for kernel and world). 54 .It Fl c Ar config-file 57 Skip the code slice extraction. 63 Skip the disk image build stage. 65 Skip the 69 Skip the 76 stage and adds -DNO_CLEAN to the make command line [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 locking, locking is handled by the caller. 182 * @param nolock: Skip locking, locking is handled by the caller. [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 locking, locking is handled by the caller. [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/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/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 …]
|
H A D | pt_sync.c | 2 * Copyright (c) 2013-2019, Intel Corporation 33 #include "intel-pt.h" 36 /* A psb packet contains a unique 2-byte repeating pattern. 59 return truncate(pointer + alignment - 1, alignment); in align() 68 const struct pt_config *config) in pt_find_psb() argument 73 if (!pos || !config) in pt_find_psb() 76 begin = config->begin; in pt_find_psb() 77 end = config->end; in pt_find_psb() 103 pos -= ptps_psb; in pt_find_psb() 113 errcode = pt_pkt_read_psb(pos, config); in pt_find_psb() [all …]
|
/freebsd/contrib/kyua/admin/ |
H A D | check-api-docs.awk | 34 # Skip empty lines. 37 # Skip lines that do not directly reference a file. 41 # well-documented in the code but Doxygen fails, for some reason or another, to 48 /utils\/config\/nodes\.hpp.*Member set_lua\(lutok::state &, const int\)/ {next} 49 /utils\/config\/nodes\.hpp.*Member push_lua\(lutok::state &\)/ {next} 50 /utils\/config\/nodes\.hpp.*Member set_string\(const std::string &\)/ {next} 51 /utils\/config\/nodes\.hpp.*Member to_string\(void\)/ {next} 52 /utils\/config\/nodes\.hpp.*Member is_set\(void\)/ {next}
|
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/ |
H A D | test-runner.py.in | 68 return t.tv_sec + t.tv_nsec * 1e-9 73 runresults = {'PASS': 0, 'FAIL': 0, 'SKIP': 0, 'KILLED': 0, 'RERAN': 0} 89 m, s = divmod(monotonic_time() - self.starttime, 60) 104 self.result = 'SKIP' 105 Result.runresults['SKIP'] += 1 167 The timeout for tests is measured in wall-clock time 194 signal = '-TERM' 207 If this is not a user-initiated kill and the test has not been 213 runtime = monotonic_time() - self.result.starttime 241 ret = '%s -E -u %s %s' % (SUDO, user, cmd) [all …]
|
/freebsd/contrib/dma/ |
H A D | net.c | 2 * Copyright (c) 2008-2014, Simon Schubert <2@0x2c.org>. 87 s = vsnprintf(cmd, sizeof(cmd) - 2, fmt, va); in send_remote_command() 89 if (s == sizeof(cmd) - 2 || s < 0) { in send_remote_command() 91 return (-1); in send_remote_command() 100 if (((config.features & SECURETRANSFER) != 0) && in send_remote_command() 101 ((config.features & NOSSL) == 0)) { in send_remote_command() 102 if ((n = SSL_write(config.ssl, (const char*)(cmd + pos), len - pos)) <= 0) { in send_remote_command() 103 s = SSL_get_error(config.ssl, n); in send_remote_command() 108 return (-1); in send_remote_command() 113 n = write(fd, cmd + pos, len - pos); in send_remote_command() [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_elide.h | 2 * Copyright 2013-2015 Samy Al Bahra. 33 * non-TSO architectures with TM support. 41 * skip_-prefixed counters represent the number of consecutive 42 * elisions to forfeit. retry_-prefixed counters represent the 70 unsigned short skip; member 100 st->n_fallback++; in _ck_elide_fallback() 104 if (st->skip != 0) in _ck_elide_fallback() 109 st->skip = c->skip_busy; in _ck_elide_fallback() 110 *retry = c->retry_busy; in _ck_elide_fallback() 114 st->skip = c->skip_other; in _ck_elide_fallback() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF_riscv.cpp | 1 //===------- ELF_riscv.cpp -JIT linker implementation for ELF/riscv -------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // ELF/riscv jit-link implementation. 11 //===----------------------------------------------------------------------===// 137 return (Num & (((1ULL << Size) - 1) << Low)) >> Low; in extractBits() 141 return (Value & (N - 1)) ? false : true; in isAlignmentCorrect() 166 for (Edge &E : B->edges()) in gatherRISCVPCRelHi20() 186 return *It->second; in getRISCVPCRelHi20() 211 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() [all …]
|