Home
last modified time | relevance | path

Searched refs:nx_crypto_huge_buffer_size (Results 1 – 12 of 12) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_huge_number_test.c70 a.nx_crypto_huge_buffer_size = 4; in thread_0_entry()
73 b.nx_crypto_huge_buffer_size = 4; in thread_0_entry()
79 a.nx_crypto_huge_buffer_size = 1024; in thread_0_entry()
92 a.nx_crypto_huge_buffer_size = 2; in thread_0_entry()
97 a.nx_crypto_huge_buffer_size = 4; in thread_0_entry()
Dnx_secure_ecdsa_test.c147 buffer_size = curve->nx_crypto_ec_n.nx_crypto_huge_buffer_size; in thread_0_entry()
Dnx_secure_crypto_method_cleanup_test.c635 buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in crypto_method_cleanup_ecdsa_test()
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_dh.c145 modulus.nx_crypto_huge_buffer_size = dh_ptr -> nx_crypto_dh_key_size; in _nx_crypto_dh_setup()
165 private_key.nx_crypto_huge_buffer_size = sizeof(dh_ptr -> nx_crypto_dh_private_key_buffer); in _nx_crypto_dh_setup()
293 modulus.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_dh_compute_secret()
301 private_key.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_dh_compute_secret()
Dnx_crypto_ecjpake.c79 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecjpake_init()
172 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecjpake_hello_generate()
340 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecjpake_hello_process()
500 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecjpake_key_exchange_generate()
637 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecjpake_key_exchange_process()
826 size = g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash()
827 g -> nx_crypto_ec_point_y.nx_crypto_huge_buffer_size + 1; in _nx_crypto_ecjpake_schnorr_zkp_hash()
872 size = v -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash()
873 v -> nx_crypto_ec_point_y.nx_crypto_huge_buffer_size + 1; in _nx_crypto_ecjpake_schnorr_zkp_hash()
918 size = x -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash()
[all …]
Dnx_crypto_ecdh.c99 ecdh_ptr -> nx_crypto_ecdh_key_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecdh_key_pair_import()
107 private_key.nx_crypto_huge_buffer_size = sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer); in _nx_crypto_ecdh_key_pair_import()
190 private_key.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_ecdh_private_key_export()
274 ecdh_ptr -> nx_crypto_ecdh_key_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecdh_setup()
283 private_key.nx_crypto_huge_buffer_size = sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer); in _nx_crypto_ecdh_setup()
426 private_key.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_ecdh_compute_secret()
1052 private_key.nx_crypto_huge_buffer_size = sizeof(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer); in _nx_crypto_ecdh_setup_x25519_448()
1177 private_key.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_ecdh_compute_secret_x25519_448()
Dnx_crypto_huge_number.c393 ((i << HN_SIZE_SHIFT) < left -> nx_crypto_huge_buffer_size)) in _nx_crypto_huge_number_add_unsigned()
1678 if (number -> nx_crypto_huge_buffer_size < sizeof(HN_UBASE)) in _nx_crypto_huge_number_setup()
1693 if (number -> nx_crypto_huge_buffer_size < (num_words << HN_SIZE_SHIFT)) in _nx_crypto_huge_number_setup()
2641 radix.nx_crypto_huge_buffer_size = sizeof(radix_buffer); in _nx_crypto_huge_number_mont_power_modulus()
2644 m0.nx_crypto_huge_buffer_size = 4; in _nx_crypto_huge_number_mont_power_modulus()
2647 mi.nx_crypto_huge_buffer_size = sizeof(mm_buffer); in _nx_crypto_huge_number_mont_power_modulus()
2655 …NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&xx, scratch, m -> nx_crypto_huge_buffer_size + sizeof(HN_UBASE)); in _nx_crypto_huge_number_mont_power_modulus()
2656 …NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&temp, scratch, m -> nx_crypto_huge_buffer_size + sizeof(HN_UBASE… in _nx_crypto_huge_number_mont_power_modulus()
2826 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&pi, scratch, p -> nx_crypto_huge_buffer_size); in _nx_crypto_huge_number_crt_power_modulus()
2827 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&qi, scratch, q -> nx_crypto_huge_buffer_size); in _nx_crypto_huge_number_crt_power_modulus()
[all …]
Dnx_crypto_huge_number_extended.c261 number -> nx_crypto_huge_buffer_size); in _nx_crypto_huge_number_power_modulus()
Dnx_crypto_ec.c1101 buffer_size = point -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_point_fp_projective_to_affine()
2287 buffer_size = projective_point -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_fp_projective_add()
2426 buffer_size = projective_point -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_fp_projective_double()
2565 buffer_size = left -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_fp_affine_add()
2670 right -> nx_crypto_ec_point_y.nx_crypto_huge_buffer_size); in _nx_crypto_ec_fp_affine_subtract()
2888 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ec_fp_projective_multiple()
2890 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ec_fp_projective_multiple()
3024 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size << 1); in _nx_crypto_ec_fp_fixed_multiple()
3397 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ec_precomputation()
3403 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ec_precomputation()
[all …]
Dnx_crypto_method_self_test_ecdsa.c213 buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_method_self_test_ecdsa()
Dnx_crypto_ecdsa.c88 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecdsa_sign()
329 UINT buffer_size = curve -> nx_crypto_ec_n.nx_crypto_huge_buffer_size; in _nx_crypto_ecdsa_verify()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_huge_number.h123 UINT nx_crypto_huge_buffer_size; member
136 …(hn) -> nx_crypto_huge_buffer_size = (((size) + HN_SIZE_ROUND) >> HN_SIZE_SHIFT) << HN_SIZE_SHIFT;\
153 (hn) -> nx_crypto_huge_buffer_size = sizeof(HN_UBASE); \