Searched refs:HN_SHIFT (Results 1 – 4 of 4) sorted by relevance
380 product = (product >> HN_SHIFT) + left_buffer[i] + right_buffer[i]; in _nx_crypto_huge_number_add_unsigned()387 product = (product >> HN_SHIFT) + left_buffer[i]; in _nx_crypto_huge_number_add_unsigned()392 if ((product >> HN_SHIFT) && in _nx_crypto_huge_number_add_unsigned()471 product >>= HN_SHIFT; in _nx_crypto_huge_number_subtract_unsigned()479 product >>= HN_SHIFT; in _nx_crypto_huge_number_subtract_unsigned()543 for (i = 1; (i < size) && ((product >> HN_SHIFT) != 0); i++) in _nx_crypto_huge_number_add_digit_unsigned()550 if ((product >> HN_SHIFT) && (i == size)) in _nx_crypto_huge_number_add_digit_unsigned()618 for (i = 1; (i < size) && ((product >> HN_SHIFT) == 0); i++) in _nx_crypto_huge_number_subtract_digit_unsigned()677 x_buffer[i] = x_buffer[i - 1] >> (HN_SHIFT - shift); in _nx_crypto_huge_number_shift_left()680 x_buffer[i] = (x_buffer[i - 1] >> (HN_SHIFT - shift)) | (x_buffer[i] << shift); in _nx_crypto_huge_number_shift_left()[all …]
275 for (bit = 0; bit < HN_SHIFT; ++bit) in _nx_crypto_huge_number_power_modulus()
2737 for (j = 0; j < (HN_SHIFT - 1); j++) in _nx_crypto_ec_naf_compute()2743 if (shift == HN_SHIFT) in _nx_crypto_ec_naf_compute()2762 if (shift == HN_SHIFT) in _nx_crypto_ec_naf_compute()2784 if (shift == HN_SHIFT) in _nx_crypto_ec_naf_compute()2905 for (bit = 0; bit < HN_SHIFT - 1; bit += 2) in _nx_crypto_ec_fp_projective_multiple()2907 value = (digit >> (HN_SHIFT - bit - 2)) & 3; in _nx_crypto_ec_fp_projective_multiple()2918 for (; bit < HN_SHIFT - 1; bit += 2) in _nx_crypto_ec_fp_projective_multiple()2922 value = (digit >> (HN_SHIFT - bit - 2)) & 3; in _nx_crypto_ec_fp_projective_multiple()
93 #define HN_SHIFT (sizeof(HN_BASE) << 3) macro104 #define HN_SHIFT (sizeof(HN_BASE) << 3)107 #define HN_ULONG_TO_UBASE(v) (v) & HN_MASK, (v) >> HN_SHIFT