Home
last modified time | relevance | path

Searched refs:modulo (Results 1 – 2 of 2) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/
DAthenaX5200_BigIntegerHelper.cs68 public static BigInteger CalculateModularInverse(BigInteger value, BigInteger modulo) in CalculateModularInverse() argument
71 BigInteger mod = modulo; in CalculateModularInverse()
89 …Exception(string.Format("Invalid modulo: {0} while trying to calculate modular inverse!", modulo)); in CalculateModularInverse()
93 leftFactor += modulo; in CalculateModularInverse()
95 return leftFactor % modulo; in CalculateModularInverse()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DOpenTitan_BigNumberAcceleratorCore.cs675 var modulo = (f3 >> 1) == 0b10; in BnAddSubHandler()
680 if(modulo) in BnAddSubHandler()
698 if(!modulo) in BnAddSubHandler()