/mbedtls-3.6.0/tests/src/drivers/ |
D | test_driver_key_agreement.c | 38 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/ |
D | key_agreement.h | 46 uint8_t *shared_secret, 57 uint8_t *shared_secret,
|
/mbedtls-3.6.0/3rdparty/p256-m/ |
D | p256-m_driver_entrypoints.c | 175 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()
|
D | p256-m_driver_entrypoints.h | 138 uint8_t *shared_secret,
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_ecdh.function | 377 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/ |
D | ssl_tls13_keys.c | 1484 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()
|
D | psa_crypto_ecp.c | 490 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()
|
D | psa_crypto_ffdh.c | 237 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()
|
D | psa_crypto_ffdh.h | 47 uint8_t *shared_secret,
|
D | psa_crypto_ecp.h | 265 uint8_t *shared_secret, size_t shared_secret_size,
|
D | psa_crypto_driver_wrappers.h | 3071 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()
|
D | psa_crypto_core.h | 566 uint8_t *shared_secret,
|
D | psa_crypto.c | 6916 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/ |
D | psa_crypto_driver_wrappers.h.jinja | 2597 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;
|