diff options
author | Alex Klyubin <klyubin@google.com> | 2015-04-15 11:32:04 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2015-04-15 11:39:31 -0700 |
commit | ef68d71f665164dc2b6341dfaaea2c41af8153b0 (patch) | |
tree | 1b3b4e62eb9d9b9d60ab2c252bb69ef3661eabdc /support/src | |
parent | 29faa03fc0ac5733a82f0f098aabd41848abe1f2 (diff) | |
download | libcore-ef68d71f665164dc2b6341dfaaea2c41af8153b0.zip libcore-ef68d71f665164dc2b6341dfaaea2c41af8153b0.tar.gz libcore-ef68d71f665164dc2b6341dfaaea2c41af8153b0.tar.bz2 |
Unbreak SecretKeyFactory-related ProviderTest.
The test was broken by AndroidKeyStore Provider adding support for
SecretKeyFactory for key algorithms AES, HmacSHA1, HmacSHA224,
HmacSHA256, HmacSHA384, and HmacSHA512.
Bug: 20250820
Change-Id: Iba2d8f269844e01913fbf82a744e83da8f951af1
Diffstat (limited to 'support/src')
-rw-r--r-- | support/src/test/java/libcore/java/security/StandardNames.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/src/test/java/libcore/java/security/StandardNames.java b/support/src/test/java/libcore/java/security/StandardNames.java index a55b47a..9aab942 100644 --- a/support/src/test/java/libcore/java/security/StandardNames.java +++ b/support/src/test/java/libcore/java/security/StandardNames.java @@ -394,6 +394,12 @@ public final class StandardNames extends Assert { provide("Signature", "NONEwithRSA"); provide("Cipher", "RSA/ECB/NOPADDING"); provide("Cipher", "RSA/ECB/PKCS1PADDING"); + provide("SecretKeyFactory", "AES"); + provide("SecretKeyFactory", "HmacSHA1"); + provide("SecretKeyFactory", "HmacSHA224"); + provide("SecretKeyFactory", "HmacSHA256"); + provide("SecretKeyFactory", "HmacSHA384"); + provide("SecretKeyFactory", "HmacSHA512"); // different names: ARCFOUR vs ARC4 unprovide("Cipher", "ARCFOUR"); |