Home
last modified time | relevance | path

Searched refs:modulus (Results 1 – 9 of 9) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_dh.c128 NX_CRYPTO_HUGE_NUMBER modulus, public_key, private_key, generator; in _nx_crypto_dh_setup() local
144 modulus.nx_crypto_huge_number_data = dh_ptr -> nx_crypto_dh_modulus; in _nx_crypto_dh_setup()
145 modulus.nx_crypto_huge_number_size = dh_ptr -> nx_crypto_dh_key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_setup()
146 modulus.nx_crypto_huge_buffer_size = dh_ptr -> nx_crypto_dh_key_size; in _nx_crypto_dh_setup()
147 modulus.nx_crypto_huge_number_is_negative = NX_CRYPTO_FALSE; in _nx_crypto_dh_setup()
183 &modulus, &public_key, scratch_buf_ptr); in _nx_crypto_dh_setup()
263 NX_CRYPTO_HUGE_NUMBER modulus, public_key, private_key, shared_secret; in _nx_crypto_dh_compute_secret() local
292 modulus.nx_crypto_huge_number_data = (HN_UBASE *)dh_ptr -> nx_crypto_dh_modulus; in _nx_crypto_dh_compute_secret()
293 modulus.nx_crypto_huge_number_size = key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_compute_secret()
294 modulus.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_dh_compute_secret()
[all …]
Dnx_crypto_huge_number_extended.c251 NX_CRYPTO_HUGE_NUMBER *modulus, in _nx_crypto_huge_number_power_modulus() argument
287 _nx_crypto_huge_number_modulus(result, modulus); in _nx_crypto_huge_number_power_modulus()
294 _nx_crypto_huge_number_modulus(&temp, modulus); in _nx_crypto_huge_number_power_modulus()
Dnx_crypto_method_self_test_pkcs1.c156 UCHAR *modulus; in _nx_crypto_method_self_test_pkcs1() local
180 modulus = m_2048; in _nx_crypto_method_self_test_pkcs1()
218 modulus, in _nx_crypto_method_self_test_pkcs1()
Dnx_crypto_rsa.c93 …_rsa_operation(const UCHAR *exponent, UINT exponent_length, const UCHAR *modulus, UINT modulus_len… in _nx_crypto_rsa_operation() argument
127 _nx_crypto_huge_number_setup(&modulus_hn, modulus, modulus_length); in _nx_crypto_rsa_operation()
Dnx_crypto_pkcs1_v1.5.c145 ctx -> modulus, in _nx_crypto_pkcs1_v1_5_sign()
258 ctx -> modulus, in _nx_crypto_pkcs1_v1_5_verify()
695 ctx -> modulus = key; in _nx_crypto_method_pkcs1_v1_5_operation()
Dnx_crypto_ec.c3157 NX_CRYPTO_HUGE_NUMBER modulus; in _nx_crypto_ec_key_pair_generation_extra() local
3160 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&modulus, scratch, buffer_size); in _nx_crypto_ec_key_pair_generation_extra()
3178 NX_CRYPTO_HUGE_NUMBER_COPY(&modulus, &curve -> nx_crypto_ec_n); in _nx_crypto_ec_key_pair_generation_extra()
3179 _nx_crypto_huge_number_subtract_digit_unsigned(&modulus, 1u); in _nx_crypto_ec_key_pair_generation_extra()
3181 _nx_crypto_huge_number_modulus(&random_number, &modulus); in _nx_crypto_ec_key_pair_generation_extra()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_rsa.h104 UINT _nx_crypto_rsa_operation(const UCHAR *exponent, UINT exponent_length, const UCHAR *modulus, UI…
Dnx_crypto_pkcs1_v1.5.h71 UCHAR *modulus; member
Dnx_crypto_huge_number.h213 NX_CRYPTO_HUGE_NUMBER *modulus,