/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | keccak1600-c64x.pl | 30 my @A = map([ $_, ($_+1), ($_+2), ($_+3), ($_+4) ], (5,10,16,21,26)); 31 $A[1][4] = 31; # B14 is reserved, A14 is used as iota[] 32 ($A[3][0],$A[4][1]) = ($A[4][1],$A[3][0]); 33 my @C = (0..4,$A[3][0],$A[4][0]); 119 XOR A$A[0][2],A$A[1][2],A$C[2] ; Theta 120 || XOR B$A[0][2],B$A[1][2],B$C[2] 121 || XOR A$A[0][3],A$A[1][3],A$C[3] 122 || XOR B$A[0][3],B$A[1][3],B$C[3] 123 || XOR A$A[0][0],A$A[1][0],A$C[0] 124 || XOR B$A[0][0],B$A[1][0],B$C[0] [all …]
|
H A D | keccak1600-armv8.pl | 119 my @A = map([ "x$_", "x".($_+1), "x".($_+2), "x".($_+3), "x".($_+4) ], 121 $A[3][3] = "x25"; # x18 is reserved 136 eor $C[0],$A[0][0],$A[1][0] 137 stp $A[0][4],$A[1][4],[sp,#0] // offload pair... 138 eor $C[1],$A[0][1],$A[1][1] 139 eor $C[2],$A[0][2],$A[1][2] 140 eor $C[3],$A[0][3],$A[1][3] 142 $C[4]=$A[0][4]; 143 $C[5]=$A[1][4]; 145 eor $C[4],$A[0][4],$A[1][4] [all …]
|
H A D | keccak1600-ppc64.pl | 68 my @A = map([ "r$_", "r".($_+1), "r".($_+2), "r".($_+3), "r".($_+4) ], 70 $A[1][1] = "r6"; # r13 is reserved 91 xor $C[0],$A[0][0],$A[1][0] ; Theta 92 std $A[0][4],`$TEMP+0`($sp) 93 xor $C[1],$A[0][1],$A[1][1] 94 std $A[1][4],`$TEMP+8`($sp) 95 xor $C[2],$A[0][2],$A[1][2] 96 std $A[2][4],`$TEMP+16`($sp) 97 xor $C[3],$A[0][3],$A[1][3] 98 std $A[3][4],`$TEMP+24`($sp) [all …]
|
H A D | keccak1600-s390x.pl | 48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); 75 lg @C[0],$A[4][0]($src) 76 lg @C[1],$A[4][1]($src) 77 lg @C[2],$A[4][2]($src) 78 lg @C[3],$A[4][3]($src) 79 lg @C[4],$A[4][4]($src) 85 lg @D[0],$A[0][0]($src) 86 lg @D[1],$A[1][1]($src) 87 lg @D[2],$A[2][2]($src) 88 lg @D[3],$A[3][3]($src) [all …]
|
H A D | keccak1600-x86_64.pl | 69 my @A = map([ 8*$_-100, 8*($_+1)-100, 8*($_+2)-100, 90 mov $A[4][0](%rdi),@C[0] 91 mov $A[4][1](%rdi),@C[1] 92 mov $A[4][2](%rdi),@C[2] 93 mov $A[4][3](%rdi),@C[3] 94 mov $A[4][4](%rdi),@C[4] 99 mov $A[0][0](%rdi),@D[0] 100 mov $A[1][1](%rdi),@D[1] 101 mov $A[2][2](%rdi),@D[2] 102 mov $A[3][3](%rdi),@D[3] [all …]
|
/freebsd/contrib/bearssl/src/kdf/ |
H A D | shake.c | 50 xor_block(uint64_t *A, const void *data, size_t rate) in xor_block() argument 55 A[u >> 3] ^= br_dec64le((const unsigned char *)data + u); in xor_block() 64 process_block(uint64_t *A) in process_block() argument 78 tt0 = A[ 1] ^ A[ 6]; in process_block() 79 tt1 = A[11] ^ A[16]; in process_block() 80 tt0 ^= A[21] ^ tt1; in process_block() 82 tt2 = A[ 4] ^ A[ 9]; in process_block() 83 tt3 = A[14] ^ A[19]; in process_block() 84 tt0 ^= A[24]; in process_block() 88 tt0 = A[ 2] ^ A[ 7]; in process_block() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | pow_log_data.c | 53 #define A(a, b, c) {a, 0, b, c}, macro 54 A(0x1.6a00000000000p+0, -0x1.62c82f2b9c800p-2, 0x1.ab42428375680p-48) 55 A(0x1.6800000000000p+0, -0x1.5d1bdbf580800p-2, -0x1.ca508d8e0f720p-46) 56 A(0x1.6600000000000p+0, -0x1.5767717455800p-2, -0x1.362a4d5b6506dp-45) 57 A(0x1.6400000000000p+0, -0x1.51aad872df800p-2, -0x1.684e49eb067d5p-49) 58 A(0x1.6200000000000p+0, -0x1.4be5f95777800p-2, -0x1.41b6993293ee0p-47) 59 A(0x1.6000000000000p+0, -0x1.4618bc21c6000p-2, 0x1.3d82f484c84ccp-46) 60 A(0x1.5e00000000000p+0, -0x1.404308686a800p-2, 0x1.c42f3ed820b3ap-50) 61 A(0x1.5c00000000000p+0, -0x1.3a64c55694800p-2, 0x1.0b1c686519460p-45) 62 A(0x1.5a00000000000p+0, -0x1.347dd9a988000p-2, 0x1.5594dd4c58092p-45) [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | keccak1600.c | 14 size_t SHA3_absorb(uint64_t A[5][5], const unsigned char *inp, size_t len, 16 void SHA3_squeeze(uint64_t A[5][5], unsigned char *out, size_t len, size_t r); 124 static void Theta(uint64_t A[5][5]) in Theta() 129 C[0] = A[0][0]; in Theta() 130 C[1] = A[0][1]; in Theta() 131 C[2] = A[0][2]; in Theta() 132 C[3] = A[0][3]; in Theta() 133 C[4] = A[0][4]; in Theta() 136 C[0] ^= A[y][0]; in Theta() 137 C[1] ^= A[y][1]; in Theta() [all …]
|
/freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
H A D | bnshift.txt | 8 # These test vectors satisfy A * 2 = LShift1 13 A = 0 16 A = 988b0905e52efb2709f98a12a 19 A = -988b0905e52efb2709f98a12a 22 A = 13116120bca5df64e13f314254 25 A = -13116120bca5df64e13f314254 28 A = 2622c241794bbec9c27e6284a8 31 A = -2622c241794bbec9c27e6284a8 34 A = 4c458482f2977d9384fcc50951 37 A = -4c458482f2977d9384fcc50951 [all …]
|
H A D | bnsum.txt | 10 # These test vectors satisfy A + B = Sum. 13 A = 0 17 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 21 A = -c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce1… 25 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 29 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… 33 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… 37 A = -c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c787… 41 A = -c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c787… 45 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… [all …]
|
H A D | bngcd.txt | 10 # These test vectors satisfy gcd(A, B) = GCD. 13 A = 0 18 A = 1 23 A = 1 28 A = 0 33 A = -231f16458c487346cf50a17beec83632f25d19abeea1097c746533cd3e35207b7efd75dc3e9c663a64b6861e88579d… 40 A = f 44 A = f 48 A = 3f 52 A = 3f [all …]
|
H A D | bnmul.txt | 8 # These test vectors satisfy A^2 = Square. 14 A = 80000000000000008000000000000001fffffffffffffffe0000000000000000 18 A = 80000000000000000000000080000001fffffffe000000000000000000000000 21 A = -df6a253c3f 24 A = 21f253ddb5a6d 27 A = -95fbaee5a09c86d 30 A = -3e71292dd4ad3ed3b4 33 A = 9b45cf6c7a43d910dcff 36 A = 2c7314e72a2ffeef170de2a 39 A = d3de077f8286a04daa9c497c9 [all …]
|
H A D | bnmod.txt | 8 # These test vectors satisfy A * B = ModMul (mod M) and 0 <= ModMul < M. 14 A = 6b18497fed9befdf22a01d988d34213f6687d8a96e86c188dea4172e7c6095a0d18d3c86c0f5a1af9c6e3aaeb6baac2… 19 A = 16c92f77c139706430f396f72ec7adb045745cd9f5899b0074d9955bd32de66f57c05c7929b575312a7f1c04f19e724… 24 A = -6715098ab2ba3ea1e6341e89936e3ae913cdd450dc831c8534071f3c362841e47d88f2cd29c0d1239aa0949f3685f1… 29 A = -11fec955948e007b59fc50e729941ee9d43d552b9411510b73f6b4faafc0465f261f8381d96f647267f72175883172… 34 A = 7713413d87f1e50840255927ff27bad79e5de5898725a876e4647913158cda9f5fa031dd7fc11d2e8130a0ba99e8706… 39 A = 17d806d7c76aa8acb051fd9c0c782443f1b1b6387455f7cfb737c41658d0459bda5d13587055eafb87ad8d209bccac1… 44 A = -6d84cdf18a2f53fe496248fafef183914d55c42267af3dd42a39515e80cf29211fd58454986f5fb6afb56170dd9865… 49 A = -1f745c8f0c8fe6ce3f893d77fb274c61b72b2d9f9c5a2eb2467bc00d1f496d0ad469d76bce318bd64ff1107ee5fcad… 54 A = 4c09264420a9452c6f0b55baee42c076aae5a73697cc6bbb88b7c922f236ee4c18e477f88e2c40cee03f0bbe87d3ac8… [all …]
|
/freebsd/crypto/openssl/crypto/ripemd/ |
H A D | rmd_dgst.c | 30 c->A = RIPEMD160_A; in RIPEMD160_Init() 45 register unsigned MD32_REG_T A, B, C, D, E; in ripemd160_block_data_order() local 59 A = ctx->A; in ripemd160_block_data_order() 69 RIP1(A, B, C, D, E, WL00, SL00); in ripemd160_block_data_order() 72 RIP1(E, A, B, C, D, WL01, SL01); in ripemd160_block_data_order() 75 RIP1(D, E, A, B, C, WL02, SL02); in ripemd160_block_data_order() 78 RIP1(C, D, E, A, B, WL03, SL03); in ripemd160_block_data_order() 81 RIP1(B, C, D, E, A, WL04, SL04); in ripemd160_block_data_order() 84 RIP1(A, B, C, D, E, WL05, SL05); in ripemd160_block_data_order() 87 RIP1(E, A, B, C, D, WL06, SL06); in ripemd160_block_data_order() [all …]
|
/freebsd/crypto/openssl/crypto/md5/ |
H A D | md5_dgst.c | 32 c->A = INIT_DATA_A; in MD5_Init() 46 register unsigned MD32_REG_T A, B, C, D, l; in md5_block_data_order() local 57 A = c->A; in md5_block_data_order() 68 R0(A, B, C, D, X(0), 7, 0xd76aa478L); in md5_block_data_order() 71 R0(D, A, B, C, X(1), 12, 0xe8c7b756L); in md5_block_data_order() 74 R0(C, D, A, B, X(2), 17, 0x242070dbL); in md5_block_data_order() 77 R0(B, C, D, A, X(3), 22, 0xc1bdceeeL); in md5_block_data_order() 80 R0(A, B, C, D, X(4), 7, 0xf57c0fafL); in md5_block_data_order() 83 R0(D, A, B, C, X(5), 12, 0x4787c62aL); in md5_block_data_order() 86 R0(C, D, A, B, X(6), 17, 0xa8304613L); in md5_block_data_order() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | internal_defs.h | 20 #define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)[0])) argument 36 #define FORMAT(F, A) __attribute__((format(printf, F, A))) argument 117 #define CHECK(A) CHECK_IMPL((A), !=, 0) argument 118 #define CHECK_EQ(A, B) CHECK_IMPL((A), ==, (B)) argument 119 #define CHECK_NE(A, B) CHECK_IMPL((A), !=, (B)) argument 120 #define CHECK_LT(A, B) CHECK_IMPL((A), <, (B)) argument 121 #define CHECK_LE(A, B) CHECK_IMPL((A), <=, (B)) argument 122 #define CHECK_GT(A, B) CHECK_IMPL((A), >, (B)) argument 123 #define CHECK_GE(A, B) CHECK_IMPL((A), >=, (B)) argument 126 #define DCHECK(A) CHECK(A) argument [all …]
|
/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | tx_schedules.h | 43 #define A(_r) \ macro 48 { 3,A( 6), 3,A( 6), 0,A( 6), 0,A( 6) }, /* 6Mb/s */ 49 { 4,A( 9), 3,A( 6), 4,A( 6), 0,A( 6) }, /* 9Mb/s */ 50 { 4,A(12), 3,A( 6), 4,A( 6), 0,A( 6) }, /* 12Mb/s */ 51 { 4,A(18), 3,A( 12), 4,A( 6), 2,A( 6) }, /* 18Mb/s */ 52 { 4,A(24), 3,A( 18), 4,A( 12), 2,A( 6) }, /* 24Mb/s */ 53 { 4,A(36), 3,A( 24), 4,A( 18), 2,A( 6) }, /* 36Mb/s */ 54 { 4,A(48), 3,A( 36), 4,A( 24), 2,A(12) }, /* 48Mb/s */ 55 { 4,A(54), 3,A( 48), 4,A( 36), 2,A(24) } /* 54Mb/s */ 71 { 3,A( 6), 3,A( 6), 0,A( 6), 0,A( 6) }, /* 6Mb/s */ [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | Synthesis.cpp | 40 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A, in createLeaf() argument 50 auto *Leaf = new (A.getAllocator()) syntax::Leaf( in createLeaf() 57 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A, in createLeaf() argument 65 return createLeaf(A, TBTM, K, Spelling); in createLeaf() 70 syntax::Tree *allocateTree(syntax::Arena &A, syntax::NodeKind Kind) { in allocateTree() argument 76 return new (A.getAllocator()) syntax::TranslationUnit; in allocateTree() 78 return new (A.getAllocator()) syntax::UnknownExpression; in allocateTree() 80 return new (A.getAllocator()) syntax::ParenExpression; in allocateTree() 82 return new (A.getAllocator()) syntax::ThisExpression; in allocateTree() 84 return new (A.getAllocator()) syntax::IntegerLiteralExpression; in allocateTree() [all …]
|
/freebsd/usr.bin/hexdump/tests/ |
H A D | d_hexdump_cflag_c.out | 1 0000000 A A A A A A A A A A A A A A A A 3 0000020 A A A A A A A \n
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-graph.h | 166 inline GraphRenderer::TimeStat operator+(const GraphRenderer::TimeStat &A, 168 return {A.Count + B.Count, A.Min + B.Min, A.Median + B.Median, 169 A.Pct90 + B.Pct90, A.Pct99 + B.Pct99, A.Max + B.Max, 170 A.Sum + B.Sum}; 174 inline GraphRenderer::TimeStat operator-(const GraphRenderer::TimeStat &A, 177 return {A.Count - B.Count, A.Min - B.Min, A.Median - B.Median, 178 A.Pct90 - B.Pct90, A.Pct99 - B.Pct99, A.Max - B.Max, 179 A.Sum - B.Sum}; 183 inline GraphRenderer::TimeStat operator/(const GraphRenderer::TimeStat &A, 186 return {static_cast<int64_t>(A.Count / B), [all …]
|
/freebsd/crypto/openssl/crypto/md4/ |
H A D | md4_dgst.c | 32 c->A = INIT_DATA_A; in MD4_Init() 46 register unsigned MD32_REG_T A, B, C, D, l; in md4_block_data_order() local 57 A = c->A; in md4_block_data_order() 68 R0(A, B, C, D, X(0), 3, 0); in md4_block_data_order() 71 R0(D, A, B, C, X(1), 7, 0); in md4_block_data_order() 74 R0(C, D, A, B, X(2), 11, 0); in md4_block_data_order() 77 R0(B, C, D, A, X(3), 19, 0); in md4_block_data_order() 80 R0(A, B, C, D, X(4), 3, 0); in md4_block_data_order() 83 R0(D, A, B, C, X(5), 7, 0); in md4_block_data_order() 86 R0(C, D, A, B, X(6), 11, 0); in md4_block_data_order() [all …]
|
/freebsd/lib/libmd/ |
H A D | rmd160c.c | 90 c->A=RIPEMD160_A; in RIPEMD160_Init() 268 u_int32_t A,B,C,D,E; in ripemd160_block() local 273 A=ctx->A; B=ctx->B; C=ctx->C; D=ctx->D; E=ctx->E; in ripemd160_block() 275 RIP1(A,B,C,D,E,WL00,SL00); in ripemd160_block() 276 RIP1(E,A,B,C,D,WL01,SL01); in ripemd160_block() 277 RIP1(D,E,A,B,C,WL02,SL02); in ripemd160_block() 278 RIP1(C,D,E,A,B,WL03,SL03); in ripemd160_block() 279 RIP1(B,C,D,E,A,WL04,SL04); in ripemd160_block() 280 RIP1(A,B,C,D,E,WL05,SL05); in ripemd160_block() 281 RIP1(E,A,B,C,D,WL06,SL06); in ripemd160_block() [all …]
|
/freebsd/bin/chmod/tests/ |
H A D | chmod_test.sh | 43 atf_check mkdir -m 0777 -p A/B 44 atf_check ln -s B A/C 45 atf_check chmod -h 0777 A/C 46 atf_check -o inline:'40755\n40777\n120777\n' stat -f '%p' A A/B A/C 47 atf_check chmod -RH 0700 A 48 atf_check -o inline:'40700\n40700\n120700\n' stat -f '%p' A A/B A/C 49 atf_check chmod -RH 0600 A/C 50 atf_check -o inline:'40700\n40600\n120700\n' stat -f '%p' A A/B A/C 62 atf_check mkdir -m 0777 -p A/B 63 atf_check ln -s B A/C [all …]
|
/freebsd/crypto/openssl/crypto/ripemd/asm/ |
H A D | rmd-586.pl | 23 $A="ecx"; 84 local(%n)=($A,$E,$B,$A,$C,$B,$D,$C,$E,$D); 303 &mov(&swtmp(16), $A) if $o == 1; 326 &mov($A, &DWP( 0,$tmp2,"",0)); 359 &RIP1($A,$B,$C,$D,$E,$wl[ 0],$sl[ 0],-1); 360 &RIP1($E,$A,$B,$C,$D,$wl[ 1],$sl[ 1],0); 361 &RIP1($D,$E,$A,$B,$C,$wl[ 2],$sl[ 2],0); 362 &RIP1($C,$D,$E,$A,$B,$wl[ 3],$sl[ 3],0); 363 &RIP1($B,$C,$D,$E,$A,$wl[ 4],$sl[ 4],0); 364 &RIP1($A,$B,$C,$D,$E,$wl[ 5],$sl[ 5],0); [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_fixed.h | 34 #define dfixed_const(A) (u32)(((A) << 12))/* + ((B + 0.000122)*4096)) */ argument 35 #define dfixed_const_half(A) (u32)(((A) << 12) + 2048) argument 36 #define dfixed_const_666(A) (u32)(((A) << 12) + 2731) argument 37 #define dfixed_const_8(A) (u32)(((A) << 12) + 3277) argument 38 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) argument 39 #define dfixed_init(A) { .full = dfixed_const((A)) } argument 40 #define dfixed_init_half(A) { .full = dfixed_const_half((A)) } argument 41 #define dfixed_trunc(A) ((A).full >> 12) argument 42 #define dfixed_frac(A) ((A).full & ((1 << 12) - 1)) argument 44 static inline u32 dfixed_floor(fixed20_12 A) in dfixed_floor() argument [all …]
|