/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | RsaPssTest.java | 51 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in RsaPssTest 98 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSASSA-PSS", EXPECTED_PROVIDER_NAME); in testEncodeDecodePublic() 116 KeyPairGenerator keyGen1 = KeyPairGenerator.getInstance("RSASSA-PSS", EXPECTED_PROVIDER_NAME); in testEncodeDecodePublic() 158 Signature verifier = Signature.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testDefaultForAlgorithm() 257 Signature.getInstance("RSASSA-PSS", EXPECTED_PROVIDER_NAME); in getAlgorithmName() 388 verifier = Signature.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testRsaPss()
|
D | EcdhTest.java | 96 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in EcdhTest 119 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC", EXPECTED_PROVIDER_NAME); in generateECKeyPair() 559 KeyAgreement kaA = KeyAgreement.getInstance("ECDH", EXPECTED_PROVIDER_NAME); in testBasic() 560 KeyAgreement kaB = KeyAgreement.getInstance("ECDH", EXPECTED_PROVIDER_NAME); in testBasic() 603 KeyAgreement ka = KeyAgreement.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testModifiedPublic() 644 KeyAgreement ka = KeyAgreement.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testModifiedPublicSpec() 727 KeyAgreement ka = KeyAgreement.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testWrongOrder() 807 KeyAgreement ka = KeyAgreement.getInstance("ECDH", EXPECTED_PROVIDER_NAME); in testLargePrivateKey()
|
D | JsonMacTest.java | 39 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in JsonMacTest 77 Mac mac = Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in computeMac() 121 Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testMac() 185 Mac mac = Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in getInitializedMacWithIv() 212 Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testMacWithIv()
|
D | RsaEncryptionTest.java | 47 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in RsaEncryptionTest 63 Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", EXPECTED_PROVIDER_NAME); in testOutdatedProvider() 65 Cipher.getInstance("RSA/ECB/OAEPWITHSHA-1ANDMGF1PADDING", EXPECTED_PROVIDER_NAME); in testOutdatedProvider() 163 Cipher decrypter = Cipher.getInstance("RSA/ECB/PKCS1Padding", EXPECTED_PROVIDER_NAME); in testDecryption()
|
D | CipherOutputStreamTest.java | 60 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in CipherOutputStreamTest 114 Cipher cipher = Cipher.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in TestVector() 151 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testEncrypt() 165 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testDecrypt() 187 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testCorruptDecrypt()
|
D | CipherInputStreamTest.java | 60 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in CipherInputStreamTest 114 Cipher cipher = Cipher.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in TestVector() 151 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testEncrypt() 175 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testDecrypt() 211 Cipher cipher = Cipher.getInstance(t.algorithm, EXPECTED_PROVIDER_NAME); in testCorruptDecrypt()
|
D | MacTest.java | 41 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in MacTest 99 Mac mac = Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testUpdateWithChunks() 201 Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testMac() 294 Mac mac = Mac.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in macRepeatedMessage()
|
D | AesGcmTest.java | 59 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in AesGcmTest 112 EXPECTED_PROVIDER_NAME); in getInitializedCipherInstance() 572 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testLargeArrayAlias() 600 cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testLargeArrayAlias() 662 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testByteBufferShiftedAlias() 975 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testDefaultTagSizeIvParameterSpec() 1004 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testDefaultTagSizeAlgorithmParameterGenerator() 1060 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testWrappedAroundCounter() 1108 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding", EXPECTED_PROVIDER_NAME); in testEncryptEmptyPlaintextWithEmptyIv() 1109 Cipher block = Cipher.getInstance("AES/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testEncryptEmptyPlaintextWithEmptyIv() [all …]
|
D | JsonSignatureTest.java | 49 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in JsonSignatureTest 136 return Signature.getInstance(md + "WITH" + signatureAlgorithm, EXPECTED_PROVIDER_NAME); in getSignatureInstance() 144 return Signature.getInstance(jdkName, EXPECTED_PROVIDER_NAME); in getSignatureInstance() 149 return Signature.getInstance(bcName, EXPECTED_PROVIDER_NAME); in getSignatureInstance() 153 return Signature.getInstance(md + "WITH" + signatureAlgorithm, EXPECTED_PROVIDER_NAME); in getSignatureInstance() 159 return Signature.getInstance(signatureAlgorithm, EXPECTED_PROVIDER_NAME); in getSignatureInstance() 165 return Signature.getInstance("EDDSA", EXPECTED_PROVIDER_NAME); in getSignatureInstance()
|
D | JsonEcdhTest.java | 42 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in JsonEcdhTest 130 KeyAgreement ka = KeyAgreement.getInstance("ECDH", EXPECTED_PROVIDER_NAME); in testEcdhComp()
|
D | EcdsaTest.java | 52 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in EcdsaTest 221 signer = Signature.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testParameters() 222 verifier = Signature.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testParameters() 265 Signature signer = Signature.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testBias()
|
D | JsonCipherTest.java | 45 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in JsonCipherTest 153 Cipher cipher = Cipher.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testCipher()
|
D | RsaOaepTest.java | 52 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_CRYPTO_OP_PROVIDER_NAME; field in RsaOaepTest 142 Cipher c = Cipher.getInstance(oaepName, EXPECTED_PROVIDER_NAME); in testDefaults() 306 Cipher decrypter = Cipher.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testOaep()
|
D | JsonAeadTest.java | 41 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in JsonAeadTest
|
D | RsaSignatureTest.java | 51 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in RsaSignatureTest
|
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/ |
D | TestUtil.java | 22 public static final String EXPECTED_PROVIDER_NAME = "AndroidKeyStore"; field in TestUtil
|