Home
last modified time | relevance | path

Searched refs:nx_crypto_ec_bits (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ecdh.c92 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_key_pair_import()
180 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_private_key_export()
265 public_key_len = 1 + (((curve -> nx_crypto_ec_bits + 7) >> 3) << 1); in _nx_crypto_ecdh_setup()
397 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_compute_secret()
876 key_len = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_key_pair_import_x25519_448()
955 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_private_key_export_x25519_448()
1035 key_len = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_setup_x25519_448()
1161 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecdh_compute_secret_x25519_448()
Dnx_crypto_ecdsa.c103 curve_size = curve -> nx_crypto_ec_bits >> 3; in _nx_crypto_ecdsa_sign()
104 if (curve -> nx_crypto_ec_bits & 7) in _nx_crypto_ecdsa_sign()
148 if (curve -> nx_crypto_ec_bits < hash_length << 3) in _nx_crypto_ecdsa_sign()
150 _nx_crypto_huge_number_shift_right(&z, (hash_length << 3) - curve -> nx_crypto_ec_bits); in _nx_crypto_ecdsa_sign()
446 if (curve -> nx_crypto_ec_bits < hash_length << 3) in _nx_crypto_ecdsa_verify()
448 _nx_crypto_huge_number_shift_right(&z, (hash_length << 3) - curve -> nx_crypto_ec_bits); in _nx_crypto_ecdsa_verify()
Dnx_crypto_method_self_test_ecdsa.c214 curve_size = curve -> nx_crypto_ec_bits >> 3; in _nx_crypto_method_self_test_ecdsa()
215 if (curve -> nx_crypto_ec_bits & 7) in _nx_crypto_method_self_test_ecdsa()
Dnx_crypto_ecjpake.c171 UINT curve_size = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecjpake_hello_generate()
499 UINT curve_size = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecjpake_key_exchange_generate()
1411 UINT input_size = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ecjpake_pre_master_secret_generate()
Dnx_crypto_ec.c947 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_point_extract_uncompressed()
3153 UINT bits = curve -> nx_crypto_ec_bits + 64; in _nx_crypto_ec_key_pair_generation_extra()
3253 private_key_len = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_key_pair_stream_generate()
4596 clen = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_x25519_448_multiple()
4640 for (t = (INT)(curve -> nx_crypto_ec_bits - 1); t >= 0; t--) in _nx_crypto_ec_x25519_448_multiple()
5015 UINT buffer_size = (curve -> nx_crypto_ec_bits + 7) >> 3; in _nx_crypto_ec_key_pair_generation_x25519_448()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_crypto_method_cleanup_test.c636 curve_size = curve -> nx_crypto_ec_bits >> 3; in crypto_method_cleanup_ecdsa_test()
637 if (curve -> nx_crypto_ec_bits & 7) in crypto_method_cleanup_ecdsa_test()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_ec.h127 UINT nx_crypto_ec_bits; member