Home
last modified time | relevance | path

Searched refs:secret_size (Results 1 – 6 of 6) 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/python/cpython3/Python/
Dbootstrap_hash.c554 Py_ssize_t secret_size = sizeof(_Py_HashSecret_t); in _Py_HashRandomization_Init() local
564 memset(secret, 0, secret_size); in _Py_HashRandomization_Init()
568 lcg_urandom(config->hash_seed, secret, secret_size); in _Py_HashRandomization_Init()
580 res = pyurandom(secret, secret_size, 0, 0); in _Py_HashRandomization_Init()
/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()