/freebsd/sys/crypto/openssl/aarch64/ |
H A D | aesv8-armx.S | 24 b.eq .Lenc_key_abort 26 b.eq .Lenc_key_abort 29 b.lt .Lenc_key_abort 31 b.gt .Lenc_key_abort 33 b.ne .Lenc_key_abort 38 eor v0.16b,v0.16b,v0.16b 39 ld1 {v3.16b},[x0],#16 43 b.lt .Loop128 44 b.eq .L192 45 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 | 106 movi v17.16b, #0x0f 136 and v1.16b, v7.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 137 ushr v0.16b, v7.16b, #4 // vpsrlb $4, %xmm0, %xmm0 138 tbl v1.16b, {v20.16b}, v1.16b // vpshufb %xmm1, %xmm2, %xmm1 140 tbl v2.16b, {v21.16b}, v0.16b // vpshufb %xmm0, %xmm3, %xmm2 141 eor v0.16b, v1.16b, v16.16b // vpxor %xmm5, %xmm1, %xmm0 142 eor v0.16b, v0.16b, v2.16b // vpxor %xmm2, %xmm0, %xmm0 143 b .Lenc_entry 149 tbl v4.16b, {v25.16b}, v2.16b // vpshufb %xmm2, %xmm13, %xmm4 # 4 = sb1u 151 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 | chacha-armv8.S | 27 b.lo .Lshort 33 b.ne .LChaCha20_neon 198 b.lo .Ltail 239 b.hi .Loop_outer 327 b.hs .L512_or_more_neon 397 eor v19.16b,v19.16b,v16.16b 399 eor v23.16b,v23.16b,v20.16b 401 eor v27.16b,v27.16b,v24.16b 403 eor v31.16b,v31.16b,v28.16b 421 eor v4.16b,v17.16b,v18.16b [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | buffer.c | 46 struct snd_dbuf *b; in sndbuf_create() local 48 b = malloc(sizeof(*b), M_DEVBUF, M_WAITOK | M_ZERO); in sndbuf_create() 49 snprintf(b->name, SNDBUF_NAMELEN, "%s:%s", drv, desc); in sndbuf_create() 50 b->dev = dev; in sndbuf_create() 51 b->channel = channel; in sndbuf_create() 53 return b; in sndbuf_create() 57 sndbuf_destroy(struct snd_dbuf *b) in sndbuf_destroy() argument 59 sndbuf_free(b); in sndbuf_destroy() 60 free(b, M_DEVBUF); in sndbuf_destroy() 72 struct snd_dbuf *b = (struct snd_dbuf *)arg; in sndbuf_setmap() local [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/asm-aarch64/blake3/ |
H A D | b3_aarch64_sse41.S | 81 eor v0.16b, v2.16b, v0.16b 82 eor v1.16b, v3.16b, v1.16b 147 and v0.8b, v1.8b, v0.8b 159 eor v1.16b, v1 [all...] |
H A D | b3_aarch64_sse2.S | 81 eor v0.16b, v2.16b, v0.16b 82 eor v1.16b, v3.16b, v1.16b 114 and v0.8b, v1.8b, v0.8b 124 eor v3.16b, v [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/test/ |
H A D | testutil.h | 289 # define PRINTF_FORMAT(a, b) argument 299 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 357 const char *a, size_t an, const char *b, size_t bn); 359 const char *a, size_t an, const char *b, size_t bn); 378 int test_true(const char *file, int line, const char *s, int b); 379 int test_false(const char *file, int line, const char *s, int b); 429 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 430 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 431 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 432 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
H A D | constant_time_test.c | 61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op() argument 62 const char *op_name, unsigned int a, unsigned int b, in test_binary_op() 65 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE)) in test_binary_op() 67 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE)) in test_binary_op() 73 char (*op) (unsigned int a, unsigned int b), in test_binary_op_8() argument 75 unsigned int b, int is_true) in test_binary_op_8() 77 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE_8)) in test_binary_op_8() 79 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_8)) in test_binary_op_8() 84 static int test_binary_op_s(size_t (*op) (size_t a, size_t b), in test_binary_op_s() argument 85 const char *op_name, size_t a, size_t b, in test_binary_op_s() [all …]
|
/freebsd/contrib/cortex-strings/src/aarch64/ |
H A D | strchr.S | 93 dup vrepchr.16b, chrin 98 b.eq .Lloop 104 ld1 {vdata1.16b, vdata2.16b}, [src], #32 106 cmeq vhas_nul1.16b, vdata1.16b, #0 107 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 108 cmeq vhas_nul2.16b, vdata2.16b, #0 109 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 110 and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b 111 and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b 112 and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b [all …]
|
H A D | strchrnul.S | 82 dup vrepchr.16b, chrin 86 b.eq .Lloop 92 ld1 {vdata1.16b, vdata2.16b}, [src], #32 94 cmeq vhas_nul1.16b, vdata1.16b, #0 95 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 96 cmeq vhas_nul2.16b, vdata2.16b, #0 97 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 98 orr vhas_chr1.16b, vhas_chr1.16b, vhas_nul1.16b 99 orr vhas_chr2.16b, vhas_chr2.16b, vhas_nul2.16b 100 and vhas_chr1.16b, vhas_chr1.16b, vrepmask.16b [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 | 60 dup vrepchr.16b, chrin 65 b.eq L(loop) 71 ld1 {vdata1.16b, vdata2.16b}, [src], #32 73 cmeq vhas_nul1.16b, vdata1.16b, #0 74 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 75 cmeq vhas_nul2.16b, vdata2.16b, #0 76 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 77 bif vhas_nul1.16b, vhas_chr1.16b, vrepmask_0.16b 78 bif vhas_nul2.16b, vhas_chr2.16b, vrepmask_0.16b 79 and vend1.16b, vhas_nul1.16b, vrepmask_c.16b [all …]
|
H A D | strrchr.S | 64 dup vrepchr.16b, chrin 70 b.eq L(aligned) 76 ld1 {vdata1.16b, vdata2.16b}, [src], #32 78 cmeq vhas_nul1.16b, vdata1.16b, #0 79 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 80 cmeq vhas_nul2.16b, vdata2.16b, #0 81 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 82 and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b 83 and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b 84 and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b [all …]
|
H A D | strchrnul.S | 55 dup vrepchr.16b, chrin 59 b.eq L(loop) 65 ld1 {vdata1.16b, vdata2.16b}, [src], #32 67 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 68 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 69 cmhs vhas_nul1.16b, vhas_chr1.16b, vdata1.16b 70 cmhs vhas_nul2.16b, vhas_chr2.16b, vdata2.16b 71 and vhas_chr1.16b, vhas_nul1.16b, vrepmask.16b 72 and vhas_chr2.16b, vhas_nul2.16b, vrepmask.16b 74 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 …]
|
/freebsd/crypto/openssh/ |
H A D | bitmap.c | 54 bitmap_free(struct bitmap *b) in bitmap_free() argument 56 if (b != NULL && b->d != NULL) { in bitmap_free() 57 bitmap_zero(b); in bitmap_free() 58 free(b->d); in bitmap_free() 59 b->d = NULL; in bitmap_free() 61 free(b); in bitmap_free() 65 bitmap_zero(struct bitmap *b) in bitmap_zero() argument 67 memset(b->d, 0, b->len * BITMAP_BYTES); in bitmap_zero() 68 b->top = 0; in bitmap_zero() 72 bitmap_test_bit(struct bitmap *b, u_int n) in bitmap_test_bit() argument [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/ |
H A D | subexp.in | 2 a(b)(c)d - abcd abcd b,c 3 a(((b)))c - abc abc b,b,b 4 a(b|(c))d - abd abd b,- 5 a(b*|c|e)d - abbd abbd bb 6 a(b*|c|e)d - acd acd c 7 a(b*|c|e)d - ad ad @d 8 a(b?)c - abc abc b 9 a(b?)c - ac ac @c 10 a(b+)c - abc abc b 11 a(b+)c - abbbc abbbc bbb [all …]
|
/freebsd/contrib/file/src/ |
H A D | buffer.c | 40 buffer_init(struct buffer *b, int fd, const struct stat *st, const void *data, in buffer_init() argument 43 b->fd = fd; in buffer_init() 45 memcpy(&b->st, st, sizeof(b->st)); in buffer_init() 46 else if (b->fd == -1 || fstat(b->fd, &b->st) == -1) in buffer_init() 47 memset(&b->st, 0, sizeof(b->st)); in buffer_init() 48 b->fbuf = data; in buffer_init() 49 b->flen = len; in buffer_init() 50 b->eoff = 0; in buffer_init() 51 b->ebuf = NULL; in buffer_init() 52 b->elen = 0; in buffer_init() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | animation | 15 >12 string mvhd \b movie (fast start) 16 >12 string mdra \b URL 17 >12 string cmov \b movie (fast start, compressed header) 18 >12 string rmra \b multiple URLs 39 >8 string XAVC \b, MPEG v4 system, Sony XAVC Codec 41 >>96 string x \b, Audio "%.4s" 43 >>140 string x \b, Video "%.4s" 46 >8 string 3g2 \b, MPEG v4 system, 3GPP2 48 >>11 byte 4 \b v4 (H.263/AMR GSM 6.10) 49 >>11 byte 5 \b v5 (H.263/AMR GSM 6.10) [all …]
|