Searched refs:leftPadWithZeroBytes (Results 1 – 4 of 4) sorted by relevance
108 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
337 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecrypts()382 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()459 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()529 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()603 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testMaxSizedPlaintextSupported()767 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testKat()
57 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
587 static byte[] leftPadWithZeroBytes(byte[] array, int length) { in leftPadWithZeroBytes() method in TestUtils