Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 5 of 5) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ecdh.c163 UINT clen; in _nx_crypto_ecdh_private_key_export() local
180 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_private_key_export()
181 if (local_private_key_len < clen) in _nx_crypto_ecdh_private_key_export()
195 local_private_key_ptr, clen); in _nx_crypto_ecdh_private_key_export()
196 *actual_local_private_key_len = clen; in _nx_crypto_ecdh_private_key_export()
372 UINT clen; in _nx_crypto_ecdh_compute_secret() local
397 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_compute_secret()
398 if (share_secret_key_len_ptr < clen) in _nx_crypto_ecdh_compute_secret()
437 share_secret_key_ptr, clen); in _nx_crypto_ecdh_compute_secret()
438 *actual_share_secret_key_len = clen; in _nx_crypto_ecdh_compute_secret()
[all …]
Dnx_crypto_ec.c945 UINT clen; in _nx_crypto_ec_point_extract_uncompressed() local
947 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_point_extract_uncompressed()
949 if (byte_stream_size < 1 + (clen << 1)) in _nx_crypto_ec_point_extract_uncompressed()
960 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
967 byte_stream += clen; in _nx_crypto_ec_point_extract_uncompressed()
968 *huge_number_size = *huge_number_size + clen; in _nx_crypto_ec_point_extract_uncompressed()
969 byte_stream_size -= clen; in _nx_crypto_ec_point_extract_uncompressed()
972 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
979 *huge_number_size = *huge_number_size + clen; in _nx_crypto_ec_point_extract_uncompressed()
4592 UINT clen; in _nx_crypto_ec_x25519_448_multiple() local
[all …]
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_ecdh_test.c57 UINT clen; in thread_0_entry() local
Dnx_secure_ecdh_self_test.c73 UINT clen; in thread_0_entry() local
Dnx_secure_ecdh_error_checking_test.c112 UINT clen; in thread_0_entry() local