Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dhi16xx_rng.c72 } random; in hw_get_random_bytes() local
88 random.val = io_read32(r); in hw_get_random_bytes()
90 buffer[buffer_pos++] = random.byte[pos++]; in hw_get_random_bytes()
A Dversal_trng.c1071 uint8_t random[TRNG_SEC_STRENGTH_LEN] = { 0 }; in hw_get_random_bytes() local
1082 if (trng_generate(&versal_trng, random, TRNG_SEC_STRENGTH_LEN, in hw_get_random_bytes()
1085 memcpy(p + i * TRNG_SEC_STRENGTH_LEN, random, in hw_get_random_bytes()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dutils.c72 uint32_t random = 0; in generate_oid() local
76 if (crypto_rng_read(&random, sizeof(random))) in generate_oid()
79 oid = OID_MIN + (random & OID_MAX); in generate_oid()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_tls.c344 const unsigned char *random, size_t rlen, in ssl3_prf() argument
406 const unsigned char *random, size_t rlen, in tls1_prf() argument
435 memcpy( tmp + 20 + nb, random, rlen ); in tls1_prf()
615 const unsigned char *random, size_t rlen, in tls_prf_generic() argument
650 random, rlen, in tls_prf_generic()
719 memcpy( tmp + md_len + nb, random, rlen ); in tls_prf_generic()
781 const unsigned char *random, size_t rlen, in tls_prf_sha256() argument
785 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha256()
793 const unsigned char *random, size_t rlen, in tls_prf_sha384() argument
797 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha384()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl_internal.h379 const unsigned char *random, size_t rlen,
A Dssl.h4420 const unsigned char *random, size_t rlen,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog251 * The new function mbedtls_mpi_random() generates a random value in a
455 now use an external random generator instead of the library's own
460 random generator with mbedtls_xxx functions. See the documentation of
473 In such cases, a random nonce was necessary to achieve the advertised
1438 * The following functions in the random generator modules have been
2755 * Fix potential random memory allocation in mbedtls_pem_read_buffer()
3828 * HAVEGE random generator disabled by default
4029 * HAVEGE random generator disabled by default
4223 with random data (Fixed ticket #10)
4312 Now using random fuction provided to function and
[all …]

Completed in 34 milliseconds