Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_ecdh.c164 UINT clen; in _nx_crypto_ecdh_private_key_export() local
181 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_private_key_export()
182 if (local_private_key_len < clen) in _nx_crypto_ecdh_private_key_export()
196 local_private_key_ptr, clen); in _nx_crypto_ecdh_private_key_export()
197 *actual_local_private_key_len = clen; in _nx_crypto_ecdh_private_key_export()
373 UINT clen; in _nx_crypto_ecdh_compute_secret() local
398 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_compute_secret()
399 if (share_secret_key_len_ptr < clen) in _nx_crypto_ecdh_compute_secret()
438 share_secret_key_ptr, clen); in _nx_crypto_ecdh_compute_secret()
439 *actual_share_secret_key_len = clen; in _nx_crypto_ecdh_compute_secret()
[all …]
Dnx_crypto_ec.c946 UINT clen; in _nx_crypto_ec_point_extract_uncompressed() local
948 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_point_extract_uncompressed()
950 if (byte_stream_size < 1 + (clen << 1)) in _nx_crypto_ec_point_extract_uncompressed()
961 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
968 byte_stream += clen; in _nx_crypto_ec_point_extract_uncompressed()
969 *huge_number_size = *huge_number_size + clen; in _nx_crypto_ec_point_extract_uncompressed()
970 byte_stream_size -= clen; in _nx_crypto_ec_point_extract_uncompressed()
973 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
980 *huge_number_size = *huge_number_size + clen; in _nx_crypto_ec_point_extract_uncompressed()
4593 UINT clen; in _nx_crypto_ec_x25519_448_multiple() local
[all …]