Home
last modified time | relevance | path

Searched refs:leftPadWithZeroBytes (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java472 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecrypts()
525 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEncryptsAndDecryptsInterrupted()
582 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEncryptsAndDecryptsUsingCipherStreams()
714 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired()
843 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()
933 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
1004 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()
1079 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testMaxSizedPlaintextSupported()
1220 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testKat()
1283 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testKatBasicWithDifferentProviders()
DECDSASignatureTest.java264 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DRSACipherTest.java91 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java822 public static byte[] leftPadWithZeroBytes(byte[] array, int length) { in leftPadWithZeroBytes() method in TestUtils