Searched refs:leftPadWithZeroBytes (Results 1 – 4 of 4) sorted by relevance
108 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
339 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecrypts()384 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()473 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()543 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()617 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testMaxSizedPlaintextSupported()781 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