| /freebsd/crypto/openssl/crypto/modes/asm/ |
| H A D | aes-gcm-armv8-unroll8_64.pl | 2 # Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved. 12 # derived from https://github.com/ARM-software/AArch64cryptolib, original 14 # licensed under OpenSSL and SPDX BSD-3-Clause licenses depending on where you 18 # Approach - We want to reload constants as we have plenty of spare ASIMD slots around crypto units… 19 # Unroll x8 in main loop, main loop to act on 8 16B blocks per iteration, and then do modulo of the… 20 # intermediate hashesfrom the 8 blocks. 27 # | CTR block 8k+13| AES block 8k+8 | GHASH block 8k+0 | 30 # | CTR block 8k+14| AES block 8k+9 | GHASH block 8k+1 | 33 # | CTR block 8k+15| AES block 8k+10| GHASH block 8k+2 | 36 # | CTR block 8k+16| AES block 8k+11| GHASH block 8k+3 | [all …]
|
| H A D | aes-gcm-armv8_64.pl | 2 # Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 12 # derived from https://github.com/ARM-software/AArch64cryptolib, original 18 # Approach - assume we don't want to reload constants, so reserve ~half of vector register file for… 27 # | CTR block 4k+8 | AES block 4k+4 | GHASH block 4k+0 | 30 # | CTR block 4k+9 | AES block 4k+5 | GHASH block 4k+1 | 44 # EXT low_acc, low_acc, low_acc, #8 52 # INS ctr_next.d[1], ctr64X 53 # ADD rev_ctr32, #1 61 # LDR input_low, [ input_ptr ], #8 62 # LDR input_high, [ input_ptr ], #8 [all …]
|
| /freebsd/sys/dev/sound/pci/hda/ |
| H A D | pin_patch.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 36 #define PIN_PATCH_STRING(n, patchstr) { \ argument 37 .nid = n, \ 41 #define PIN_OVERRIDE(n, newvalue) { \ argument 42 .nid = n, \ 46 #define PIN_PATCH_NOT_APPLICABLE(n) \ argument 47 PIN_PATCH_STRING(n, "as=15 misc=1 color=Black ctype=1/8 device=Speaker loc=Rear conn=None") 48 #define PIN_PATCH_HP_OUT(n) \ argument [all …]
|
| /freebsd/contrib/file/tests/ |
| H A D | HWP97.hwp.testfile | 1 …NN''��G)… 2 m��9eI��yؾ�s�N��i�� ���cWgg�K�q1�3.&}�=��k9�r��+w�u�xp 3 XH�N[�ύ\��;��!��,��n�%���l�#N�\���T.�X��}�)u�n�k롞%]��qۃ�"��,�jv �װ�a�/���^�����u�亮h��t{��… 4 d\އ�&R/[�7�-��ہ�}��A��%�䔓���_XZ�5-r]^�� 5 …-�νuYwu-E�#rY���a"�"��;>A�������7����{���$��܅y҅���\t�8���#S&O�貔������ �Z��SV��u�C�:�!g���… 6 …1n��n$�d���-%R!6O�B��^묘j���-x��������6��J�}��F��NK�Y�Q�u�9��F�Ŋ��0��+&�Iw4�I��{�fߍǮ����9… 7 >��ĕ�y~/Yۿ��5����W����)�Wȴ�8tǮI��G�MW��ֺD��y�.;O�&�^�0��/�z�!����
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_registers.h | 1 //===-- hwasan_registers.h --------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 21 # define CAN_GET_REGISTERS 1 30 "stp x0, x1, [%1, #(8 * 0)]\n" in GetRegisters() 31 "stp x2, x3, [%1, #(8 * 2)]\n" in GetRegisters() 32 "stp x4, x5, [%1, #(8 * 4)]\n" in GetRegisters() 33 "stp x6, x7, [%1, #(8 * 6)]\n" in GetRegisters() 34 "stp x8, x9, [%1, #(8 * 8)]\n" in GetRegisters() [all …]
|
| /freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
| H A D | dsa-onecolumn.pem | 1 -----BEGIN DSA PRIVATE KEY----- 2 Proc-Type: 4,ENCRYPTED 3 DEK-Info: AES-256-CBC,A2A7FA3E5E454B59C8777564E7AF3CD6 18 N 50 8 103 1 159 N 166 n 183 N 189 n [all …]
|
| H A D | cert-onecolumn.pem | 1 -----BEGIN CERTIFICATE----- 29 N 60 N 97 n 136 1 164 N 195 1 212 N 223 n 224 N [all …]
|
| /freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | fixed-keys.h | 6 "-----BEGIN OPENSSH PRIVATE KEY-----\n"\ 7 "b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn\n"\ 8 "NhAAAAAwEAAQAAAQEA3+epf+VGKoGPaAZXrf6S0cyumQnddkGBnVFX0A5eh37RtLug0qY5\n"\ 9 "thxsBUbGGVr9mTd2QXwLujBwYg5l1MP/Fmg+5312Zgx9pHmS+qKULbar0hlNgptNEb+aNU\n"\ 10 "d3o9qg3aXqXm7+ZnjAV05ef/mxNRN2ZvuEkw7cRppTJcbBI+vF3lXuCXnX2klDI95Gl2AW\n"\ 11 "3WHRtanqLHZXuBkjjRBDKc7MUq/GP1hmLiAd95dvU7fZjRlIEsP84zGEI1Fb0L/kmPHcOt\n"\ 12 "iVfHft8CtmC9v6+94JrOiPBBNScV+dyrgAGPsdKdr/1vIpQmCNiI8s3PCiD8J7ZiBaYm0I\n"\ 13 "8fq5G/qnUwAAA7ggw2dXIMNnVwAAAAdzc2gtcnNhAAABAQDf56l/5UYqgY9oBlet/pLRzK\n"\ 14 "6ZCd12QYGdUVfQDl6HftG0u6DSpjm2HGwFRsYZWv2ZN3ZBfAu6MHBiDmXUw/8WaD7nfXZm\n"\ 15 "DH2keZL6opQttqvSGU2Cm00Rv5o1R3ej2qDdpepebv5meMBXTl5/+bE1E3Zm+4STDtxGml\n"\ [all …]
|
| /freebsd/crypto/openssl/crypto/bn/asm/ |
| H A D | x86_64-mont.pl | 2 # Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved. 29 # for 512-/1024-/2048-/4096-bit RSA *sign* benchmarks respectively. 33 # Unroll and modulo-schedule inner loops in such manner that they 34 # are "fallen through" for input lengths of 8, which is critical for 35 # 1024-bit RSA *sign*. Average performance improvement in comparison 37 # for 512-/1024-/2048-/4096-bit RSA *sign* benchmarks respectively. 41 # Optimize reduction in squaring procedure and improve 1024+-bit RSA 42 # sign performance by 10-16% on Intel Sandy Bridge and later 43 # (virtually same on non-Intel processors). 54 $win64=0; $win64=1 if ($flavour =~ /[nm]asm|mingw64/ || $output =~ /\.asm$/); [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.td | 1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // ValueTypes.td - list of ValueType instances supported by the the 12 //===----------------------------------------------------------------------===// 19 int nElem = 1; 61 def OtherVT : ValueType<0, 1> { // "Other" value 65 def i1 : VTInt<1, 2>; // One bit boolean value 66 def i2 : VTInt<2, 3>; // 2-bit integer value 67 def i4 : VTInt<4, 4>; // 4-bit integer value [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | xmss_fast.c | 34 * takes n byte sk_seed and returns n byte seed using 32 byte address addr. 36 static void get_seed(unsigned char *seed, const unsigned char *sk_seed, int n, uint32_t addr[8]) in get_seed() argument 45 prf(seed, bytes, sk_seed, n); in get_seed() 53 int xmss_set_params(xmss_params *params, int n, int h, int w, int k) in xmss_set_params() argument 55 if (k >= h || k < 2 || (h - k) % 2) { in xmss_set_params() 56 fprintf(stderr, "For BDS traversal, H - K must be even, with H > K >= 2!\n"); in xmss_set_params() 57 return 1; in xmss_set_params() 59 params->h = h; in xmss_set_params() 60 params->n = n; in xmss_set_params() 61 params->k = k; in xmss_set_params() [all …]
|
| /freebsd/crypto/openssl/crypto/des/ |
| H A D | cfb64ede.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 31 register int n = *num; in DES_ede3_cfb64_encrypt() local 37 while (l--) { in DES_ede3_cfb64_encrypt() 38 if (n == 0) { in DES_ede3_cfb64_encrypt() 43 ti[1] = v1; in DES_ede3_cfb64_encrypt() 46 v1 = ti[1]; in DES_ede3_cfb64_encrypt() 53 c = *(in++) ^ iv[n]; in DES_ede3_cfb64_encrypt() 55 iv[n] = c; in DES_ede3_cfb64_encrypt() 56 n = (n + 1) & 0x07; in DES_ede3_cfb64_encrypt() 59 while (l--) { in DES_ede3_cfb64_encrypt() [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
| H A D | t_verify.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 58 * -1 ==> error 61 #include "k5-int.h" 80 unsigned char clear_text3[64] = {2,0,0,0, 1,0,0,0}; 82 unsigned char zero_text[8] = {0x0,0,0,0,0,0,0,0}; 83 unsigned char msb_text[8] = {0x0,0,0,0, 0,0,0,0x40}; /* to ANSI MSB */ 87 unsigned char default_key[8] = { 90 unsigned char key2[8] = { 0x08,0x19,0x2a,0x3b,0x4c,0x5d,0x6e,0x7f }; 91 unsigned char key3[8] = { 0x80,1,1,1,1,1,1,1 }; 93 unsigned char default_ivec[8] = { [all …]
|
| /freebsd/crypto/openssl/crypto/modes/ |
| H A D | ccm128.c | 2 * Copyright 2011-2020 The OpenSSL Project Authors. All Rights Reserved. 16 typedef u64 u64_a1 __attribute((__aligned__(1))); 30 memset(ctx->nonce.c, 0, sizeof(ctx->nonce.c)); in CRYPTO_ccm128_init() 31 ctx->nonce.c[0] = ((u8)(L - 1) & 7) | (u8)(((M - 2) / 2) & 7) << 3; in CRYPTO_ccm128_init() 32 ctx->blocks = 0; in CRYPTO_ccm128_init() 33 ctx->block = block; in CRYPTO_ccm128_init() 34 ctx->key = key; in CRYPTO_ccm128_init() 39 /* Then you setup per-message nonce and pass the length of the message */ 43 unsigned int L = ctx->nonce.c[0] & 7; /* the L parameter */ in CRYPTO_ccm128_setiv() 45 if (nlen < (14 - L)) in CRYPTO_ccm128_setiv() [all …]
|
| H A D | cfb128.c | 2 * Copyright 2008-2021 The OpenSSL Project Authors. All Rights Reserved. 15 typedef size_t size_t_aX __attribute((__aligned__(1))); 30 unsigned int n; in CRYPTO_cfb128_encrypt() local 35 *num = -1; in CRYPTO_cfb128_encrypt() 38 n = *num; in CRYPTO_cfb128_encrypt() 44 while (n && len) { in CRYPTO_cfb128_encrypt() 45 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt() 46 --len; in CRYPTO_cfb128_encrypt() 47 n = (n + 1) % 16; in CRYPTO_cfb128_encrypt() 56 for (; n < 16; n += sizeof(size_t)) { in CRYPTO_cfb128_encrypt() [all …]
|
| /freebsd/share/syscons/keymaps/ |
| H A D | by.cp1251.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| H A D | by.iso5.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| H A D | by.cp1131.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| H A D | bg.bds.ctrlcaps.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| /freebsd/share/vt/keymaps/ |
| H A D | by.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| H A D | bg.bds.kbd | 4 # ------------------------------------------------------------------ 7 002 '1' '!' nop nop '1' '!' nop nop O 14 009 '8' '*' nop nop '8' '*' nop nop O 17 012 '-' '_' us us '-' '_' us us O 54 049 'n' 'N' so so 'n' 'N' so so C 76 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 77 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 78 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N 79 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 80 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N [all …]
|
| /freebsd/sys/contrib/zlib/ |
| H A D | crc32.c | 1 /* crc32.c -- compute the CRC-32 of a data stream 2 * Copyright (C) 1995-2022 Mark Adler 6 * arithmetic-logic units, commonly found in modern CPU cores. It is due to 7 * Kadatch and Jenkins (2010). See doc/crc-doc.1.0.pdf in this distribution. 14 protection on the static variables used to control the first-use generation 33 A CRC of a message is computed on N braids of words in the message, where 34 each word consists of W bytes (4 or 8). If N is 3, for example, then three 36 indices in the array of words: 0, 3, 6, ..., 1, 4, 7, ..., and 2, 5, 8, ... 38 of N * W bytes as are available have been processed. The results are combined 39 into a single CRC at the end. For this code, N must be in the range 1..6 and [all …]
|
| /freebsd/lib/libc/string/ |
| H A D | strstr.c | 1 /*- 2 * SPDX-License-Identifier: MIT 4 * Copyright (c) 2005-2014 Rich Felker, et al. 29 twobyte_strstr(const unsigned char *h, const unsigned char *n) in twobyte_strstr() argument 31 uint16_t nw = n[0] << 8 | n[1], hw = h[0] << 8 | h[1]; in twobyte_strstr() 32 for (h++; *h && hw != nw; hw = hw << 8 | *++h) in twobyte_strstr() 34 return *h ? (char *)h - 1 : 0; in twobyte_strstr() 38 threebyte_strstr(const unsigned char *h, const unsigned char *n) in threebyte_strstr() argument 40 uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8; in threebyte_strstr() 41 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8; in threebyte_strstr() [all …]
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | aes-unwrap.c | 4 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi> 17 * aes_unwrap - Unwrap key with AES Key Wrap Algorithm (RFC3394) 20 * @n: Length of the plaintext key in 64-bit units; e.g., 2 = 128-bit = 16 22 * @cipher: Wrapped key to be unwrapped, (n + 1) * 64 bits 23 * @plain: Plaintext key, n * 64 bits 24 * Returns: 0 on success, -1 on failure (e.g., integrity verification failed) 26 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument 29 u8 a[8], *r, b[AES_BLOCK_SIZE]; in aes_unwrap() 34 /* 1) Initialize variables. */ in aes_unwrap() 35 os_memcpy(a, cipher, 8); in aes_unwrap() [all …]
|
| /freebsd/contrib/llvm-project/libunwind/src/ |
| H A D | UnwindRegistersRestore.S | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 #define FROM_0_TO_15 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 14 #define FROM_0_TO_31 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,2… 32 # +-----------------------+ 34 # +-----------------------+ 36 # +-----------------------+ <-- SP 43 subl $8,%edx 52 movl 8(%eax), %ecx [all …]
|