Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_ecdh.c83 UINT public_key_len; in _nx_crypto_ecdh_key_pair_import() local
93 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_key_pair_import()
94 if (local_public_key_len > public_key_len) in _nx_crypto_ecdh_key_pair_import()
261 UINT public_key_len; in _nx_crypto_ecdh_setup() local
266 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_setup()
267 if (local_public_key_len < public_key_len) in _nx_crypto_ecdh_setup()
297 local_public_key_len, &public_key_len); in _nx_crypto_ecdh_setup()
299 if (public_key_len == 0) in _nx_crypto_ecdh_setup()
303 *actual_local_public_key_len = public_key_len; in _nx_crypto_ecdh_setup()
Dnx_crypto_ec.c3248 UINT public_key_len; in _nx_crypto_ec_key_pair_stream_generate() local
3255 public_key_len = 1 + (private_key_len << 1); in _nx_crypto_ec_key_pair_stream_generate()
3258 if ((private_key_len + public_key_len) > output_length_in_byte) in _nx_crypto_ec_key_pair_stream_generate()
3286 public_key_len, &public_key_len); in _nx_crypto_ec_key_pair_stream_generate()
3288 if (public_key_len == 0) in _nx_crypto_ec_key_pair_stream_generate()
3292 *actual_output_length = (private_key_len + public_key_len); in _nx_crypto_ec_key_pair_stream_generate()