/system/bt/stack/smp/ |
D | p_256_multprecision.h | 29 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 …]
|
D | p_256_multprecision.c | 30 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 …]
|
D | p_256_ecc_pp.h | 29 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);
|
D | p_256_ecc_pp.c | 46 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 …]
|
D | smp_keys.c | 1078 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/ |
D | errors_windows.cpp | 28 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()
|
D | utf8.cpp | 54 const DWORD flags = in WideToUTF8() 98 const DWORD flags) { in UTF8ToWideWithFlags()
|
D | test_utils.cpp | 61 DWORD result = GetTempPathA(sizeof(tmp_dir), tmp_dir); in GetSystemTempDir()
|
D | logging.cpp | 107 DWORD nchars = GetModuleFileNameA(nullptr, longname, arraysize(longname));
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 122 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 …]
|
D | adb.cpp | 515 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()
|
D | adb_utils_test.cpp | 48 DWORD cch = arraysize(profiles_dir); in TEST()
|
/system/core/adb/client/ |
D | main.cpp | 43 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/ |
D | Threads.cpp | 236 (void*) pDetails, 0, (DWORD*) &thrdaddr); in doCreateThread() 387 DWORD dwWaitResult; 400 DWORD dwWaitResult; 468 DWORD timeout = INFINITE; 477 DWORD res =
|
D | FileMap.cpp | 136 DWORD protect = readOnly ? PAGE_READONLY : PAGE_READWRITE; in create() 153 (DWORD)(adjOffset), in create()
|
/system/core/libcutils/ |
D | sockets_windows.cpp | 79 DWORD bytes_sent = 0; in socket_send_buffers()
|
D | socket_inaddr_any_server_windows.c | 52 DWORD v6_only = 0; in socket_inaddr_any_server()
|
/system/core/include/cutils/ |
D | threads.h | 57 DWORD tls;
|
/system/tools/aidl/ |
D | io_delegate.cpp | 48 DWORD path_len = GetFullPathName(path.c_str(), sizeof(buf), buf, nullptr); in GetAbsolutePath()
|
/system/core/fastboot/ |
D | socket.cpp | 285 DWORD error_code = WSAGetLastError(); in GetErrorMessage()
|
D | fastboot.cpp | 504 DWORD nchars = GetTempPath(sizeof(temp_path), temp_path); in win32_tmpfile()
|