Function intnat::shoupMulHi(uint32_t, uint32_t)

Function Documentation

static inline uint32_t intnat::shoupMulHi(uint32_t a, uint32_t b)

High word of the 32x32-bit product, as used by the Shoup multiplication.

Parameters
  • a – is the first factor.

  • b – is the second factor.

Returns

the upper 32 bits of a * b.