Searched refs:getBigIntegerMagnitudeBytes (Results 1 – 2 of 2) sorted by relevance
88 TestUtils.getBigIntegerMagnitudeBytes(modulus.subtract(BigInteger.ONE)); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()114 byte[] plaintext = TestUtils.getBigIntegerMagnitudeBytes(modulus); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus()143 TestUtils.getBigIntegerMagnitudeBytes(modulus.add(BigInteger.ONE)); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus()
939 static byte[] getBigIntegerMagnitudeBytes(BigInteger value) { in getBigIntegerMagnitudeBytes() method in TestUtils