| /freebsd/sys/crypto/openssl/aarch64/ |
| H A D | bsaes-armv8.S | 50 movi v9.16b, #0x55 52 movi v16.16b, #0x33 53 movi v17.16b, #0x0f 55 eor v0.16b, v0.16b, v8.16b 56 eor v1.16b, v1.16b, v8.16b 57 eor v2.16b, v2.16b, v8.16b 58 eor v4.16b, v4.16b, v8.16b 59 eor v3.16b, v3.16b, v8.16b 60 eor v5.16b, v5.16b, v8.16b 61 tbl v0.16b, {v0.16b}, v10.16b [all …]
|
| H A D | aes-gcm-armv8-unroll8_64.S | 25 movi v31.16b, #0x0 28 ld1 { v0.16b}, [x16] //CTR block 0 34 rev32 v30.16b, v0.16b //set up reversed counter 38 rev32 v1.16b, v30.16b //CTR block 1 41 rev32 v2.16b, v30.16b //CTR block 2 44 rev32 v3.16b, v30.16b //CTR block 3 47 rev32 v4.16b, v30.16b //CTR block 4 50 rev32 v5.16b, v30.16b //CTR block 5 54 rev32 v6.16b, v30.16b //CTR block 6 57 rev32 v7.16b, v30.16b //CTR block 7 [all …]
|
| H A D | aesv8-armx.S | 25 b.eq .Lenc_key_abort 27 b.eq .Lenc_key_abort 30 b.lt .Lenc_key_abort 32 b.gt .Lenc_key_abort 34 b.ne .Lenc_key_abort 40 eor v0.16b,v0.16b,v0.16b 41 ld1 {v3.16b},[x0],#16 45 b.lt .Loop128 46 b.eq .L192 47 b .L256 [all …]
|
| H A D | aes-gcm-armv8_64.S | 33 ld1 {v11.16b}, [x3] 34 ext v11.16b, v11.16b, v11.16b, #8 35 rev64 v11.16b, v11.16b 46 ext v15.16b, v15.16b, v15.16b, #8 60 …ld1 { v0.16b}, [x16] //special case vector load initial counter so we … 80 ext v14.16b, v14.16b, v14.16b, #8 82 aese v1.16b, v18.16b 83 aesmc v1.16b, v1.16b //AES block 1 - round 0 86 aese v2.16b, v18.16b 87 aesmc v2.16b, v2.16b //AES block 2 - round 0 [all …]
|
| H A D | vpaes-armv8.S | 110 movi v17.16b, #0x0f 141 and v1.16b, v7.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 142 ushr v0.16b, v7.16b, #4 // vpsrlb $4, %xmm0, %xmm0 143 tbl v1.16b, {v20.16b}, v1.16b // vpshufb %xmm1, %xmm2, %xmm1 145 tbl v2.16b, {v21.16b}, v0.16b // vpshufb %xmm0, %xmm3, %xmm2 146 eor v0.16b, v1.16b, v16.16b // vpxor %xmm5, %xmm1, %xmm0 147 eor v0.16b, v0.16b, v2.16b // vpxor %xmm2, %xmm0, %xmm0 148 b .Lenc_entry 154 tbl v4.16b, {v25.16b}, v2.16b // vpshufb %xmm2, %xmm13, %xmm4 # 4 = sb1u 156 tbl v0.16b, {v24.16b}, v3.16b // vpshufb %xmm3, %xmm12, %xmm0 # 0 = sb1t [all …]
|
| H A D | ghashv8-armx.S | 13 movi v19.16b,#0xe1 15 ext v3.16b,v17.16b,v17.16b,#8 18 ext v16.16b,v18.16b,v19.16b,#8 //t0=0xc2....01 21 and v18.16b,v18.16b,v16.16b 23 ext v18.16b,v18.16b,v18.16b,#8 24 and v16.16b,v16.16b,v17.16b 25 orr v3.16b,v3.16b,v18.16b //H<<<=1 26 eor v20.16b,v3.16b,v16.16b //twisted H 30 ext v16.16b,v20.16b,v20.16b,#8 //Karatsuba pre-processing 32 eor v16.16b,v16.16b,v20.16b [all …]
|
| H A D | vpsm4_ex-armv8.S | 73 rev32 v5.16b,v5.16b 81 eor v5.16b,v5.16b,v6.16b 85 movi v0.16b,#64 98 tbl v0.16b, {v4.16b}, v26.16b 99 ushr v2.16b, v0.16b, 4 100 and v0.16b, v0.16b, v31.16b 101 tbl v0.16b, {v28.16b}, v0.16b 102 tbl v2.16b, {v27.16b}, v2.16b 103 eor v0.16b, v0.16b, v2.16b 104 eor v1.16b, v1.16b, v1.16b [all …]
|
| H A D | vpsm4-armv8.S | 69 ld1 {v16.16b,v17.16b,v18.16b,v19.16b},[x10],#64 70 ld1 {v20.16b,v21.16b,v22.16b,v23.16b},[x10],#64 71 ld1 {v24.16b,v25.16b,v26.16b,v27.16b},[x10],#64 72 ld1 {v28.16b,v29.16b,v30.16b,v31.16b},[x10] 74 rev32 v5.16b,v5.16b 82 eor v5.16b,v5.16b,v6.16b 86 movi v0.16b,#64 99 tbl v1.16b,{v16.16b,v17.16b,v18.16b,v19.16b},v4.16b 100 sub v4.16b,v4.16b,v0.16b 101 tbx v1.16b,{v20.16b,v21.16b,v22.16b,v23.16b},v4.16b [all …]
|
| H A D | sm4-armv8.S | 51 rev32 v0.16b,v0.16b 54 eor v0.16b,v0.16b,v24.16b; 80 rev32 v7.16b,v7.16b 83 eor v7.16b, v7.16b,v24.16b; 89 ext v7.16b,v7.16b,v7.16b,#8 90 ext v6.16b,v6.16b,v6.16b,#8 95 ext v5.16b,v5.16b,v5.16b,#8 96 ext v4.16b,v4.16b,v4.16b,#8 101 ext v3.16b,v3.16b,v3.16b,#8 102 ext v2.16b,v2.16b,v2.16b,#8 [all …]
|
| H A D | sm3-armv8.S | 24 ext v5.16b, v5.16b, v5.16b, #8 25 ext v6.16b, v6.16b, v6.16b, #8 35 mov v18.16b, v5.16b 36 mov v19.16b, v6.16b 39 rev32 v0.16b, v0.16b 40 rev32 v1.16b, v1.16b 41 rev32 v2.16b, v2.16b 42 rev32 v3.16b, v3.16b 45 ext v20.16b, v16.16b, v16.16b, #4 47 ext v4.16b, v1.16b, v2.16b, #12 [all …]
|
| H A D | chacha-armv8.S | 30 b.lo .Lshort 36 b.ne .LChaCha20_neon 202 b.lo .Ltail 243 b.hi .Loop_outer 320 b.lo .Lshort 325 b.eq .Lcheck_neon 345 b .Lshort 367 b.hs .L512_or_more_neon 437 eor v19.16b,v19.16b,v16.16b 439 eor v23.16b,v23.16b,v20.16b [all …]
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | buffer.c | 50 struct snd_dbuf *b; in sndbuf_create() local 52 b = malloc(sizeof(*b), M_DEVBUF, M_WAITOK | M_ZERO); in sndbuf_create() 53 snprintf(b->name, SNDBUF_NAMELEN, "%s:%s", channel->name, desc); in sndbuf_create() 54 b->channel = channel; in sndbuf_create() 56 return b; in sndbuf_create() 60 sndbuf_destroy(struct snd_dbuf *b) in sndbuf_destroy() argument 62 sndbuf_free(b); in sndbuf_destroy() 63 free(b, M_DEVBUF); in sndbuf_destroy() 69 struct snd_dbuf *b = (struct snd_dbuf *)arg; in sndbuf_setmap() local 74 printf("%p -> %lx\n", b->buf, (u_long)segs[0].ds_addr); in sndbuf_setmap() [all …]
|
| /freebsd/sys/contrib/openzfs/module/icp/asm-aarch64/blake3/ |
| H A D | b3_aarch64_sse41.S | 82 eor v0.16b, v2.16b, v0.16b 83 eor v1.16b, v3.16b, v1.16b 148 and v0.8b, v1.8b, v0.8b 160 eor v1.16b, v16.16b, v1.16b 162 tbl v1.16b, { v1.16b }, v0.16b 164 eor v5.16b, v4.16b, v5.16b 167 orr v5.16b, v5.16b, v6.16b 169 eor v7.16b, v1.16b, v6.16b 172 tbl v7.16b, { v7.16b }, v1.16b 175 ext v7.16b, v7.16b, v7.16b, #8 [all …]
|
| H A D | b3_aarch64_sse2.S | 82 eor v0.16b, v2.16b, v0.16b 83 eor v1.16b, v3.16b, v1.16b 115 and v0.8b, v1.8b, v0.8b 125 eor v3.16b, v2.16b, v3.16b 129 eor v5.16b, v4.16b, v5.16b 132 orr v5.16b, v5.16b, v6.16b 134 eor v3.16b, v2.16b, v3.16b 137 orr v3.16b, v3.16b, v6.16b 140 ext v3.16b, v3.16b, v3.16b, #8 142 eor v5.16b, v4.16b, v5.16b [all …]
|
| /freebsd/contrib/ntp/libntp/lib/isc/ |
| H A D | buffer.c | 31 isc__buffer_init(isc_buffer_t *b, const void *base, unsigned int length) { in isc__buffer_init() argument 37 REQUIRE(b != NULL); in isc__buffer_init() 39 ISC__BUFFER_INIT(b, base, length); in isc__buffer_init() 43 isc__buffer_initnull(isc_buffer_t *b) { in isc__buffer_initnull() argument 49 ISC__BUFFER_INIT(b, NULL, 0); in isc__buffer_initnull() 53 isc_buffer_reinit(isc_buffer_t *b, void *base, unsigned int length) { in isc_buffer_reinit() argument 63 REQUIRE(b->length <= length); in isc_buffer_reinit() 66 (void)memmove(base, b->base, b->length); in isc_buffer_reinit() 67 b->base = base; in isc_buffer_reinit() 68 b->length = length; in isc_buffer_reinit() [all …]
|
| /freebsd/crypto/openssl/crypto/aes/asm/ |
| H A D | bsaes-armv8.pl | 1007 rev32 v15.16b, v15.16b 1032 b AES_cbc_encrypt 1056 eor v6.16b, v6.16b, v7.16b // fix up round 0 key (by XORing with 0x63) 1060 b .Lcbc_dec_loop 1081 eor v0.16b, v0.16b, v15.16b // ^= IV 1082 eor v1.16b, v1.16b, v16.16b 1087 eor v1.16b, v4.16b, v1.16b 1089 eor v2.16b, v2.16b, v4.16b 1090 eor v0.16b, v6.16b, v0.16b 1094 eor v0.16b, v7.16b, v4.16b [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | testutil.h | 288 #define PRINTF_FORMAT(a, b) argument 298 #define PRINTF_FORMAT(a, b) __attribute__((format(printf, a, b))) argument 358 const char *a, size_t an, const char *b, size_t bn); 360 const char *a, size_t an, const char *b, size_t bn); 379 int test_true(const char *file, int line, const char *s, int b); 380 int test_false(const char *file, int line, const char *s, int b); 430 #define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 431 #define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 432 #define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 433 #define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
| /freebsd/contrib/ntp/sntp/libopts/ |
| H A D | intprops.h | 106 #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) argument 160 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ argument 161 ((b) < 0 \ 162 ? (a) < (min) - (b) \ 163 : (max) - (b) < (a)) 167 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ argument 168 ((b) < 0 \ 169 ? (max) + (b) < (a) \ 170 : (a) < (min) + (b)) 183 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ argument [all …]
|
| /freebsd/contrib/bearssl/src/ec/ |
| H A D | ec_c25519_m15.c | 173 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 259 memcpy(v, b, 20 * sizeof *b); in mul20() 260 ZADD(v, 4, b, 0, b, 1); in mul20() 261 ZADD(v, 5, b, 2, b, 3); in mul20() 262 ZADD(v, 6, b, 0, b, 2); in mul20() 263 ZADD(v, 7, b, 1, b, 3); in mul20() 407 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 411 t[ 0] = MUL15(a[ 0], b[ 0]); in mul20() 412 t[ 1] = MUL15(a[ 0], b[ 1]) in mul20() 413 + MUL15(a[ 1], b[ 0]); in mul20() [all …]
|
| /freebsd/contrib/arm-optimized-routines/string/aarch64/ |
| H A D | strchr.S | 59 dup vrepchr.16b, chrin 64 b.eq L(loop) 70 ld1 {vdata1.16b, vdata2.16b}, [src], #32 72 cmeq vhas_nul1.16b, vdata1.16b, #0 73 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 74 cmeq vhas_nul2.16b, vdata2.16b, #0 75 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 76 bif vhas_nul1.16b, vhas_chr1.16b, vrepmask_0.16b 77 bif vhas_nul2.16b, vhas_chr2.16b, vrepmask_0.16b 78 and vend1.16b, vhas_nul1.16b, vrepmask_c.16b [all …]
|
| H A D | strrchr.S | 63 dup vrepchr.16b, chrin 69 b.eq L(aligned) 75 ld1 {vdata1.16b, vdata2.16b}, [src], #32 77 cmeq vhas_nul1.16b, vdata1.16b, #0 78 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 79 cmeq vhas_nul2.16b, vdata2.16b, #0 80 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 81 and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b 82 and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b 83 and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b [all …]
|
| H A D | strchrnul.S | 54 dup vrepchr.16b, chrin 58 b.eq L(loop) 64 ld1 {vdata1.16b, vdata2.16b}, [src], #32 66 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 67 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 68 cmhs vhas_nul1.16b, vhas_chr1.16b, vdata1.16b 69 cmhs vhas_nul2.16b, vhas_chr2.16b, vdata2.16b 70 and vhas_chr1.16b, vhas_nul1.16b, vrepmask.16b 71 and vhas_chr2.16b, vhas_nul2.16b, vrepmask.16b 73 addp vend1.16b, vhas_chr1.16b, vhas_chr2.16b // 256->128 [all …]
|
| /freebsd/contrib/bsnmp/lib/ |
| H A D | asn1.c | 59 asn_get_header(struct asn_buf *b, u_char *type, asn_len_t *len) in asn_get_header() argument 63 if (b->asn_len == 0) { in asn_get_header() 64 asn_error(b, "no identifier for header"); in asn_get_header() 67 *type = *b->asn_cptr; in asn_get_header() 69 asn_error(b, "tags > 0x1e not supported (%#x)", in asn_get_header() 73 b->asn_cptr++; in asn_get_header() 74 b->asn_len--; in asn_get_header() 75 if (b->asn_len == 0) { in asn_get_header() 76 asn_error(b, "no length field"); in asn_get_header() 79 if (*b->asn_cptr & 0x80) { in asn_get_header() [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/tracemem/ |
| H A D | tst.dynsize.d.out | 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 13 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 24 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 35 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 46 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 57 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 68 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 79 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 90 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 101 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef [all …]
|
| /freebsd/lib/libc/regex/grot/ |
| H A D | tests | 20 # b RE is a BRE, not an ERE 39 a|b|c - abc a 42 a(b)c - abc abc 43 a\(b\)c b abc abc 45 a( b a( a( 48 a\(b bC EPAREN 49 a(b C EPAREN 50 a(b b a(b a(b 55 a) b a) a) 58 a()b - ab ab [all …]
|