Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_dh.c127 NX_CRYPTO_HUGE_NUMBER modulus, public_key, private_key, generator; in _nx_crypto_dh_setup() local
143 modulus.nx_crypto_huge_number_data = dh_ptr -> nx_crypto_dh_modulus; in _nx_crypto_dh_setup()
144 modulus.nx_crypto_huge_number_size = dh_ptr -> nx_crypto_dh_key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_setup()
145 modulus.nx_crypto_huge_buffer_size = dh_ptr -> nx_crypto_dh_key_size; in _nx_crypto_dh_setup()
146 modulus.nx_crypto_huge_number_is_negative = NX_CRYPTO_FALSE; in _nx_crypto_dh_setup()
182 &modulus, &public_key, scratch_buf_ptr); in _nx_crypto_dh_setup()
262 NX_CRYPTO_HUGE_NUMBER modulus, public_key, private_key, shared_secret; in _nx_crypto_dh_compute_secret() local
291 modulus.nx_crypto_huge_number_data = (HN_UBASE *)dh_ptr -> nx_crypto_dh_modulus; in _nx_crypto_dh_compute_secret()
292 modulus.nx_crypto_huge_number_size = key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_compute_secret()
293 modulus.nx_crypto_huge_buffer_size = key_size; in _nx_crypto_dh_compute_secret()
[all …]
Dnx_crypto_huge_number_extended.c250 NX_CRYPTO_HUGE_NUMBER *modulus, in _nx_crypto_huge_number_power_modulus() argument
286 _nx_crypto_huge_number_modulus(result, modulus); in _nx_crypto_huge_number_power_modulus()
293 _nx_crypto_huge_number_modulus(&temp, modulus); in _nx_crypto_huge_number_power_modulus()
Dnx_crypto_method_self_test_pkcs1.c155 UCHAR *modulus; in _nx_crypto_method_self_test_pkcs1() local
179 modulus = m_2048; in _nx_crypto_method_self_test_pkcs1()
217 modulus, in _nx_crypto_method_self_test_pkcs1()
Dnx_crypto_rsa.c92 …_rsa_operation(const UCHAR *exponent, UINT exponent_length, const UCHAR *modulus, UINT modulus_len… in _nx_crypto_rsa_operation() argument
126 _nx_crypto_huge_number_setup(&modulus_hn, modulus, modulus_length); in _nx_crypto_rsa_operation()
Dnx_crypto_pkcs1_v1.5.c144 ctx -> modulus, in _nx_crypto_pkcs1_v1_5_sign()
257 ctx -> modulus, in _nx_crypto_pkcs1_v1_5_verify()
698 ctx -> modulus = key; in _nx_crypto_method_pkcs1_v1_5_operation()
Dnx_crypto_ec.c3156 NX_CRYPTO_HUGE_NUMBER modulus; in _nx_crypto_ec_key_pair_generation_extra() local
3159 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&modulus, scratch, buffer_size); in _nx_crypto_ec_key_pair_generation_extra()
3177 NX_CRYPTO_HUGE_NUMBER_COPY(&modulus, &curve -> nx_crypto_ec_n); in _nx_crypto_ec_key_pair_generation_extra()
3178 _nx_crypto_huge_number_subtract_digit_unsigned(&modulus, 1u); in _nx_crypto_ec_key_pair_generation_extra()
3180 _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.h103 UINT _nx_crypto_rsa_operation(const UCHAR *exponent, UINT exponent_length, const UCHAR *modulus, UI…
Dnx_crypto_pkcs1_v1.5.h70 UCHAR *modulus; member
Dnx_crypto_huge_number.h212 NX_CRYPTO_HUGE_NUMBER *modulus,
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_pkcs1_v1_5_test.c151 UCHAR *modulus; in thread_0_entry() local
171 modulus = m_2048_0; in thread_0_entry()
184 modulus, in thread_0_entry()
Dnx_secure_x509_parse_test.c235 const UCHAR modulus[] = { variable
6388 …EXPECT_EQ(0, memcmp(rsa_key.nx_secure_rsa_public_modulus, modulus, rsa_key.nx_secure_rsa_public_mo… in TEST()