Home
last modified time | relevance | path

Searched refs:state1 (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/crypto/aesni/
H A Dintel_sha256.c66 __m128i state0, state1; in intel_sha256_step() local
77 state1 = _mm_loadu_si128((__m128i*) (digest+4)); in intel_sha256_step()
80 state1 = _mm_shuffle_epi32(state1, 0x1B); // EFGH in intel_sha256_step()
81 state0 = _mm_alignr_epi8(tmp, state1, 8); // ABEF in intel_sha256_step()
82 state1 = _mm_blend_epi16(state1, tmp, 0xF0); // CDGH in intel_sha256_step()
89 cdgh_save = state1; in intel_sha256_step()
96 state1 = _mm_sha256rnds2_epu32(state1, state0, msg); in intel_sha256_step()
98 state0 = _mm_sha256rnds2_epu32(state0, state1, msg); in intel_sha256_step()
105 state1 = _mm_sha256rnds2_epu32(state1, state0, msg); in intel_sha256_step()
107 state0 = _mm_sha256rnds2_epu32(state0, state1, msg); in intel_sha256_step()
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprng.h68 uint32_t ret, state0, state1; in prng_lg_range_u32() local
77 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
79 state1, ATOMIC_RELAXED, ATOMIC_RELAXED)); in prng_lg_range_u32()
81 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
82 atomic_store_u32(state, state1, ATOMIC_RELAXED); in prng_lg_range_u32()
84 ret = state1 >> (32 - lg_range); in prng_lg_range_u32()
91 uint64_t ret, state1; in prng_lg_range_u64() local
96 state1 = prng_state_next_u64(*state); in prng_lg_range_u64()
97 *state = state1; in prng_lg_range_u64()
98 ret = state1 >> (64 - lg_range); in prng_lg_range_u64()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_range.cpp42 sptr state1 = 0; in Intersect() local
46 DCHECK_GE(state1, 0); in Intersect()
48 if (state1 && state2) { in Intersect()
57 state1 += e.diff1; in Intersect()
/freebsd/contrib/bc/src/
H A Drand.c332 * @param state1 The lower half of the state.
338 bc_rand_seedRNG(BcRNGData* r, ulong state1, ulong state2, ulong inc1, in bc_rand_seedRNG() argument
341 bc_rand_seedState(&r->state, state1, state2); in bc_rand_seedRNG()
355 ulong state1, state2, inc1, inc2; in bc_rand_fill() local
357 state1 = fulong(ptr); in bc_rand_fill()
363 bc_rand_seedRNG(r, state1, state2, inc1, inc2); in bc_rand_fill()
536 bc_rand_seed(BcRNG* r, ulong state1, ulong state2, ulong inc1, ulong inc2) in bc_rand_seed() argument
548 if (!state1 && !state2) in bc_rand_seed()
554 else bc_rand_seedState(&rng->state, state1, state2); in bc_rand_seed()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c177 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
183 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
190 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
200 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
212 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
221 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/
H A Dpool_state.ksh89 state1=$(zpool status $pool | awk '/state: /{print $2}');
92 log_note "Checking $expected = $state1 = $state2 = $state3"
93 if [[ "$expected" == "$state1" && "$expected" == "$state2" && \
/freebsd/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c242 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
248 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
255 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
265 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
277 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
286 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
/freebsd/contrib/byacc/
H A Dlalr.c229 Value_t state1 = sp->number; in set_goto_map() local
240 from_state[k] = state1; in set_goto_map()
375 Value_t state1 = from_state[i]; in build_relations() local
380 states[0] = state1; in build_relations()
381 stateno = state1; in build_relations()
/freebsd/contrib/lua/src/
H A Dlmathlib.c310 Rand64 state1 = state[1]; in nextrand() local
312 Rand64 state3 = state[3] ^ state1; in nextrand()
313 Rand64 res = rotl(state1 * 5, 7) * 9; in nextrand()
315 state[1] = state1 ^ state2; in nextrand()
316 state[2] = state2 ^ (state1 << 17); in nextrand()
/freebsd/bin/sh/
H A Dmain.c113 goto state1; in main()
141 state1: in main()
/freebsd/sys/dev/qat_c2xxx/
H A Dqat_hw15.c617 uint8_t *state1, *state2; in qat_hw15_crypto_setup_auth_setup() local
628 state1 = (uint8_t *)(auth_setup + 1); in qat_hw15_crypto_setup_auth_setup()
629 state2 = state1 + roundup(hash_def->qshd_qat->qshqi_state1_len, 8); in qat_hw15_crypto_setup_auth_setup()
643 memset(state1 + state_sz, 0, state1_pad_len); in qat_hw15_crypto_setup_auth_setup()
653 memcpy(state1, hash_def->qshd_alg->qshai_init_state, in qat_hw15_crypto_setup_auth_setup()
665 qs->qs_auth_klen, hash_def, state1, state2); in qat_hw15_crypto_setup_auth_setup()
/freebsd/sys/dev/qat/qat_api/firmware/include/
H A Dicp_qat_hw.h621 uint8_t state1[ICP_QAT_HW_SHA512_STATE1_SZ]; member
646 uint8_t state1[ICP_QAT_HW_SHA3_512_STATE1_SZ]; member
/freebsd/contrib/flex/src/
H A Dnfa.c94 void dumpnfa (int state1) in dumpnfa() argument
101 state1); in dumpnfa()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Diblinkinfo.c364 int state1, state2; in diff_node_ports() local
366 state1 = mad_get_field(fabric1_port->info, 0, in diff_node_ports()
371 if (state1 != state2) in diff_node_ports()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c825 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
833 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
841 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
851 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
863 …tream_completed) || (op==omax) || (FSE_endOfDStream(&bitD) && (fast || FSE_endOfDState(&state1))) ) in FSE_decompress_usingDTable_generic()
866 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
875 if (FSE_endOfDStream(&bitD) && FSE_endOfDState(&state1) && FSE_endOfDState(&state2)) in FSE_decompress_usingDTable_generic()
H A Dzstd_v03.c1349 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
1357 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
1365 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1375 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1387 …tream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) && (fast || FSE_endOfDState(&state1))) ) in FSE_decompress_usingDTable_generic()
1390 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1399 if (BIT_endOfDStream(&bitD) && FSE_endOfDState(&state1) && FSE_endOfDState(&state2)) in FSE_decompress_usingDTable_generic()
H A Dzstd_v02.c1348 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
1356 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
1364 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1374 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1386 …tream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) && (fast || FSE_endOfDState(&state1))) ) in FSE_decompress_usingDTable_generic()
1389 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1398 if (BIT_endOfDStream(&bitD) && FSE_endOfDState(&state1) && FSE_endOfDState(&state2)) in FSE_decompress_usingDTable_generic()
H A Dzstd_v04.c1328 FSE_DState_t state1; in FSE_decompress_usingDTable_generic() local
1336 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic()
1344 op[0] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1354 op[2] = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1366 …tream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) && (fast || FSE_endOfDState(&state1))) ) in FSE_decompress_usingDTable_generic()
1369 *op++ = FSE_GETSYMBOL(&state1); in FSE_decompress_usingDTable_generic()
1378 if (BIT_endOfDStream(&bitD) && FSE_endOfDState(&state1) && FSE_endOfDState(&state2)) in FSE_decompress_usingDTable_generic()
H A Dzstd_v05.c1435 FSEv05_DState_t state1; in FSEv05_decompress_usingDTable_generic() local
1443 FSEv05_initDState(&state1, &bitD, dt); in FSEv05_decompress_usingDTable_generic()
1450 op[0] = FSEv05_GETSYMBOL(&state1); in FSEv05_decompress_usingDTable_generic()
1460 op[2] = FSEv05_GETSYMBOL(&state1); in FSEv05_decompress_usingDTable_generic()
1471 …completed) || (op==omax) || (BITv05_endOfDStream(&bitD) && (fast || FSEv05_endOfDState(&state1))) ) in FSEv05_decompress_usingDTable_generic()
1474 *op++ = FSEv05_GETSYMBOL(&state1); in FSEv05_decompress_usingDTable_generic()
1483 if (BITv05_endOfDStream(&bitD) && FSEv05_endOfDState(&state1) && FSEv05_endOfDState(&state2)) in FSEv05_decompress_usingDTable_generic()
/freebsd/contrib/bc/include/
H A Drand.h481 * @param state1 The first part of the state.
487 bc_rand_seed(BcRNG* r, ulong state1, ulong state2, ulong inc1, ulong inc2);
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_ssl.c433 int state1 = is_open ? BUFFEREVENT_SSL_OPEN :BUFFEREVENT_SSL_CONNECTING; in open_ssl_bufevs() local
438 base, fd_pair[0], ssl1, state1, flags); in open_ssl_bufevs()
443 base, underlying_pair[0], ssl1, state1, flags); in open_ssl_bufevs()
/freebsd/contrib/libevent/test/
H A Dregress_ssl.c433 int state1 = is_open ? BUFFEREVENT_SSL_OPEN :BUFFEREVENT_SSL_CONNECTING; in open_ssl_bufevs() local
438 base, fd_pair[0], ssl1, state1, flags); in open_ssl_bufevs()
443 base, underlying_pair[0], ssl1, state1, flags); in open_ssl_bufevs()
/freebsd/sys/dev/qat/include/
H A Dicp_qat_hw.h203 uint8_t state1[ICP_QAT_HW_SHA512_STATE1_SZ]; member
/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c2066 u16 state1, state2; in FSE_decompress_interleaved2() local
2071 FSE_init_state(dtable, &state1, src, &offset); in FSE_decompress_interleaved2()
2084 IO_write_byte(out, FSE_decode_symbol(dtable, &state1, src, &offset)); in FSE_decompress_interleaved2()
2097 IO_write_byte(out, FSE_peek_symbol(dtable, state1)); in FSE_decompress_interleaved2()
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-rock2-square.dts46 label = "rock2:green:state1";

12