Searched refs:entropy (Results 1 – 6 of 6) sorted by relevance
15 uint64_t entropy; in plat_get_stack_protector_canary() local17 if (!plat_get_entropy(&entropy)) { in plat_get_stack_protector_canary()22 if (sizeof(entropy) == sizeof(u_register_t)) { in plat_get_stack_protector_canary()23 return entropy; in plat_get_stack_protector_canary()26 return (entropy & 0xffffffffULL) ^ (entropy >> 32); in plat_get_stack_protector_canary()
22 static uint64_t entropy[WORDS_IN_POOL]; variable30 #define BITS_PER_WORD (sizeof(entropy[0]) * 8)48 bool valid = plat_get_entropy(&entropy[ENTROPY_FREE_INDEX]); in trng_fill_entropy()114 out[word_i] |= entropy[ENTROPY_WORD_INDEX(word_i)] >> rshift; in trng_pack_entropy()159 entropy[ENTROPY_WORD_INDEX(word_i)] &= in trng_pack_entropy()170 entropy[ENTROPY_WORD_INDEX(word_i)] = 0; in trng_pack_entropy()181 out[word_i] |= entropy[ENTROPY_WORD_INDEX(word_i + 1)] in trng_pack_entropy()194 entropy[ENTROPY_WORD_INDEX(word_i+1)] &= in trng_pack_entropy()207 entropy[ENTROPY_WORD_INDEX(word_i+1)] &= in trng_pack_entropy()232 entropy[i] = 0; in trng_entropy_pool_setup()
271 mbedtls_entropy_context entropy; in create_rsa_signature() local284 mbedtls_entropy_init(&entropy); in create_rsa_signature()287 rval = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in create_rsa_signature()319 mbedtls_entropy_free(&entropy); in create_rsa_signature()347 mbedtls_entropy_context entropy; in verify_rsa_signature() local361 mbedtls_entropy_init(&entropy); in verify_rsa_signature()364 rval = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in verify_rsa_signature()400 mbedtls_entropy_free(&entropy); in verify_rsa_signature()
60 entropy.c \
2482 Out : when the return value is true, the entropy has been written into the2485 This function writes entropy into storage provided by the caller. If no entropy3386 emulate those system registers by returing back some entropy to the lower EL.3394 was trapped. Its content can be changed, to put the entropy into the target
5385 - Use TRNG entropy source for SMCCC TRNG interface5386 - Condition Juno entropy source with CRC instructions