Home
last modified time | relevance | path

Searched refs:shared_secret (Results 1 – 14 of 14) sorted by relevance

/mbedtls-3.6.0/tests/src/drivers/
Dtest_driver_key_agreement.c38 uint8_t *shared_secret, in mbedtls_test_transparent_key_agreement() argument
53 memcpy(shared_secret, mbedtls_test_driver_key_agreement_hooks.forced_output, in mbedtls_test_transparent_key_agreement()
67 shared_secret, shared_secret_size, in mbedtls_test_transparent_key_agreement()
74 shared_secret, shared_secret_size, in mbedtls_test_transparent_key_agreement()
82 (void) shared_secret; in mbedtls_test_transparent_key_agreement()
95 shared_secret, shared_secret_size, in mbedtls_test_transparent_key_agreement()
104 shared_secret, in mbedtls_test_transparent_key_agreement()
113 (void) shared_secret; in mbedtls_test_transparent_key_agreement()
131 uint8_t *shared_secret, in mbedtls_test_opaque_key_agreement() argument
141 (void) shared_secret; in mbedtls_test_opaque_key_agreement()
/mbedtls-3.6.0/tests/include/test/drivers/
Dkey_agreement.h46 uint8_t *shared_secret,
57 uint8_t *shared_secret,
/mbedtls-3.6.0/3rdparty/p256-m/
Dp256-m_driver_entrypoints.c175 uint8_t *shared_secret, in p256_transparent_key_agreement() argument
195 int ret = p256_ecdh_shared_secret(shared_secret, key_buffer, peer_key_p256m); in p256_transparent_key_agreement()
Dp256-m_driver_entrypoints.h138 uint8_t *shared_secret,
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ecdh.function377 unsigned char shared_secret[MBEDTLS_ECP_MAX_BYTES];
409 shared_secret, sizeof(shared_secret),
412 TEST_ASSERT(memcmp(expected->x, shared_secret,
/mbedtls-3.6.0/library/
Dssl_tls13_keys.c1484 unsigned char *shared_secret = NULL; in ssl_tls13_key_schedule_stage_handshake() local
1513 shared_secret = mbedtls_calloc(1, shared_secret_len); in ssl_tls13_key_schedule_stage_handshake()
1514 if (shared_secret == NULL) { in ssl_tls13_key_schedule_stage_handshake()
1521 shared_secret, shared_secret_len, &shared_secret_len); in ssl_tls13_key_schedule_stage_handshake()
1549 shared_secret, shared_secret_len, in ssl_tls13_key_schedule_stage_handshake()
1561 if (shared_secret != NULL) { in ssl_tls13_key_schedule_stage_handshake()
1562 mbedtls_zeroize_and_free(shared_secret, shared_secret_len); in ssl_tls13_key_schedule_stage_handshake()
Dpsa_crypto_ecp.c490 uint8_t *shared_secret, size_t shared_secret_size, in mbedtls_psa_key_agreement_ecdh() argument
538 shared_secret, shared_secret_size, in mbedtls_psa_key_agreement_ecdh()
549 mbedtls_platform_zeroize(shared_secret, shared_secret_size); in mbedtls_psa_key_agreement_ecdh()
Dpsa_crypto_ffdh.c237 uint8_t *shared_secret, in mbedtls_psa_ffdh_key_agreement() argument
275 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&K, shared_secret, in mbedtls_psa_ffdh_key_agreement()
Dpsa_crypto_ffdh.h47 uint8_t *shared_secret,
Dpsa_crypto_ecp.h265 uint8_t *shared_secret, size_t shared_secret_size,
Dpsa_crypto_driver_wrappers.h3071 uint8_t *shared_secret, in psa_driver_wrapper_key_agreement() argument
3093 peer_key_length, shared_secret, shared_secret_size, in psa_driver_wrapper_key_agreement()
3104 shared_secret, in psa_driver_wrapper_key_agreement()
3122 shared_secret, in psa_driver_wrapper_key_agreement()
3138 shared_secret, in psa_driver_wrapper_key_agreement()
3147 peer_key_length, shared_secret, shared_secret_size, in psa_driver_wrapper_key_agreement()
3158 (void) shared_secret; in psa_driver_wrapper_key_agreement()
Dpsa_crypto_core.h566 uint8_t *shared_secret,
Dpsa_crypto.c6916 uint8_t *shared_secret, argument
6926 shared_secret,
6938 shared_secret,
6949 (void) shared_secret;
6966 uint8_t *shared_secret, argument
6982 shared_secret,
6997 uint8_t shared_secret[PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE]; local
7006 shared_secret,
7007 sizeof(shared_secret),
7018 shared_secret,
[all …]
/mbedtls-3.6.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja2597 uint8_t *shared_secret,
2616 peer_key_length, shared_secret, shared_secret_size,
2633 shared_secret,
2649 shared_secret,
2658 peer_key_length, shared_secret, shared_secret_size,
2669 (void) shared_secret;