Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/core/
A Decc.c359 mbedtls_ecdh_context ecdh; in ecc_shared_secret() local
363 memset(&ecdh, 0, sizeof(ecdh)); in ecc_shared_secret()
365 mbedtls_ecdh_init(&ecdh); in ecc_shared_secret()
367 lmd_res = mbedtls_ecp_group_load(&ecdh.grp, gid); in ecc_shared_secret()
373 ecdh.d = *(mbedtls_mpi *)private_key->d; in ecc_shared_secret()
374 ecdh.Qp.X = *(mbedtls_mpi *)public_key->x; in ecc_shared_secret()
375 ecdh.Qp.Y = *(mbedtls_mpi *)public_key->y; in ecc_shared_secret()
387 mbedtls_mpi_init(&ecdh.d); in ecc_shared_secret()
388 mbedtls_mpi_init(&ecdh.Qp.X); in ecc_shared_secret()
389 mbedtls_mpi_init(&ecdh.Qp.Y); in ecc_shared_secret()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Ddebug.h67 #define MBEDTLS_SSL_DEBUG_ECDH( level, ecdh, attr ) \ argument
68 mbedtls_debug_printf_ecdh( ssl, level, __FILE__, __LINE__, ecdh, attr )
79 #define MBEDTLS_SSL_DEBUG_ECDH( level, ecdh, attr ) do { } while( 0 ) argument
303 const mbedtls_ecdh_context *ecdh,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Ddebug.c376 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh_internal() argument
380 const mbedtls_ecdh_context* ctx = ecdh; in mbedtls_debug_printf_ecdh_internal()
382 const mbedtls_ecdh_context_mbed* ctx = &ecdh->ctx.mbed_ecdh; in mbedtls_debug_printf_ecdh_internal()
406 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh() argument
410 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, attr ); in mbedtls_debug_printf_ecdh()
412 switch( ecdh->var ) in mbedtls_debug_printf_ecdh()
415 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, in mbedtls_debug_printf_ecdh()
/optee_os-3.20.0/lib/libmbedtls/
A Dsub.mk27 SRCS_CRYPTO += ecdh.c
81 SRCS_CRYPTO += ecdh.c

Completed in 5 milliseconds