Searched refs:entropy (Results 1 – 9 of 9) 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()236 entropy[i] = 0; in trng_entropy_pool_setup()
18 uint64_t entropy; in plat_handle_rng_trap() local26 if (!plat_get_entropy(&entropy)) { in plat_handle_rng_trap()34 gpregs->ctx_regs[rt] = entropy; in plat_handle_rng_trap()
48 uint64_t entropy; in plat_entropy_setup() local53 if (!plat_get_entropy(&entropy)) { in plat_entropy_setup()
62 entropy.c \
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()
790 Get entropy API793 AP/RSE interface for reading the entropy is as follows.803 Through this service, we can read an entropy generated from RSE.
2874 Out : when the return value is true, the entropy has been written into the2877 This function writes entropy into storage provided by the caller. If no entropy3897 emulate those system registers by returing back some entropy to the lower EL.3905 was trapped. Its content can be changed, to put the entropy into the target
1500 …- get entropy with PSA Crypto API ([8f0235f](https://review.trustedfirmware.org/plugins/gitiles/TF…1808 …- add interface with RSE for retrieving entropy ([1147a47](https://review.trustedfirmware.org/plug…9736 - Use TRNG entropy source for SMCCC TRNG interface9737 - Condition Juno entropy source with CRC instructions