Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/arm/board/juno/
H A 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()
/rk3399_ARM-atf/services/std_svc/trng/
H A 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()
236 entropy[i] = 0; in trng_entropy_pool_setup()
/rk3399_ARM-atf/plat/arm/board/tc/
H A Dtc_rng_trap.c18 uint64_t entropy; in plat_handle_rng_trap() local
26 if (!plat_get_entropy(&entropy)) { in plat_handle_rng_trap()
34 gpregs->ctx_regs[rt] = entropy; in plat_handle_rng_trap()
H A Dtc_trng.c48 uint64_t entropy; in plat_entropy_setup() local
53 if (!plat_get_entropy(&entropy)) { in plat_entropy_setup()
H A Dplatform_test.mk62 entropy.c \
/rk3399_ARM-atf/tools/marvell/doimage/
H A 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()
/rk3399_ARM-atf/docs/design_documents/
H A Drse.rst790 Get entropy API
793 AP/RSE interface for reading the entropy is as follows.
803 Through this service, we can read an entropy generated from RSE.
/rk3399_ARM-atf/docs/
H A Dporting-guide.rst2874 Out : when the return value is true, the entropy has been written into the
2877 This function writes entropy into storage provided by the caller. If no entropy
3897 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
H A Dchange-log.md1500 …- 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 interface
9737 - Condition Juno entropy source with CRC instructions