Searched refs:x917_prng (Results 1 – 2 of 2) sorted by relevance
50 x917_prng_t x917_prng; variable58 x917_prng.octet_count = 0; in x917_prng_init()61 x917_prng.rand = random_source; in x917_prng_init()69 aes_expand_encryption_key(tmp_key, 16, &x917_prng.key); in x917_prng_init()72 status = x917_prng.rand((uint8_t *)&x917_prng.state, 16); in x917_prng_init()91 if (x917_prng.octet_count > MAX_PRNG_OUT_LEN - len) { in x917_prng_get_octet_string()92 status = x917_prng_init(x917_prng.rand); in x917_prng_get_octet_string()96 x917_prng.octet_count += len; in x917_prng_get_octet_string()105 x917_prng.state.v32[0] ^= t; in x917_prng_get_octet_string()108 v128_copy(&buffer, &x917_prng.state); in x917_prng_get_octet_string()[all …]
50 x917_prng_t x917_prng; variable58 x917_prng.octet_count = 0; in x917_prng_init()61 x917_prng.rand = random_source; in x917_prng_init()69 aes_expand_encryption_key(&tmp_key, x917_prng.key); in x917_prng_init()72 status = x917_prng.rand((uint8_t *)&x917_prng.state, 16); in x917_prng_init()91 if (x917_prng.octet_count > MAX_PRNG_OUT_LEN - len) { in x917_prng_get_octet_string()92 status = x917_prng_init(x917_prng.rand); in x917_prng_get_octet_string()96 x917_prng.octet_count += len; in x917_prng_get_octet_string()105 x917_prng.state.v32[0] ^= t; in x917_prng_get_octet_string()108 v128_copy(&buffer, &x917_prng.state); in x917_prng_get_octet_string()[all …]