Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 198) sorted by relevance

12345678

/lib/
A Dsmbios.c382 if (t->bios_ver) in smbios_write_type0()
421 unmap_sysmem(t); in smbios_write_type0()
449 strlcpy((char *)t->uuid, serial_str, sizeof(t->uuid)); in smbios_write_type1()
458 memcpy(t->uuid, uuid, sizeof(t->uuid)); in smbios_write_type1()
469 unmap_sysmem(t); in smbios_write_type1()
491 eos_addr = (u8 *)t + len - sizeof(t->eos); in smbios_write_type2()
526 unmap_sysmem(t); in smbios_write_type2()
557 eos_addr = (u8 *)t + len - sizeof(t->eos); in smbios_write_type3()
607 unmap_sysmem(t); in smbios_write_type3()
662 if (t->processor_id[0] || t->processor_id[1] || in smbios_write_type4_dm()
[all …]
A Dmd5.c44 __u32 t; in byteReverse() local
48 *(__u32 *) buf = t; in byteReverse()
76 register __u32 t; in MD5Update() local
80 t = ctx->bits[0]; in MD5Update()
81 if ((ctx->bits[0] = t + ((__u32) len << 3)) < t) in MD5Update()
85 t = (t >> 3) & 0x3f; /* Bytes already in shsInfo->data */ in MD5Update()
89 if (t) { in MD5Update()
92 t = 64 - t; in MD5Update()
93 if (len < t) { in MD5Update()
100 buf += t; in MD5Update()
[all …]
A Drational.c80 unsigned long t = min((max_numerator - n0) / n1, in rational_best_approximation() local
86 if (2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()
87 n1 = n0 + t * n1; in rational_best_approximation()
88 d1 = d0 + t * d1; in rational_best_approximation()
A Dbch.c392 const int t = GF_T(bch); in compute_syndromes() local
408 for (j = 0; j < 2*t; j += 2) in compute_syndromes()
416 for (j = 0; j < t; j++) in compute_syndromes()
437 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
445 for (i = 0; (i < t) && (elp->deg <= t); i++) { in compute_error_locator_polynomial()
467 if (i < t-1) { in compute_error_locator_polynomial()
584 rows[k] ^= (t << j); in find_affine4_roots()
585 rows[k+j] ^= t; in find_affine4_roots()
1233 for (i = 0; i < t; i++) { in compute_generator_polynomial()
1330 if ((t < 1) || (m*t >= ((1 << m)-1))) in init_bch()
[all …]
A Drc4.c15 unsigned short i, j, t; in rc4_encode() local
42 t = (s[i] + (s[j] % 256)) % 256; in rc4_encode()
43 buf[ptr] = buf[ptr] ^ s[t]; in rc4_encode()
A Ddiv64.c172 s64 quot, t; in div64_s64() local
175 t = (dividend ^ divisor) >> 63; in div64_s64()
177 return (quot ^ t) - t; in div64_s64()
/lib/lzo/
A Dlzo1x_decompress.c148 size_t t; in lzo1x_decompress_safe() local
154 if (t < 4) in lzo1x_decompress_safe()
167 t = *ip++; in lzo1x_decompress_safe()
168 if (t >= 16) in lzo1x_decompress_safe()
174 t += 255; in lzo1x_decompress_safe()
195 t -= 4; in lzo1x_decompress_safe()
210 t = *ip++; in lzo1x_decompress_safe()
234 t = (t >> 5) - 1; in lzo1x_decompress_safe()
241 t &= 31; in lzo1x_decompress_safe()
260 t &= 7; in lzo1x_decompress_safe()
[all …]
/lib/mbedtls/external/mbedtls/library/
A Dsha3.c108 uint64_t t; in keccak_f1600() local
117 s[i] ^= t; s[i + 5] ^= t; s[i + 10] ^= t; s[i + 15] ^= t; s[i + 20] ^= t; in keccak_f1600()
127 s[0] ^= t; s[5] ^= t; s[10] ^= t; s[15] ^= t; s[20] ^= t; in keccak_f1600()
130 s[1] ^= t; s[6] ^= t; s[11] ^= t; s[16] ^= t; s[21] ^= t; in keccak_f1600()
133 s[2] ^= t; s[7] ^= t; s[12] ^= t; s[17] ^= t; s[22] ^= t; in keccak_f1600()
136 s[3] ^= t; s[8] ^= t; s[13] ^= t; s[18] ^= t; s[23] ^= t; in keccak_f1600()
139 s[4] ^= t; s[9] ^= t; s[14] ^= t; s[19] ^= t; s[24] ^= t; in keccak_f1600()
160 t = s[1]; in keccak_f1600()
171 SWAP(s[MBEDTLS_BYTE_0(p)], t); SWAP(s[MBEDTLS_BYTE_1(p)], t); in keccak_f1600()
172 SWAP(s[MBEDTLS_BYTE_2(p)], t); SWAP(s[MBEDTLS_BYTE_3(p)], t); in keccak_f1600()
[all …]
A Daes.c892 } t; in mbedtls_internal_aes_encrypt() local
894 t.X[0] = MBEDTLS_GET_UINT32_LE(input, 0); t.X[0] ^= *RK++; in mbedtls_internal_aes_encrypt()
900 AES_FROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_encrypt()
901 AES_FROUND(t.X[0], t.X[1], t.X[2], t.X[3], t.Y[0], t.Y[1], t.Y[2], t.Y[3]); in mbedtls_internal_aes_encrypt()
904 AES_FROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_encrypt()
935 mbedtls_platform_zeroize(&t, sizeof(t)); in mbedtls_internal_aes_encrypt()
954 } t; in mbedtls_internal_aes_decrypt() local
962 AES_RROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_decrypt()
963 AES_RROUND(t.X[0], t.X[1], t.X[2], t.X[3], t.Y[0], t.Y[1], t.Y[2], t.Y[3]); in mbedtls_internal_aes_decrypt()
966 AES_RROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_decrypt()
[all …]
A Dtiming.c68 struct _hr_time *t = (struct _hr_time *) val; in mbedtls_timing_get_timer() local
71 QueryPerformanceCounter(&t->start); in mbedtls_timing_get_timer()
78 delta = (unsigned long) ((now.QuadPart - t->start.QuadPart) * 1000ul in mbedtls_timing_get_timer()
88 struct _hr_time *t = (struct _hr_time *) val; in mbedtls_timing_get_timer() local
91 gettimeofday(&t->start, NULL); in mbedtls_timing_get_timer()
97 delta = (now.tv_sec - t->start.tv_sec) * 1000ul in mbedtls_timing_get_timer()
98 + (now.tv_usec - t->start.tv_usec) / 1000; in mbedtls_timing_get_timer()
A Dhkdf.c74 unsigned char t[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf_expand() local
111 memset(t, 0, hash_len); in mbedtls_hkdf_expand()
126 ret = mbedtls_md_hmac_update(&ctx, t, t_len); in mbedtls_hkdf_expand()
143 ret = mbedtls_md_hmac_finish(&ctx, t); in mbedtls_hkdf_expand()
149 memcpy(okm + where, t, num_to_copy); in mbedtls_hkdf_expand()
156 mbedtls_platform_zeroize(t, sizeof(t)); in mbedtls_hkdf_expand()
A Dnist_kw.c113 static void calc_a_xor_t(unsigned char A[KW_SEMIBLOCK_LENGTH], uint64_t t) in calc_a_xor_t() argument
116 for (i = 0; i < sizeof(t); i++) { in calc_a_xor_t()
117 A[i] ^= (t >> ((sizeof(t) - 1 - i) * 8)) & 0xff; in calc_a_xor_t()
134 uint64_t t = 0; in mbedtls_nist_kw_wrap() local
214 for (t = 1; t <= s; t++) { in mbedtls_nist_kw_wrap()
225 calc_a_xor_t(A, t); in mbedtls_nist_kw_wrap()
264 uint64_t t = 0; in unwrap() local
279 for (t = s; t >= 1; t--) { in unwrap()
280 calc_a_xor_t(A, t); in unwrap()
A Dbignum_core.c414 c = (t < A[i]); in mbedtls_mpi_core_add()
415 t += B[i]; in mbedtls_mpi_core_add()
416 c += (t < B[i]); in mbedtls_mpi_core_add()
417 X[i] = t; in mbedtls_mpi_core_add()
435 c = (t < X[i]); in mbedtls_mpi_core_add_if()
436 t += add; in mbedtls_mpi_core_add_if()
437 c += (t < add); in mbedtls_mpi_core_add_if()
438 X[i] = t; in mbedtls_mpi_core_add_if()
455 X[i] = t - B[i]; in mbedtls_mpi_core_sub()
852 c = (t > s); in mbedtls_mpi_core_sub_int()
[all …]
/lib/lwip/lwip/src/core/
A Dtimeouts.c186 struct sys_timeo *timeout, *t; in sys_timeout_abs() local
213 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_abs()
214 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { in sys_timeout_abs()
216 t->next = timeout; in sys_timeout_abs()
319 struct sys_timeo *prev_t, *t; in sys_untimeout() local
327 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
328 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout()
332 next_timeout = t->next; in sys_untimeout()
408 struct sys_timeo *t; in sys_restart_timeouts() local
417 for (t = next_timeout; t != NULL; t = t->next) { in sys_restart_timeouts()
[all …]
A Dmemp.c103 struct memp *t, *h; in memp_sanity() local
105 t = *desc->tab; in memp_sanity()
106 if (t != NULL) { in memp_sanity()
107 for (h = t->next; (t != NULL) && (h != NULL); t = t->next, in memp_sanity()
109 if (t == h) { in memp_sanity()
A Dinet_chksum.c137 u16_t t = 0; in lwip_standard_chksum() local
143 ((u8_t *)&t)[1] = *pb++; in lwip_standard_chksum()
156 ((u8_t *)&t)[0] = *(const u8_t *)ps; in lwip_standard_chksum()
160 sum += t; in lwip_standard_chksum()
193 u16_t t = 0; in lwip_standard_chksum() local
200 ((u8_t *)&t)[1] = *pb++; in lwip_standard_chksum()
240 ((u8_t *)&t)[0] = *(const u8_t *)ps; in lwip_standard_chksum()
243 sum += t; /* add end bytes */ in lwip_standard_chksum()
/lib/bzip2/
A Dbzlib_compress.c299 for (t = 0; t < BZ_N_GROUPS; t++) in sendMTFValues()
356 for (t = 0; t < nGroups; t++) fave[t] = 0; in sendMTFValues()
358 for (t = 0; t < nGroups; t++) in sendMTFValues()
388 for (t = 0; t < nGroups; t++) cost[t] = 0; in sendMTFValues()
423 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]; in sendMTFValues()
432 for (t = 0; t < nGroups; t++) in sendMTFValues()
433 if (cost[t] < bc) { bc = cost[t]; bt = t; }; in sendMTFValues()
471 for (t = 0; t < nGroups; t++) in sendMTFValues()
481 for (t = 0; t < nGroups; t++) in sendMTFValues()
511 for (t = 0; t < nGroups; t++) { in sendMTFValues()
[all …]
A Dbzlib_decompress.c154 Int32 t; in BZ2_decompress() local
355 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
365 s->len[t][i] = curr; in BZ2_decompress()
370 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
374 if (s->len[t][i] > maxLen) maxLen = s->len[t][i]; in BZ2_decompress()
375 if (s->len[t][i] < minLen) minLen = s->len[t][i]; in BZ2_decompress()
378 &(s->limit[t][0]), in BZ2_decompress()
379 &(s->base[t][0]), in BZ2_decompress()
380 &(s->perm[t][0]), in BZ2_decompress()
381 &(s->len[t][0]), in BZ2_decompress()
[all …]
/lib/lwip/lwip/src/include/lwip/
A Dapi.h97 #define NETCONNTYPE_GROUP(t) ((t)&0xF0) argument
98 #define NETCONNTYPE_DATAGRAM(t) ((t)&0xE0) argument
101 #define NETCONNTYPE_ISIPV6(t) (((t)&NETCONN_TYPE_IPV6) != 0) argument
102 #define NETCONNTYPE_ISUDPLITE(t) (((t)&0xF3) == NETCONN_UDPLITE) argument
103 #define NETCONNTYPE_ISUDPNOCHKSUM(t) (((t)&0xF3) == NETCONN_UDPNOCHKSUM) argument
105 #define NETCONNTYPE_ISIPV6(t) (0)
106 #define NETCONNTYPE_ISUDPLITE(t) ((t) == NETCONN_UDPLITE)
107 #define NETCONNTYPE_ISUDPNOCHKSUM(t) ((t) == NETCONN_UDPNOCHKSUM)
310 #define netconn_new(t) netconn_new_with_proto_and_callback(t, 0, NULL) argument
311 #define netconn_new_with_callback(t, c) netconn_new_with_proto_and_callback(t, 0, c) argument
[all …]
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_constant_time.function97 unsigned char l = li, h = hi, t = ti;
105 TEST_CF_SECRET(&t, sizeof(t));
112 TEST_CF_PUBLIC(&t, sizeof(t));
122 int expected = c ? t : f;
123 int expected0 = c ? t : 0;
126 TEST_CF_SECRET(&t, sizeof(t));
133 TEST_CF_PUBLIC(&t, sizeof(t));
145 mbedtls_ct_uint_t expected = c ? t : f;
146 mbedtls_ct_uint_t expected0 = c ? t : 0;
149 TEST_CF_SECRET(&t, sizeof(t));
[all …]
/lib/lwip/lwip/src/netif/ppp/
A DPPPD_FOLLOWUP37 Don't care.
43 Don't care.
151 Change on Makefile, don't care.
308 Solaris port, don't care.
370 We didn't merge 08ef47ca ;-)
443 Merge commit, we don't care.
449 Merge commit, we don't care.
455 Merge commit, we don't care.
461 Merge commit, we don't care.
467 Merge commit, we don't care.
[all …]
/lib/lwip/lwip/test/sockets/
A Dsockets_stresstest.c457 sys_thread_t t; in sockets_stresstest_conn_client() local
464 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_conn_client()
570 sys_thread_t t; in sockets_stresstest_start_clients() local
573 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_start_clients()
611 sys_thread_t t; in sockets_stresstest_listener() local
615 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_listener()
659 sys_thread_t t; in sockets_stresstest_init_loopback() local
672 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_init_loopback()
678 sys_thread_t t; in sockets_stresstest_init_server() local
690 t = sys_thread_new("sockets_stresstest_listener", sockets_stresstest_listener, settings, 0, 0); in sockets_stresstest_init_server()
[all …]
/lib/mbedtls/external/mbedtls/3rdparty/p256-m/p256-m/
A Dp256-m.c222 : [z] "+l" (z), [t] "+l" (t) in u32_muladd64()
225 return ((uint64_t) t << 32) | z; in u32_muladd64()
289 : [z] "l" (z), [t] "l" (t) in u32_muladd64()
306 return (uint64_t) x * y + z + t; in u32_muladd64()
329 acc += t; in u32_muladd64()
734 uint32_t t[8]; in m256_from_bytes() local
852 uint32_t t[8]; in point_to_affine() local
859 m256_mul_p(t, t, z); /* t = z^-3 */ in point_to_affine()
1281 uint32_t t[8]; in ecdsa_m256_mod_n() local
1282 uint32_t c = u256_sub(t, x, p256_n.m); in ecdsa_m256_mod_n()
[all …]
/lib/lwip/lwip/src/include/lwip/priv/
A Dtcpip_priv.h81 #define API_MSG_M_DEF_C(t, m) t m argument
94 #define API_MSG_M_DEF_C(t, m) const t * m argument
/lib/mbedtls/external/mbedtls/3rdparty/everest/include/everest/kremlin/internal/
A Dtarget.h69 #define KRML_EABORT(t, msg) \ argument
71 KRML_HOST_EXIT(255), *((t *)KRML_HOST_MALLOC(sizeof(t))))

Completed in 63 milliseconds

12345678