Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 27) sorted by relevance

12

/lib/kunit/
A Dattributes.c93 return (val <= input); in int_filter()
95 return (val >= input); in int_filter()
97 return (val != input); in int_filter()
99 return (val > input); in int_filter()
101 return (val < input); in int_filter()
103 return (val == input); in int_filter()
385 filter.input = input + op_index; in kunit_next_attr_filter()
386 input = input + new_start_index; in kunit_next_attr_filter()
388 filter.input = input + op_index; in kunit_next_attr_filter()
389 input = NULL; in kunit_next_attr_filter()
[all …]
A Dexecutor_test.c136 KUNIT_EXPECT_STREQ(test, parsed_filters[0].input, ">slow"); in parse_filter_attr_test()
139 KUNIT_EXPECT_STREQ(test, parsed_filters[1].input, "!=example"); in parse_filter_attr_test()
/lib/crypto/
A Dcurve25519-hacl64.c187 u64 tmp[5] = { input[0], input[1], input[2], input[3], input[4] }; in fmul_fmul()
285 memcpy(output, input, 5 * sizeof(*input)); in fsquare_fsquare_times()
473 memcpy(output, input, 5 * sizeof(*input)); in point_copy()
474 memcpy(output + 5, input + 5, 5 * sizeof(*input)); in point_copy()
640 input[0] = t0_; in format_fcontract_first_carry_pass()
644 input[4] = t4_; in format_fcontract_first_carry_pass()
668 input[0] = t0_; in format_fcontract_second_carry_pass()
672 input[4] = t4_; in format_fcontract_second_carry_pass()
683 i0 = input[0]; in format_fcontract_second_carry_full()
684 i1 = input[1]; in format_fcontract_second_carry_full()
[all …]
A Dpoly1305-donna32.c36 const u8 *input = src; in poly1305_core_blocks() local
67 h0 += (get_unaligned_le32(&input[0])) & 0x3ffffff; in poly1305_core_blocks()
68 h1 += (get_unaligned_le32(&input[3]) >> 2) & 0x3ffffff; in poly1305_core_blocks()
69 h2 += (get_unaligned_le32(&input[6]) >> 4) & 0x3ffffff; in poly1305_core_blocks()
70 h3 += (get_unaligned_le32(&input[9]) >> 6) & 0x3ffffff; in poly1305_core_blocks()
71 h4 += (get_unaligned_le32(&input[12]) >> 8) | hibit; in poly1305_core_blocks()
110 input += POLY1305_BLOCK_SIZE; in poly1305_core_blocks()
A Dsha256.c56 static inline void LOAD_OP(int I, u32 *W, const u8 *input) in LOAD_OP() argument
58 W[I] = get_unaligned_be32((__u32 *)input + I); in LOAD_OP()
76 const u8 *input, u32 W[64]) in sha256_block_generic() argument
83 LOAD_OP(i + 0, W, input); in sha256_block_generic()
84 LOAD_OP(i + 1, W, input); in sha256_block_generic()
85 LOAD_OP(i + 2, W, input); in sha256_block_generic()
86 LOAD_OP(i + 3, W, input); in sha256_block_generic()
87 LOAD_OP(i + 4, W, input); in sha256_block_generic()
88 LOAD_OP(i + 5, W, input); in sha256_block_generic()
89 LOAD_OP(i + 6, W, input); in sha256_block_generic()
[all …]
A Dpoly1305-donna64.c37 const u8 *input = src; in poly1305_core_blocks() local
65 t0 = get_unaligned_le64(&input[0]); in poly1305_core_blocks()
66 t1 = get_unaligned_le64(&input[8]); in poly1305_core_blocks()
103 input += POLY1305_BLOCK_SIZE; in poly1305_core_blocks()
A Dchacha20poly1305-selftest.c18 const u8 *input, *output, *assoc, *nonce, *key; member
8889 u8 *computed_output = NULL, *input = NULL; in chacha20poly1305_selftest() local
8895 if (!computed_output || !input) { in chacha20poly1305_selftest()
8904 chacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
8947 chacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
8990 xchacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
9009 xchacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
9034 sg_set_buf(&sg_src[k++], input, i); in chacha20poly1305_selftest()
9041 memset(input, 0, total_len); in chacha20poly1305_selftest()
9064 if (input[k]) in chacha20poly1305_selftest()
[all …]
A Dsha1.c60 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument
61 __u32 TEMP = input(t); setW(t, TEMP); \
/lib/
A Ddecompress_unlzo.c41 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument
44 u8 *parse = input; in parse_header()
45 u8 *end = input + in_len; in parse_header()
93 *skip = parse - input; in parse_header()
97 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() argument
123 if (input && fill) { in unlzo()
126 } else if (input) { in unlzo()
127 in_buf = input; in unlzo()
267 if (!input) in unlzo()
A Dxxhash.c94 static uint32_t xxh32_round(uint32_t seed, const uint32_t input) in xxh32_round() argument
96 seed += input * PRIME32_2; in xxh32_round()
102 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) in xxh32() argument
104 const uint8_t *p = (const uint8_t *)input; in xxh32()
156 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) in xxh64_round() argument
158 acc += input * PRIME64_2; in xxh64_round()
174 const uint8_t *p = (const uint8_t *)input; in xxh64()
272 const uint8_t *p = (const uint8_t *)input; in xxh64_update()
275 if (input == NULL) in xxh64_update()
281 memcpy(((uint8_t *)state->mem64) + state->memsize, input, len); in xxh64_update()
[all …]
A Ddecompress_unlz4.c31 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4() argument
45 size_t out_len = get_unaligned_le32(input + in_len); in unlz4()
63 if (input && fill) { in unlz4()
66 } else if (input) { in unlz4()
67 inp = input; in unlz4()
197 if (!input) in unlz4()
A DKconfig.kgdb123 bool "KGDB_KDB: keyboard as input device"
128 KDB can use a PS/2 type keyboard for an input device
A Dkobject_uevent.c775 .input = uevent_net_rcv, in uevent_net_init()
/lib/zstd/decompress/
A Dzstd_decompress.c2012 const char* const istart = input->pos != 0 ? src + input->pos : src; in ZSTD_decompressStream()
2013 const char* const iend = input->size != 0 ? src + input->size : src; in ZSTD_decompressStream()
2024 input->pos > input->size, in ZSTD_decompressStream()
2027 (U32)input->pos, (U32)input->size); in ZSTD_decompressStream()
2033 DEBUGLOG(5, "input size : %u", (U32)(input->size - input->pos)); in ZSTD_decompressStream()
2065 input->pos = input->size; in ZSTD_decompressStream()
2243 input->pos = (size_t)(ip - (const char*)(input->src)); in ZSTD_decompressStream()
2263 if (input->pos >= input->size) { in ZSTD_decompressStream()
2291 ZSTD_inBuffer input; in ZSTD_decompressStream_simpleArgs() local
2295 input.src = src; in ZSTD_decompressStream_simpleArgs()
[all …]
/lib/zstd/
A Dzstd_decompress_module.c121 zstd_in_buffer *input) in zstd_decompress_stream() argument
123 return ZSTD_decompressStream(dstream, output, input); in zstd_decompress_stream()
A Dzstd_compress_module.c247 zstd_in_buffer *input) in zstd_compress_stream() argument
249 return ZSTD_compressStream(cstream, output, input); in zstd_compress_stream()
/lib/tests/
A Dstring_kunit.c529 static const char input[sizeof(unsigned long)] = "hi"; in string_test_strtomem() local
544 strtomem(wrap.output, input); in string_test_strtomem()
546 KUNIT_EXPECT_EQ(test, wrap.output[0], input[0]); in string_test_strtomem()
547 KUNIT_EXPECT_EQ(test, wrap.output[1], input[1]); in string_test_strtomem()
562 strtomem_pad(wrap.output, input, 0xAA); in string_test_strtomem()
564 KUNIT_EXPECT_EQ(test, wrap.output[0], input[0]); in string_test_strtomem()
565 KUNIT_EXPECT_EQ(test, wrap.output[1], input[1]); in string_test_strtomem()
/lib/zstd/compress/
A Dzstd_compress.c5994 const char* const istart = (assert(input != NULL), (const char*)input->src); in ZSTD_compressStream_generic()
6019 if (input->src == NULL) assert(input->size == 0); in ZSTD_compressStream_generic()
6020 assert(input->pos <= input->size); in ZSTD_compressStream_generic()
6212 if (expect.src != input->src || expect.pos != input->pos) in ZSTD_checkBufferStability()
6299 RETURN_ERROR_IF(input->pos > input->size, srcSize_wrong, "invalid input buffer"); in ZSTD_compressStream2()
6316 input->pos = input->size; in ZSTD_compressStream2()
6344 ZSTD_inBuffer input; in ZSTD_compressStream2_simpleArgs() local
6348 input.src = src; in ZSTD_compressStream2_simpleArgs()
6349 input.size = srcSize; in ZSTD_compressStream2_simpleArgs()
6350 input.pos = *srcPos; in ZSTD_compressStream2_simpleArgs()
[all …]
/lib/crypto/x86/
A Dchacha-avx512vl-x86_64.S30 # %rdx: up to 2 data blocks input, i
31 # %rcx: input/output length in bytes
195 # %rdx: up to 4 data blocks input, i
196 # %rcx: input/output length in bytes
461 # %rdx: up to 8 data blocks input, i
462 # %rcx: input/output length in bytes
A Dchacha-ssse3-x86_64.S117 # %rdx: up to 1 data block input, i
118 # %rcx: input/output length in bytes
226 # %rdx: up to 4 data blocks input, i
227 # %rcx: input/output length in bytes
650 # xor with corresponding input, write to output
A Dchacha-avx2-x86_64.S40 # %rdx: up to 2 data blocks input, i
41 # %rcx: input/output length in bytes
232 # %rdx: up to 4 data blocks input, i
233 # %rcx: input/output length in bytes
537 # %rdx: up to 8 data blocks input, i
538 # %rcx: input/output length in bytes
A Dsha256-avx-asm.S308 ## input is [rsp + _XFER + %1 * 4]
387 ## schedule 48 input dwords, by doing 3 rounds of 16 each
A Dsha256-ssse3-asm.S315 ## input is [rsp + _XFER + %1 * 4]
395 ## schedule 48 input dwords, by doing 3 rounds of 16 each
/lib/crypto/powerpc/
A Dpoly1305-p10le_64.S561 # input m1 m2
672 # input m1 m2 m3 m4
/lib/crypto/arm/
A Dsha1-armv4-large.S50 @ issue Cortex A8 core was measured to process input block in
56 @ Cortex A8 core and in absolute terms ~870 cycles per input block

Completed in 836 milliseconds

12