Searched refs:leftPadWithZeroBytes (Results 1 – 3 of 3) sorted by relevance
108 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
57 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
666 static byte[] leftPadWithZeroBytes(byte[] array, int length) { in leftPadWithZeroBytes() method in TestUtils