Home
last modified time | relevance | path

Searched refs:their_key (Results 1 – 4 of 4) sorted by relevance

/external/mbedtls/tests/suites/
Dtest_suite_ecdh.function376 mbedtls_ecp_keypair their_key;
384 mbedtls_ecp_keypair_init( &their_key );
388 if( ! load_public_key( grp_id, their_point, &their_key ) )
397 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 );
402 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 );
420 mbedtls_ecp_keypair_free( &their_key );
434 mbedtls_ecp_keypair their_key;
440 mbedtls_ecp_keypair_init( &their_key );
444 if( ! load_public_key( their_grp_id, their_point, &their_key ) )
452 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) ==
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecdh.function526 mbedtls_ecp_keypair their_key;
534 mbedtls_ecp_keypair_init( &their_key );
538 if( ! load_public_key( grp_id, their_point, &their_key ) )
547 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 );
552 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 );
570 mbedtls_ecp_keypair_free( &their_key );
584 mbedtls_ecp_keypair their_key;
590 mbedtls_ecp_keypair_init( &their_key );
594 if( ! load_public_key( their_grp_id, their_point, &their_key ) )
602 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) ==
[all …]
/external/mbedtls/library/
Dpsa_crypto_ecp.c493 mbedtls_ecp_keypair *their_key = NULL; in mbedtls_psa_key_agreement_ecdh() local
504 &their_key ); in mbedtls_psa_key_agreement_ecdh()
509 mbedtls_ecdh_get_params( &ecdh, their_key, MBEDTLS_ECDH_THEIRS ) ); in mbedtls_psa_key_agreement_ecdh()
531 mbedtls_ecp_keypair_free( their_key ); in mbedtls_psa_key_agreement_ecdh()
532 mbedtls_free( their_key ); in mbedtls_psa_key_agreement_ecdh()
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto.c4793 mbedtls_ecp_keypair *their_key = NULL; in psa_key_agreement_ecdh() local
4805 &their_key ); in psa_key_agreement_ecdh()
4810 mbedtls_ecdh_get_params( &ecdh, their_key, MBEDTLS_ECDH_THEIRS ) ); in psa_key_agreement_ecdh()
4833 mbedtls_ecp_keypair_free( their_key ); in psa_key_agreement_ecdh()
4834 mbedtls_free( their_key ); in psa_key_agreement_ecdh()