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/
DECDSASignatureTest.java108 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DCipherTest.java339 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()
DRSACipherTest.java57 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
DTestUtils.java587 static byte[] leftPadWithZeroBytes(byte[] array, int length) { in leftPadWithZeroBytes() method in TestUtils