Lines Matching refs:r
408 int r = 0; in ctr_drbg_update() local
416 r = cm_aes_ecb(m_cb.key, sizeof(m_cb.key), m_cb.value, temp + temp_length); in ctr_drbg_update()
418 if (r != OK) in ctr_drbg_update()
443 int r; in ctr_drbg_reseed() local
447 r = trng_entropy_get(entropy, sizeof(entropy)); in ctr_drbg_reseed()
448 if (r != OK) in ctr_drbg_reseed()
453 r = ctr_drbg_update(entropy); in ctr_drbg_reseed()
454 if (r != OK) in ctr_drbg_reseed()
466 int r; in nrfx_cracen_ctr_drbg_init() local
475 r = ctr_drbg_reseed(); in nrfx_cracen_ctr_drbg_init()
476 if (r != OK) in nrfx_cracen_ctr_drbg_init()
496 int r = 0; in nrfx_cracen_ctr_drbg_random_get() local
510 r = ctr_drbg_reseed(); in nrfx_cracen_ctr_drbg_random_get()
511 if (r != OK) in nrfx_cracen_ctr_drbg_random_get()
524 r = cm_aes_ecb(m_cb.key, sizeof(m_cb.key), m_cb.value, temp); in nrfx_cracen_ctr_drbg_random_get()
525 if (r != OK) in nrfx_cracen_ctr_drbg_random_get()
536 r = ctr_drbg_update(NULL); in nrfx_cracen_ctr_drbg_random_get()
537 if (r != OK) in nrfx_cracen_ctr_drbg_random_get()