Home
last modified time | relevance | path

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

12

/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dcrypto_mbedtls-rsa.c190 mbedtls_entropy_context *entropy = os_zalloc(sizeof(*entropy)); in crypto_public_key_encrypt_pkcs1_v15() local
193 if (!pkey || !entropy || !ctr_drbg) { in crypto_public_key_encrypt_pkcs1_v15()
194 if (entropy) in crypto_public_key_encrypt_pkcs1_v15()
195 os_free(entropy); in crypto_public_key_encrypt_pkcs1_v15()
202 mbedtls_entropy_init( entropy ); in crypto_public_key_encrypt_pkcs1_v15()
206 entropy, (const unsigned char *) pers, in crypto_public_key_encrypt_pkcs1_v15()
225 mbedtls_entropy_free( entropy ); in crypto_public_key_encrypt_pkcs1_v15()
226 os_free(entropy); in crypto_public_key_encrypt_pkcs1_v15()
241 mbedtls_entropy_context *entropy = os_malloc(sizeof(*entropy)); in crypto_private_key_decrypt_pkcs1_v15() local
244 if (!pkey || !entropy || !ctr_drbg) { in crypto_private_key_decrypt_pkcs1_v15()
[all …]
Dcrypto_mbedtls-ec.c41 mbedtls_entropy_context entropy;
274 mbedtls_entropy_context entropy; in crypto_ec_point_mul() local
277 mbedtls_entropy_init(&entropy); in crypto_ec_point_mul()
280 MBEDTLS_MPI_CHK(mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in crypto_ec_point_mul()
291 mbedtls_entropy_free(&entropy); in crypto_ec_point_mul()
Dtls_mbedtls.c53 mbedtls_entropy_context entropy; /*!< mbedTLS entropy context structure */ member
79 mbedtls_entropy_free(&tls->entropy); in tls_mbedtls_cleanup()
529 mbedtls_entropy_init(&tls->entropy); in tls_create_mbedtls_handle()
538 &tls->entropy, NULL, 0); in tls_create_mbedtls_handle()
/hal_espressif-3.6.0/docs/en/api-reference/system/
Drandom.rst13 - An internal entropy source has been enabled by calling :cpp:func:`bootloader_random_enable` and n…
16 …e are continuously mixed into the internal hardware RNG state to provide entropy. Consult the *{I…
23 … bootloader temporarily enables a non-RF entropy source (internal reference voltage noise) that pr…
25entropy source temporarily during app startup, or for an application that does not use {IDF_TARGET…
29entropy source enabled during the boot process by the ESP-IDF Second Stage Bootloader will seed th…
33 …ware entropy source, consider using a strong software DRBG implementation such as the mbedTLS CTR-…
40entropy source, based on sampling an asynchronous 8MHz internal oscillator (see the Technical Refe…
/hal_espressif-3.6.0/components/mbedtls/test/
Dtest_ecp.c27 mbedtls_entropy_context entropy; variable
33 mbedtls_entropy_init(&entropy);
34 …TEST_ASSERT_MBEDTLS_OK( mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, NULL, 0) …
43 mbedtls_entropy_free(&entropy);
Dtest_esp_crt_bundle.c68 mbedtls_entropy_context entropy; member
103 mbedtls_entropy_init( &server->entropy ); in server_setup()
130 if ( ( ret = mbedtls_ctr_drbg_seed( &server->ctr_drbg, mbedtls_entropy_func, &server->entropy, in server_setup()
211 mbedtls_entropy_free( &endpoint->entropy ); in endpoint_teardown()
224 mbedtls_entropy_init( &client->entropy ); in client_setup()
228 if ((ret = mbedtls_ctr_drbg_seed(&client->ctr_drbg, mbedtls_entropy_func, &client->entropy, in client_setup()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dctr_prng.c118 uint8_t const *const entropy, in tc_ctr_prng_init() argument
140 if ((0 != ctx) && (0 != entropy) && (entropyLen >= sizeof seed_material)) { in tc_ctr_prng_init()
142 memcpy(seed_material, entropy, sizeof seed_material); in tc_ctr_prng_init()
165 uint8_t const *const entropy, in tc_ctr_prng_reseed() argument
189 memcpy(seed_material, entropy, sizeof seed_material); in tc_ctr_prng_reseed()
/hal_espressif-3.6.0/examples/peripherals/secure_element/atecc608_ecdsa/main/
Decdsa_example_main.c46 static mbedtls_entropy_context entropy; variable
57 mbedtls_entropy_init(&entropy); in configure_mbedtls_rng()
58 ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in configure_mbedtls_rng()
71 mbedtls_entropy_free(&entropy); in close_mbedtls_rng()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dctr_prng.h102 uint8_t const *const entropy,
127 uint8_t const *const entropy,
/hal_espressif-3.6.0/components/protocomm/src/security/
Dsecurity1.c195 mbedtls_entropy_context *entropy = malloc(sizeof(mbedtls_entropy_context)); in handle_session_command0() local
197 if (!ctx_server || !entropy || !ctr_drbg) { in handle_session_command0()
200 free(entropy); in handle_session_command0()
207 mbedtls_entropy_init(entropy); in handle_session_command0()
210 entropy, NULL, 0); in handle_session_command0()
348 mbedtls_entropy_free(entropy); in handle_session_command0()
349 free(entropy); in handle_session_command0()
/hal_espressif-3.6.0/examples/protocols/https_mbedtls/main/
Dhttps_mbedtls_example_main.c71 mbedtls_entropy_context entropy; in https_get_task() local
85 mbedtls_entropy_init(&entropy); in https_get_task()
86 if((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in https_get_task()
/hal_espressif-3.6.0/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot_signatures_app.c171 mbedtls_entropy_context entropy; in esp_secure_boot_verify_rsa_signature_block() local
180 mbedtls_entropy_init(&entropy); in esp_secure_boot_verify_rsa_signature_block()
182 ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, NULL, 0); in esp_secure_boot_verify_rsa_signature_block()
/hal_espressif-3.6.0/components/openssl/platform/
Dssl_pm.c45 mbedtls_entropy_context entropy; member
154 mbedtls_entropy_init(&ssl_pm->entropy); in ssl_pm_new()
157 …ret = mbedtls_ctr_drbg_seed(&ssl_pm->ctr_drbg, mbedtls_entropy_func, &ssl_pm->entropy, pers, pers_… in ssl_pm_new()
224 mbedtls_entropy_free(&ssl_pm->entropy); in ssl_pm_new()
238 mbedtls_entropy_free(&ssl_pm->entropy); in ssl_pm_free()
/hal_espressif-3.6.0/components/esp-tls/
Desp_tls_mbedtls.c81 mbedtls_entropy_init(&tls->entropy); in esp_create_mbedtls_handle()
103 mbedtls_entropy_func, &tls->entropy, NULL, 0)) != 0) { in esp_create_mbedtls_handle()
302 mbedtls_entropy_free(&tls->entropy); in esp_mbedtls_cleanup()
438 mbedtls_entropy_init(&ctx->entropy); in esp_mbedtls_server_session_ticket_ctx_init()
443 mbedtls_entropy_func, &ctx->entropy, NULL, 0)) != 0) { in esp_mbedtls_server_session_ticket_ctx_init()
470 mbedtls_entropy_free(&ctx->entropy); in esp_mbedtls_server_session_ticket_ctx_free()
Desp_tls.h195 …mbedtls_entropy_context entropy; /*!< mbedTLS entropy c… member
297 …mbedtls_entropy_context entropy; /*!< mbedTLS entropy c… member
/hal_espressif-3.6.0/examples/protocols/smtp_client/main/
Dsmtp_client_example_main.c259 mbedtls_entropy_context entropy; in smtp_client_task() local
273 mbedtls_entropy_init(&entropy); in smtp_client_task()
274 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in smtp_client_task()
/hal_espressif-3.6.0/docs/en/security/
Desp32c3_log.inc20 I (22) boot: Enabling RNG early entropy source...
89 I (24) boot: Enabling RNG early entropy source...
108 I (148) boot: Disabling RNG early entropy source...
Desp32s3_log.inc21 I (46) boot: Enabling RNG early entropy source...
86 I (53) boot: Enabling RNG early entropy source...
103 I (190) boot: Disabling RNG early entropy source...
Desp32_log.inc21 I (30) boot: Enabling RNG early entropy source...
91 I (31) boot: Enabling RNG early entropy source...
116 I (178) boot: Disabling RNG early entropy source...
Desp32s2_log.inc22 I (66) boot: Enabling RNG early entropy source...
104 I (74) boot: Enabling RNG early entropy source...
129 I (199) boot: Disabling RNG early entropy source...
/hal_espressif-3.6.0/docs/zh_CN/security/
Desp32c3_log.inc20 I (22) boot: Enabling RNG early entropy source...
89 I (24) boot: Enabling RNG early entropy source...
108 I (148) boot: Disabling RNG early entropy source...
Desp32_log.inc21 I (30) boot: Enabling RNG early entropy source...
91 I (31) boot: Enabling RNG early entropy source...
116 I (178) boot: Disabling RNG early entropy source...
Desp32s2_log.inc22 I (66) boot: Enabling RNG early entropy source...
104 I (74) boot: Enabling RNG early entropy source...
129 I (199) boot: Disabling RNG early entropy source...
/hal_espressif-3.6.0/components/protocomm/test/
Dtest_protocomm.c61 mbedtls_entropy_context entropy; member
377 mbedtls_entropy_init(&session->entropy); in test_sec_endpoint()
379 &session->entropy, NULL, 0); in test_sec_endpoint()
509 mbedtls_entropy_free(&session->entropy); in test_sec_endpoint()
517 mbedtls_entropy_free(&session->entropy); in test_sec_endpoint()
/hal_espressif-3.6.0/tools/test_idf_monitor/tests/
Din1.txt15 I (40) boot: Enabling RNG early entropy source...
39 I (175) boot: Disabling RNG early entropy source...

12