Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dversal_trng.c136 #define TRNG_SEC_STRENGTH_LEN 32 macro
478 inp_blk = &dfout[TRNG_SEC_STRENGTH_LEN]; in trng_df_algorithm()
871 uint32_t len = TRNG_SEC_STRENGTH_LEN; in trng_generate()
880 if (blen < TRNG_SEC_STRENGTH_LEN) in trng_generate()
1071 uint8_t random[TRNG_SEC_STRENGTH_LEN] = { 0 }; in hw_get_random_bytes()
1075 for (i = 0; i < len / TRNG_SEC_STRENGTH_LEN; i++) { in hw_get_random_bytes()
1076 if (trng_generate(&versal_trng, p + i * TRNG_SEC_STRENGTH_LEN, in hw_get_random_bytes()
1077 TRNG_SEC_STRENGTH_LEN, false)) in hw_get_random_bytes()
1081 if (len % TRNG_SEC_STRENGTH_LEN) { in hw_get_random_bytes()
1085 memcpy(p + i * TRNG_SEC_STRENGTH_LEN, random, in hw_get_random_bytes()
[all …]

Completed in 5 milliseconds