| /freebsd/crypto/openssl/crypto/sha/asm/ |
| H A D | keccak1600-c64x.pl | 2 # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 16 # [ABI- and endian-neutral] Keccak-1600 for C64x. 21 # with bit interleaving. 64-bit values are simply split between A- and 22 # B-files, with A-file holding least significant halves. This works 23 # out perfectly, because all operations including cross-communications 25 # [incredible for a 32-bit processor] 10.9 cycles per processed byte 26 # for r=1088, which corresponds to SHA3-256. This is >15x faster than 27 # compiler-generated KECCAK_1X_ALT code, and >10x than other variants. 30 my @A = map([ $_, ($_+1), ($_+2), ($_+3), ($_+4) ], (5,10,16,21,26)); [all …]
|
| H A D | keccak1600-ppc64.pl | 2 # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 16 # Keccak-1600 for PPC64. 21 # *any* PPC64. Then PowerISA 2.07 adds 2x64-bit vector rotate, and 35 # (*) Corresponds to SHA3-256. Percentage after slash is improvement 36 # over gcc-4.x-generated KECCAK_1X_ALT code. Newer compilers do 40 # $output is the last argument if it looks like a file (it has an extension) 41 # $flavour is the first argument if it doesn't look like a file 47 $LRSAVE =2*$SIZE_T; 65 ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or [all …]
|
| H A D | keccak1600-armv8.pl | 2 # Copyright 2017-2025 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 16 # Keccak-1600 for ARMv8. 22 # 64-bit lanes of vector registers can't be addressed as easily as in 23 # 32-bit mode. This means that 64-bit NEON is bound to be slower than 24 # 32-bit NEON, and this implementation is faster than 32-bit NEON on 31 # Add hardware-assisted ARMv8.2 implementation. It's KECCAK_1X_ALT 36 # support [yet?]. But lowest-level core procedure is prepared for it. 47 # Cortex-A53 13 48 # Cortex-A57 12 [all …]
|
| H A D | keccak1600-armv4.pl | 2 # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 16 # Keccak-1600 for ARMv4. 20 # Non-NEON code is KECCAK_1X variant (see sha/keccak1600.c) with bit 22 # fast, but several times smaller, and is endian- and ISA-neutral. ISA 24 # be assembled even as Thumb-2. NEON code path is KECCAK_1X_ALT with 26 # in fact faster by 10-15% on some processors, and endian-neutral. 30 # Switch to KECCAK_2X variant for non-NEON code and merge almost 1/2 33 # minimizes re-loads from temporary storage, and merged rotates just 39 # e.g. 'eor a,b>>>x,c>>>y'. This conundrum is resolved by using [all …]
|
| H A D | keccak1600-s390x.pl | 2 # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 16 # Keccak-1600 for s390x. 22 # instead of actually unrolling the loop pair-wise I simply flip 23 # pointers to T[][] and A[][] at the end of round. Since number of 24 # rounds is even, last round writes to A[][] and everything works out. 31 # faster than compiler-generated code. 33 # $output is the last argument if it looks like a file (it has an extension) 34 # $flavour is the first argument if it doesn't look like a file 48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); [all …]
|
| /freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
| H A D | bnshift.txt | 4 # this file except in compliance with the License. You can obtain a copy 8 # These test vectors satisfy A * 2 = LShift1 13 A = 0 16 A = 988b0905e52efb2709f98a12a 18 LShift1 = -13116120bca5df64e13f314254 19 A = -988b0905e52efb2709f98a12a 22 A = 13116120bca5df64e13f314254 24 LShift1 = -2622c241794bbec9c27e6284a8 25 A = -13116120bca5df64e13f314254 28 A = 2622c241794bbec9c27e6284a8 [all …]
|
| H A D | bngcd.txt | 1 # Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. 4 # this file except in compliance with the License. You can obtain a copy 10 # These test vectors satisfy gcd(A, B) = GCD. 13 A = 0 18 A = 1 23 A = 1 27 # gcd(0,a) = a 28 A = 0 32 # gcd(-a,0) = |a| 33 A = -231f16458c487346cf50a17beec83632f25d19abeea1097c746533cd3e35207b7efd75dc3e9c663a64b6861e88579d… [all …]
|
| /freebsd/crypto/openssh/regress/unittests/utf8/ |
| H A D | tests.c | 29 ASSERT_INT_EQ(len, -1); in badarg() 43 if (wantlen == -2) in one() 48 wp = wantwidth == -2 ? NULL : &width; in one() 62 loc = setlocale(LC_CTYPE, "en_US.UTF-8"); in tests() 67 one(1, "empty", "", 2, 0, 0, ""); in tests() 68 one(1, "ascii", "x", -2, -2, -2, "x"); in tests() 69 one(1, "newline", "a\nb", -2, -2, -2, "a\nb"); in tests() 70 one(1, "cr", "a\rb", -2, -2, -2, "a\rb"); in tests() 71 one(1, "tab", "a\tb", -2, -2, -2, "a\tb"); in tests() 72 one(1, "esc", "\033x", -2, -2, -2, "\\033x"); in tests() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/regex/data/att/ |
| H A D | categorization.dat | 1 NOTE regex implementation categorization 2004-05-31 3 ?E aa* xaxaax (1,2) POSITION=leftmost 6 ?E (a*)(ab)*(b*) abc (0,2)(0,1)(?,?)(1,2) ASSOCIATIVITY=right 7 |E (a*)(ab)*(b*) abc (0,2)(0,0)(0,2)(2,2) ASSOCIATIVITY=left 10 ?E ((a*)(ab)*)((b*)(a*)) aba (0,3)(0,2)(0,0)(0,2)(2,3)(2,2)(2,3) SUBEXPRESSION=precedence 11 |E ((a*)(ab)*)((b*)(a*)) aba (0,3)(0,1)(0,1)(?,?)(1,3)(1,2)(2,3) SUBEXPRESSION=grouping 15 |E (...?.?)* xxxxxx (0,6)(2,6) REPEAT_LONGEST=last 19 ?E (a|ab)(bc|c) abcabc (0,3)(0,2)(2,3) EXPECTED 20 |E (a|ab)(bc|c) abcabc (0,3)(0,1)(1,3) BUG=alternation-order 21 ; BUG=alternation-order-UNKNOWN [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 1 --SPDX-License-Identifier: MIT 2 --[[ 3 --***************************************************************************** 4 --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. 5 --* 6 --* Permission is hereby granted, free of charge, to any person obtaining 7 --* a copy of this software and associated documentation files (the 8 --* "Software"), to deal in the Software without restriction, including 9 --* without limitation the rights to use, copy, modify, merge, publish, 10 --* distribute, sublicense, and/or sell copies of the Software, and to [all …]
|
| H A D | tst.lib_base.lua | 1 --SPDX-License-Identifier: MIT 2 --[[ 3 --***************************************************************************** 4 --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. 5 --* 6 --* Permission is hereby granted, free of charge, to any person obtaining 7 --* a copy of this software and associated documentation files (the 8 --* "Software"), to deal in the Software without restriction, including 9 --* without limitation the rights to use, copy, modify, merge, publish, 10 --* distribute, sublicense, and/or sell copies of the Software, and to [all …]
|
| /freebsd/lib/libsys/ |
| H A D | socket.2 | 9 .\" 2. Redistributions in binary form must reproduce the above copyright 18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 44 creates an endpoint for communication and returns a descriptor. 48 argument specifies a communications domain within which 55 .Bd -literal -offset indent -compact 56 PF_LOCAL Host-internal protocols (alias for PF_UNIX), 57 PF_UNIX Host-internal protocols, 60 PF_DIVERT Firewall packet diversion/re-injection, 62 PF_KEY Internal key-management function, 85 .Bd -literal -offset indent -compact [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | avxvnniint16intrin.h | 1 /*===----------- avxvnniint16intrin.h - AVXVNNIINT16 intrinsics-------------=== 5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 *===-----------------------------------------------------------------------=== 26 /// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with 27 /// corresponding unsigned 16-bit integers in \a __B, producing 2 intermediate 28 /// signed 16-bit results. Sum these 2 results with the corresponding 29 /// 32-bit integer in \a __W, and store the packed 32-bit results in \a dst. 40 /// A 128-bit vector of [4 x int]. 42 /// A 128-bit vector of [8 x short]. 44 /// A 128-bit vector of [8 x unsigned short]. [all …]
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_sqrt.c | 2 * Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 13 BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) in BN_mod_sqrt() argument 15 * Returns 'ret' such that ret^2 == a (mod p), using the Tonelli/Shanks in BN_mod_sqrt() 16 * algorithm (cf. Henri Cohen, "A Course in Algebraic Computational Number in BN_mod_sqrt() 24 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local 29 if (BN_abs_is_word(p, 2)) { in BN_mod_sqrt() 34 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) { in BN_mod_sqrt() 47 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 52 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt() [all …]
|
| /freebsd/contrib/one-true-awk/testdir/ |
| H A D | T.expr | 5 awk=${awk-../a.out} 10 awk = "../a.out" 20 prog = sprintf("%s -F\"\\t\" '"'"'%s'"'"'", awk, prog) 24 if (NF == 0) # blank line terminates a sequence 27 for (i = 2; i < NF; i++) # input data 51 # $1 $2 $3 output1 (\t for tab, \n for newline, 52 # $1 $2 $3 output2 ("" for null) 62 10E-1 yes 65 10E-2 no 69 2 2 [all …]
|
| /freebsd/bin/sh/tests/parameters/ |
| H A D | positional2.0 | 7 expected="$2" 21 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 22 testcase 'set -- a b; set -- $@q' '2|a|bq' 23 testcase 'set -- a b; set -- p$@' '2|pa|b' 24 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 25 testcase 'set -- a b; set -- $@q' '2|a|bq' 26 testcase 'set -- a b; set -- p$@' '2|pa|b' 27 testcase 'set -- a b; set -- p$*q' '2|pa|bq' 28 testcase 'set -- a b; set -- $*q' '2|a|bq' 29 testcase 'set -- a b; set -- p$*' '2|pa|b' [all …]
|
| /freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
| H A D | cert-onecolumn.pem | 1 -----BEGIN CERTIFICATE----- 10 A 28 A 42 A 46 A 50 A 63 A 95 2 114 a 119 2 [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/ |
| H A D | pow_log_data.c | 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 13 .ln2hi = 0x1.62e42fefa3800p-1, 14 .ln2lo = 0x1.ef35793c76730p-45, 17 // relative error: 0x1.11922ap-70 18 // in -0x1.6bp-8 0x1.6bp-8 20 -0x1p-1, 21 0x1.555555555556p-2 * -2, 22 -0x1.0000000000006p-2 * -2, 23 0x1.999999959554ep-3 * 4, 24 -0x1.555555529a47ap-3 * 4, [all …]
|
| /freebsd/share/doc/usd/11.vitut/ |
| H A D | edittut.ms | 9 .\" 2. Redistributions in binary form must reproduce the above copyright 22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 34 .EH 'USD:11-%''Edit: A Tutorial' 35 .OH 'Edit: A Tutorial''USD:11-%' 41 \f3\s+2Edit: A Tutorial\s0\f1 64 Its aim is to lead the beginning \s-2UNIX\(dg\s+2 user through the 66 \(dgUNIX is a trademark of Bell Laboratories. 68 fundamental steps of writing and revising a file of text. 70 a version of the text editor 76 and the \s-2UNIX\s+2 documentation in general. [all …]
|
| /freebsd/contrib/bearssl/src/ec/ |
| H A D | ec_p256_m15.c | 5 * a copy of this software and associated documentation files (the 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 29 * that right-shifting a signed negative integer copies the sign bit 30 * (arithmetic right-shift). This is "implementation-defined behaviour", 39 | ((-((uint32_t)(x) >> 31)) << (32 - (n)))) 45 * Convert an integer from unsigned big-endian encoding to a sequence of 46 * 13-bit words in little-endian order. The final "partial" word is 57 while (len -- > 0) { in be8_to_le13() 63 acc_len -= 13; in be8_to_le13() 70 * Convert an integer (13-bit words, little-endian) to unsigned [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/icelake/ |
| H A D | frontend.json | 3 … number when the front end is resteered, mainly when the BPU cannot provide a correct prediction a… 4 "CollectPEBSRecord": "2", 5 "Counter": "0,1,2,3", 8 "PEBScounters": "0,1,2,3", 9 …number of times the front-end is resteered when it finds a branch instruction in a fetch line. Thi… 15 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 16 "CollectPEBSRecord": "2", 17 "Counter": "0,1,2,3", 22 "PEBScounters": "0,1,2,3", 23 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/tigerlake/ |
| H A D | frontend.json | 3 … number when the front end is resteered, mainly when the BPU cannot provide a correct prediction a… 4 "CollectPEBSRecord": "2", 5 "Counter": "0,1,2,3", 8 "PEBScounters": "0,1,2,3", 9 …number of times the front-end is resteered when it finds a branch instruction in a fetch line. Thi… 14 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 15 "CollectPEBSRecord": "2", 16 "Counter": "0,1,2,3", 21 "PEBScounters": "0,1,2,3", 22 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/ |
| H A D | frontend.json | 3 … number when the front end is resteered, mainly when the BPU cannot provide a correct prediction a… 4 "CollectPEBSRecord": "2", 5 "Counter": "0,1,2,3", 8 "PEBScounters": "0,1,2,3", 9 …number of times the front-end is resteered when it finds a branch instruction in a fetch line. Thi… 15 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 16 "CollectPEBSRecord": "2", 17 "Counter": "0,1,2,3", 22 "PEBScounters": "0,1,2,3", 23 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… [all …]
|
| /freebsd/tests/sys/netinet6/ |
| H A D | lpm6.sh | 1 #!/usr/bin/env atf-sh 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 12 # 2. Redistributions in binary form must reproduce the above copyright 18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 lo_dst="$2" 39 vnet_mkjail ${jname}a ${epair0}a ${epair1}a ${lo_src} 40 # enable link-local IPv6 41 jexec ${jname}a ndp -i ${epair0}a -- -disabled 42 jexec ${jname}a ifconfig ${epair0}a up [all …]
|
| /freebsd/share/man/man4/ |
| H A D | unix.4 | 9 .\" 2. Redistributions in binary form must reproduce the above copyright 18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 33 .Nd UNIX-domain protocol family 39 .Ux Ns -domain 40 protocol family is a collection of protocols 41 that provides local (on-machine) interprocess 43 .Xr socket 2 46 .Ux Ns -domain 55 .Ux Ns -domain 56 addresses are variable-length file system pathnames of [all …]
|