227ad7426104de7c267c19712b3954e3ebe75140 |
|
30-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Adjust MacTest for Bouncy Castle workaround. AndroidKeyStore-backed Mac implementation is now offered by the "AndroidKeyStoreBCWorkaround" provider (see 4812563f68c87278af68309662433279d10f573e). The test was changed accordingly. Moreover, this test was using a wrong way of detecting the default provider for HMACs that can handle SecretKeySpec instances. This is now fixed as well. Bug: 20691708 Change-Id: I0b3a2d1ff6d968779419305978203ad64d703e99
|
1c36e9665d7462715a01f1936ec1805125e83e57 |
|
15-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Unbreak Harmony MacTest. The test got broken by recenly added AndroidKeyStore-backed implementation of Mac which cannot be initialized with a SecretKeySpec. Bug: 20222007 Change-Id: Id4941347acd092b435d6797c5ee2477fae8cd516
|
20e310656f03cd83355eae5cd25237f71b80341a |
|
13-Mar-2015 |
Kenny Root <kroot@google.com> |
Late binding: specified Provider forces its use If a Provider is specified in a call to Signature#getInstance, Cipher#getInstance, KeyAgreement#getInstance, or Mac#getInstance, it should return that provider no matter if the properties on that provider say it should support it. Bug: 19730263 Change-Id: I56045e4cb470a0e1aa0e108a443e04043467c475
|
91e77f683cc56948748185ff821a9c2ee11540ba |
|
07-Feb-2014 |
Kenny Root <kroot@google.com> |
Late binding: add support to Mac This adds support for late binding (or delayed selection) to the Signature class. This allows the selection of the KeyAgreementSpi based on what kind of Key class is used to init(...) Change-Id: I8a14ac138e09d5bf2b925b5fa288c9adab540b76
|
9d72aaddcedda0eb4519f84805d2212fcc25ebaf |
|
26-Sep-2013 |
Kenny Root <kroot@google.com> |
Conscrypt: add SHA-224 with tests SHA-224 has made a comeback in the latest StandardNames documentation. This change adds tests for SHA-224 and also Conscrypt providers for things we have code paths to support. Change-Id: I8c200082ff76ee4ae38b6efaa16e6741b33b7f5b
|
936eb3070350370ea42e44b46a64b39de2089d4e |
|
26-Sep-2013 |
Kenny Root <kroot@google.com> |
Fix exceptions thrown in tests (cherry picked from commit 325e5492a9d294f9d5a9752103f5ce96df2c4095) Change-Id: Ibc9e0f5de47718e0338e25536e0db245ca761664
|
325e5492a9d294f9d5a9752103f5ce96df2c4095 |
|
26-Sep-2013 |
Kenny Root <kroot@google.com> |
Fix exceptions thrown in tests Change-Id: Ia1327511d4347550111334fb858053a8cd8c3109
|
affc5f44e461331f0e768791ee55911912500e0c |
|
26-Sep-2013 |
Kenny Root <kroot@google.com> |
Do not throw exception on Mac#reset OpenSSLMac was not checking whether it was initialized before dereferencing its macKey field. This caused callers to Mac#reset() before Mac#init() to get a NullPointerException. Bug: https://code.google.com/p/android/issues/detail?id=58179 Change-Id: I8523983fec578079a66a04d585c1ddbe7732575e
|
38375a4d0b3d34e2babbd2f6a013976c7c439696 |
|
24-Apr-2013 |
Kenny Root <kroot@google.com> |
Move JSSE to new package To help with shipping the JSSE with apps that want to bundle it, move it to a new package so that the tangles in other parts of the library can be untangled. Change-Id: I810b6861388635301e28aee5b9b47b8e6b35b430
|
fefaf999c4878681be0551331ff3028b381a9203 |
|
08-Feb-2013 |
Kenny Root <kroot@google.com> |
NativeCrypto: fix ENGINE tests A bug in OpenSSL's dso_lib code was masking the true failure reason for this test. If it has a library name set, it would search the path for it. However, after the first failed try, it would store the error on the OpenSSL error stack, and then the next tries would fail. Changed to using ID instead of library name so we can get truer behavior. This necessitates changing the test ENGINE's ID to match what the library name is. Change-Id: I1acd1bffd6756ec3a527221cf19c6f2067ffc1a8
|
a45d02e5fbf1ec387dcb1e6c91e867d32ab36193 |
|
23-Jan-2013 |
Kenny Root <kroot@google.com> |
NativeCrypto: add OpenSSLSecretKey for HMAC Change-Id: Id5a77b41549944d7deffda0e2a4e60dbbd26184e
|
0d4ee1f9b8c37fb33cd74da4efac5905ba138e45 |
|
19-Jan-2013 |
Kenny Root <kroot@google.com> |
OpenSSLMac: fix initialization with new key If an OpenSSLMac instance was re-initialized with a new key, it wouldn't produce correct results. Make sure to re-initialize the EVP_MD_CTX as well. Change-Id: Idfb18017407ff65866ae7e6f6fca3d646a970803
|
a9a21fc20ac86e723c141bc145f582a2ab83268a |
|
04-Oct-2012 |
Kenny Root <kroot@google.com> |
OpenSSLMac: new OpenSSL HMAC connector Change-Id: I6a6a9cbdcdc490a0bc1c313bbaf045a4fd99555e
|
229e34b182b98e1dba15d3dc6341954986ae2b7a |
|
03-Mar-2011 |
Brian Carlstrom <bdc@google.com> |
Removing use of @tests and @Test.* annotations Change-Id: I89243efdeebe22543c45a2166b634f40c3e78cf8
|
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove all trailing whitespace from the dalvik team-maintained parts of libcore. Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
|
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
|