Home
last modified time | relevance | path

Searched refs:DWORD (Results 1 – 21 of 21) sorted by relevance

/system/bt/stack/smp/
Dp_256_multprecision.h29 typedef unsigned long DWORD; typedef
39 int multiprecision_compare(DWORD *a, DWORD *b, uint32_t keyLength);
40 int multiprecision_iszero(DWORD *a, uint32_t keyLength);
41 void multiprecision_init(DWORD *c, uint32_t keyLength);
42 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength);
43 UINT32 multiprecision_dword_bits (DWORD a);
44 UINT32 multiprecision_most_signdwords(DWORD *a, uint32_t keyLength);
45 UINT32 multiprecision_most_signbits(DWORD *a, uint32_t keyLength);
46 void multiprecision_inv_mod(DWORD *aminus, DWORD *a, uint32_t keyLength);
47 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a+b
[all …]
Dp_256_multprecision.c30 void multiprecision_init(DWORD *c, uint32_t keyLength) in multiprecision_init()
36 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength) in multiprecision_copy()
42 int multiprecision_compare(DWORD *a, DWORD *b, uint32_t keyLength) in multiprecision_compare()
54 int multiprecision_iszero(DWORD *a, uint32_t keyLength) in multiprecision_iszero()
63 UINT32 multiprecision_dword_bits(DWORD a) in multiprecision_dword_bits()
73 UINT32 multiprecision_most_signdwords(DWORD *a, uint32_t keyLength) in multiprecision_most_signdwords()
82 UINT32 multiprecision_most_signbits(DWORD *a, uint32_t keyLength) in multiprecision_most_signbits()
94 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength) in multiprecision_add()
96 DWORD carrier; in multiprecision_add()
97 DWORD temp; in multiprecision_add()
[all …]
Dp_256_ecc_pp.h29 typedef unsigned long DWORD; typedef
32 DWORD x[KEY_LENGTH_DWORDS_P256];
33 DWORD y[KEY_LENGTH_DWORDS_P256];
34 DWORD z[KEY_LENGTH_DWORDS_P256];
39 DWORD a[KEY_LENGTH_DWORDS_P256];
40 DWORD b[KEY_LENGTH_DWORDS_P256];
46 DWORD p[KEY_LENGTH_DWORDS_P256];
49 DWORD omega[KEY_LENGTH_DWORDS_P256];
59 void ECC_PointMult_Bin_NAF(Point *q, Point *p, DWORD *n, uint32_t keyLength);
Dp_256_ecc_pp.c46 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
47 DWORD t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
48 DWORD t3[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
49 DWORD *x1; in ECC_Double()
50 DWORD *x3; in ECC_Double()
51 DWORD *y1; in ECC_Double()
52 DWORD *y3; in ECC_Double()
53 DWORD *z1; in ECC_Double()
54 DWORD *z3; in ECC_Double()
93 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Add()
[all …]
Dsmp_keys.c1078 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD*) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key()
1115 ECC_PointMult(&new_publ_key, &peer_publ_key, (DWORD*) private_key, KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()
/system/core/base/
Derrors_windows.cpp28 static_assert(sizeof(int) >= sizeof(DWORD),
34 static constexpr DWORD kErrorMessageBufferSize = 256;
38 DWORD error_code = int_error_code; in SystemErrorCodeToString()
39 DWORD flags = FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS; in SystemErrorCodeToString()
40 DWORD len = FormatMessageW(flags, nullptr, error_code, 0, msgbuf, in SystemErrorCodeToString()
Dutf8.cpp54 const DWORD flags = in WideToUTF8()
98 const DWORD flags) { in UTF8ToWideWithFlags()
Dtest_utils.cpp61 DWORD result = GetTempPathA(sizeof(tmp_dir), tmp_dir); in GetSystemTempDir()
Dlogging.cpp107 DWORD nchars = GetModuleFileNameA(nullptr, longname, arraysize(longname));
/system/core/adb/
Dsysdeps_win32.cpp122 DWORD file_size; in load_file()
148 DWORD out_bytes; in load_file()
324 DWORD read_bytes; in _fh_file_read()
326 if ( !ReadFile( f->fh_handle, buf, (DWORD)len, &read_bytes, NULL ) ) { in _fh_file_read()
330 } else if (read_bytes < (DWORD)len) { in _fh_file_read()
337 DWORD wrote_bytes; in _fh_file_write()
339 if ( !WriteFile( f->fh_handle, buf, (DWORD)len, &wrote_bytes, NULL ) ) { in _fh_file_write()
343 } else if (wrote_bytes < (DWORD)len) { in _fh_file_write()
350 DWORD method; in _fh_file_lseek()
351 DWORD result; in _fh_file_lseek()
[all …]
Dadb.cpp515 static unsigned _redirect_pipe_thread(HANDLE h, DWORD nStdHandle) { in _redirect_pipe_thread()
569 DWORD bytes_read = 0; in _redirect_pipe_thread()
571 const DWORD err = GetLastError(); in _redirect_pipe_thread()
702 const DWORD module_result = GetModuleFileNameW(NULL, program_path, in launch_server()
781 DWORD count = 0; in launch_server()
785 const DWORD expected_length = arraysize(expected) - 1; in launch_server()
793 const DWORD err = GetLastError(); in launch_server()
809 const DWORD thread_timeout_ms = 15 * 1000; in launch_server()
811 const DWORD wait_result = WaitForMultipleObjects(arraysize(threads), in launch_server()
Dadb_utils_test.cpp48 DWORD cch = arraysize(profiles_dir); in TEST()
/system/core/adb/client/
Dmain.cpp43 DWORD nchars = GetTempPathW(arraysize(temp_path), temp_path); in GetLogFilePath()
82 static BOOL WINAPI ctrlc_handler(DWORD type) { in ctrlc_handler()
141 const DWORD bytes_to_write = arraysize(ack) - 1; in adb_server_main()
142 DWORD written = 0; in adb_server_main()
/system/core/libutils/
DThreads.cpp236 (void*) pDetails, 0, (DWORD*) &thrdaddr); in doCreateThread()
387 DWORD dwWaitResult;
400 DWORD dwWaitResult;
468 DWORD timeout = INFINITE;
477 DWORD res =
DFileMap.cpp136 DWORD protect = readOnly ? PAGE_READONLY : PAGE_READWRITE; in create()
153 (DWORD)(adjOffset), in create()
/system/core/libcutils/
Dsockets_windows.cpp79 DWORD bytes_sent = 0; in socket_send_buffers()
Dsocket_inaddr_any_server_windows.c52 DWORD v6_only = 0; in socket_inaddr_any_server()
/system/core/include/cutils/
Dthreads.h57 DWORD tls;
/system/tools/aidl/
Dio_delegate.cpp48 DWORD path_len = GetFullPathName(path.c_str(), sizeof(buf), buf, nullptr); in GetAbsolutePath()
/system/core/fastboot/
Dsocket.cpp285 DWORD error_code = WSAGetLastError(); in GetErrorMessage()
Dfastboot.cpp504 DWORD nchars = GetTempPath(sizeof(temp_path), temp_path); in win32_tmpfile()