Home
last modified time | relevance | path

Searched refs:ecdh_ptr (Results 1 – 2 of 2) sorted by relevance

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_ecdh.c76 NX_CRYPTO_KEEP UINT _nx_crypto_ecdh_key_pair_import(NX_CRYPTO_ECDH *ecdh_ptr, in _nx_crypto_ecdh_key_pair_import() argument
88 if (local_private_key_len > sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer)) in _nx_crypto_ecdh_key_pair_import()
100 ecdh_ptr -> nx_crypto_ecdh_key_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecdh_key_pair_import()
103 NX_CRYPTO_MEMSET(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer, 0, in _nx_crypto_ecdh_key_pair_import()
104 sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer)); in _nx_crypto_ecdh_key_pair_import()
107 private_key.nx_crypto_huge_number_data = ecdh_ptr -> nx_crypto_ecdh_private_key_buffer; in _nx_crypto_ecdh_key_pair_import()
108 private_key.nx_crypto_huge_buffer_size = sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer); in _nx_crypto_ecdh_key_pair_import()
157 UINT _nx_crypto_ecdh_private_key_export(NX_CRYPTO_ECDH *ecdh_ptr, in _nx_crypto_ecdh_private_key_export() argument
170 if (0 == ecdh_ptr -> nx_crypto_ecdh_key_size) in _nx_crypto_ecdh_private_key_export()
175 curve = ecdh_ptr -> nx_crypto_ecdh_curve; in _nx_crypto_ecdh_private_key_export()
[all …]
/NetX-Duo-v6.3.0/crypto_libraries/inc/
Dnx_crypto_ecdh.h93 UINT _nx_crypto_ecdh_key_pair_import(NX_CRYPTO_ECDH *ecdh_ptr,
100 UINT _nx_crypto_ecdh_private_key_export(NX_CRYPTO_ECDH *ecdh_ptr,
105 UINT _nx_crypto_ecdh_setup(NX_CRYPTO_ECDH *ecdh_ptr,
112 UINT _nx_crypto_ecdh_compute_secret(NX_CRYPTO_ECDH *ecdh_ptr,
140 UINT _nx_crypto_ecdh_key_pair_import_x25519_448(NX_CRYPTO_ECDH *ecdh_ptr,
146 UINT _nx_crypto_ecdh_private_key_export_x25519_448(NX_CRYPTO_ECDH *ecdh_ptr,
150 UINT _nx_crypto_ecdh_setup_x25519_448(NX_CRYPTO_ECDH *ecdh_ptr,
156 UINT _nx_crypto_ecdh_compute_secret_x25519_448(NX_CRYPTO_ECDH *ecdh_ptr,