Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ecdh.c82 UINT public_key_len; in _nx_crypto_ecdh_key_pair_import() local
92 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_key_pair_import()
93 if (local_public_key_len > public_key_len) in _nx_crypto_ecdh_key_pair_import()
260 UINT public_key_len; in _nx_crypto_ecdh_setup() local
265 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_setup()
266 if (local_public_key_len < public_key_len) in _nx_crypto_ecdh_setup()
296 local_public_key_len, &public_key_len); in _nx_crypto_ecdh_setup()
298 if (public_key_len == 0) in _nx_crypto_ecdh_setup()
302 *actual_local_public_key_len = public_key_len; in _nx_crypto_ecdh_setup()
Dnx_crypto_ec.c3247 UINT public_key_len; in _nx_crypto_ec_key_pair_stream_generate() local
3254 public_key_len = 1 + (private_key_len << 1); in _nx_crypto_ec_key_pair_stream_generate()
3257 if ((private_key_len + public_key_len) > output_length_in_byte) in _nx_crypto_ec_key_pair_stream_generate()
3285 public_key_len, &public_key_len); in _nx_crypto_ec_key_pair_stream_generate()
3287 if (public_key_len == 0) in _nx_crypto_ec_key_pair_stream_generate()
3291 *actual_output_length = (private_key_len + public_key_len); in _nx_crypto_ec_key_pair_stream_generate()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_ecdsa_test.c203 … (NX_CRYPTO_KEY_SIZE)(ecdsa_data[i].public_key_len << 3), in thread_0_entry()
221 … (NX_CRYPTO_KEY_SIZE)(ecdsa_data[i].public_key_len << 3), in thread_0_entry()
Dnx_secure_ecdsa_test_data.c11 UINT public_key_len; member