Home
last modified time | relevance | path

Searched refs:EXPECTED_PROVIDER_NAME (Results 1 – 16 of 16) sorted by relevance

/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
DRsaPssTest.java51 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()
DEcdhTest.java96 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()
DJsonMacTest.java39 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()
DRsaEncryptionTest.java47 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()
DCipherOutputStreamTest.java60 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()
DCipherInputStreamTest.java60 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()
DMacTest.java41 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()
DAesGcmTest.java59 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 …]
DJsonSignatureTest.java49 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()
DJsonEcdhTest.java42 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()
DEcdsaTest.java52 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()
DJsonCipherTest.java45 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()
DRsaOaepTest.java52 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()
DJsonAeadTest.java41 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in JsonAeadTest
DRsaSignatureTest.java51 private static final String EXPECTED_PROVIDER_NAME = TestUtil.EXPECTED_PROVIDER_NAME; field in RsaSignatureTest
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/
DTestUtil.java22 public static final String EXPECTED_PROVIDER_NAME = "AndroidKeyStore"; field in TestUtil