Searched refs:secret_size (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Python/ |
D | random.c | 366 Py_ssize_t secret_size = sizeof(_Py_HashSecret_t); in _PyRandom_Init() local 379 memset(secret, 0, secret_size); in _PyRandom_Init() 402 memset(secret, 0, secret_size); in _PyRandom_Init() 405 lcg_urandom(seed, (unsigned char*)secret, secret_size); in _PyRandom_Init() 410 (void)win32_urandom((unsigned char *)secret, secret_size, 0); in _PyRandom_Init() 412 vms_urandom((unsigned char *)secret, secret_size, 0); in _PyRandom_Init() 414 (void)py_getentropy(secret, secret_size, 1); in _PyRandom_Init() 416 dev_urandom_noraise(secret, secret_size); in _PyRandom_Init()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_StartAuthSession.c | 449 size_t secret_size = 0; in Esys_StartAuthSession_Finish() local 451 secret_size += keyHash_size; in Esys_StartAuthSession_Finish() 453 secret_size += bindNode->auth.size; in Esys_StartAuthSession_Finish() 458 uint8_t *secret = malloc(secret_size ? secret_size : 1); in Esys_StartAuthSession_Finish() 474 LOGBLOB_DEBUG(secret, secret_size, "ESYS Session Secret"); in Esys_StartAuthSession_Finish() 476 secret_size, "ATH", in Esys_StartAuthSession_Finish()
|
/external/python/cpython3/Python/ |
D | bootstrap_hash.c | 576 Py_ssize_t secret_size = sizeof(_Py_HashSecret_t); in _Py_HashRandomization_Init() local 586 memset(secret, 0, secret_size); in _Py_HashRandomization_Init() 590 lcg_urandom(config->hash_seed, secret, secret_size); in _Py_HashRandomization_Init() 602 res = pyurandom(secret, secret_size, 0, 0); in _Py_HashRandomization_Init()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | lvi-hardening-loads.ll | 6 define dso_local i32 @test(i32** %secret, i32 %secret_size) #0 { 10 %secret_size.addr = alloca i32, align 4 14 store i32 %secret_size, i32* %secret_size.addr, align 4 40 %1 = load i32, i32* %secret_size.addr, align 4
|
D | lvi-hardening-gadget-graph.ll | 4 define dso_local i32 @test(i32* %untrusted_user_ptr, i32* %secret, i32 %secret_size) #0 { 8 %secret_size.addr = alloca i32, align 4 13 store i32 %secret_size, i32* %secret_size.addr, align 4 21 %1 = load i32, i32* %secret_size.addr, align 4 76 …amable $eax, %stack.2.secret_size.addr, 1, $noreg, 0, $noreg, implicit-def $eflags :: (dereference…
|
/external/ipsec-tools/src/racoon/ |
D | localconf.h | 106 int secret_size; member
|
D | localconf.c | 120 lcconf->secret_size = LC_DEFAULT_SECRETSIZE; in setdefault()
|
D | isakmp.c | 2508 + sizeof(time_t) + lcconf->secret_size; 2537 buf2 = eay_set_random(lcconf->secret_size); 2540 memcpy(p, buf2->v, lcconf->secret_size); 2541 p += lcconf->secret_size;
|
/external/ipsec-tools/ |
D | setup.c | 162 localconf.secret_size = LC_DEFAULT_SECRETSIZE; in set_globals()
|