Home
last modified time | relevance | path

Searched refs:secret_size (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Python/
Drandom.c366 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/
DEsys_StartAuthSession.c449 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/
Dbootstrap_hash.c576 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/
Dlvi-hardening-loads.ll6 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
Dlvi-hardening-gadget-graph.ll4 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/
Dlocalconf.h106 int secret_size; member
Dlocalconf.c120 lcconf->secret_size = LC_DEFAULT_SECRETSIZE; in setdefault()
Disakmp.c2508 + 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/
Dsetup.c162 localconf.secret_size = LC_DEFAULT_SECRETSIZE; in set_globals()