Merge "Remove Unused OEMCrypto Wrapper Methods"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1de68fb7c2
@@ -57,14 +57,6 @@ class WVGenericCryptoInterface {
|
||||
algorithm, signature, signature_length);
|
||||
}
|
||||
|
||||
virtual OEMCryptoResult openSession(OEMCrypto_SESSION *session) {
|
||||
return OEMCrypto_OpenSession(session);
|
||||
}
|
||||
|
||||
virtual OEMCryptoResult closeSession(OEMCrypto_SESSION session) {
|
||||
return OEMCrypto_CloseSession(session);
|
||||
}
|
||||
|
||||
virtual OEMCryptoResult loadDeviceRSAKey(OEMCrypto_SESSION session,
|
||||
const uint8_t* wrapped_rsa_key,
|
||||
size_t wrapped_rsa_key_length) {
|
||||
|
||||
@@ -96,10 +96,6 @@ class MockCrypto : public WVGenericCryptoInterface {
|
||||
size_t, OEMCrypto_Algorithm,
|
||||
const uint8_t*, size_t));
|
||||
|
||||
MOCK_METHOD1(openSession, OEMCryptoResult(OEMCrypto_SESSION*));
|
||||
|
||||
MOCK_METHOD1(closeSession, OEMCryptoResult(OEMCrypto_SESSION));
|
||||
|
||||
MOCK_METHOD3(loadDeviceRSAKey, OEMCryptoResult(OEMCrypto_SESSION,
|
||||
const uint8_t*, size_t));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user