Home
last modified time | relevance | path

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

/trusted-firmware-a-latest/plat/arm/board/juno/
Djuno_stack_protector.c15 uint64_t entropy; in plat_get_stack_protector_canary() local
17 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()
/trusted-firmware-a-latest/services/std_svc/trng/
Dtrng_entropy_pool.c22 static uint64_t entropy[WORDS_IN_POOL]; variable
30 #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()
/trusted-firmware-a-latest/tools/marvell/doimage/
Ddoimage.c271 mbedtls_entropy_context entropy; in create_rsa_signature() local
284 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() local
361 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()
/trusted-firmware-a-latest/plat/arm/board/tc/
Dplatform_test.mk60 entropy.c \
/trusted-firmware-a-latest/docs/
Dporting-guide.rst2482 Out : when the return value is true, the entropy has been written into the
2485 This function writes entropy into storage provided by the caller. If no entropy
3386 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
Dchange-log.md5385 - Use TRNG entropy source for SMCCC TRNG interface
5386 - Condition Juno entropy source with CRC instructions