Home
last modified time | relevance | path

Searched refs:HN_MASK (Results 1 – 3 of 3) sorted by relevance

/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_huge_number.c381 result_buffer[i] = product & HN_MASK; in _nx_crypto_huge_number_add_unsigned()
388 result_buffer[i] = product & HN_MASK; in _nx_crypto_huge_number_add_unsigned()
473 result_buffer[i] = (product & HN_MASK); in _nx_crypto_huge_number_subtract_unsigned()
481 result_buffer[i] = (product & HN_MASK); in _nx_crypto_huge_number_subtract_unsigned()
540 buffer[0] = product & HN_MASK; in _nx_crypto_huge_number_add_digit_unsigned()
546 buffer[i] = product & HN_MASK; in _nx_crypto_huge_number_add_digit_unsigned()
615 buffer[0] = product & HN_MASK; in _nx_crypto_huge_number_subtract_digit_unsigned()
621 buffer[i] = product & HN_MASK; in _nx_crypto_huge_number_subtract_digit_unsigned()
1133 *temp_ptr = (product & HN_MASK); in _nx_crypto_huge_number_multiply()
1225 result_buffer[i] = (product & HN_MASK); in _nx_crypto_huge_number_multiply_digit()
[all …]
Dnx_crypto_dh.c175 … dh_ptr -> nx_crypto_dh_private_key_buffer[i] = (HN_UBASE)((HN_UBASE)(NX_CRYPTO_RAND()) & HN_MASK); in _nx_crypto_dh_setup()
/NetX-Duo-v6.4.1/crypto_libraries/inc/
Dnx_crypto_huge_number.h91 #define HN_MASK 0xFFFFFFFF macro
102 #define HN_MASK 0xFFFF
107 #define HN_ULONG_TO_UBASE(v) (v) & HN_MASK, (v) >> HN_SHIFT