diff --git a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp index 6c10c32f..5720c208 100644 --- a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp +++ b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp @@ -216,7 +216,7 @@ void ProvisioningRoundTrip::PrepareSession( void ProvisioningRoundTrip::VerifyRequestSignature( const vector& data, const vector& generated_signature, - size_t core_message_length) { + size_t /* core_message_length */) { if (global_features.provisioning_method == OEMCrypto_OEMCertificate) { session()->VerifyRSASignature(data, generated_signature.data(), generated_signature.size(), kSign_RSASSA_PSS); @@ -333,21 +333,16 @@ OEMCryptoResult ProvisioningRoundTrip::LoadResponse(Session* session) { // If this platform does not support v15 functions, we just need to stub these // out so that the tests compile. OEMCryptoResult OEMCrypto_RewrapDeviceRSAKey30_V15( - OEMCrypto_SESSION session, const uint32_t* unaligned_nonce, - const uint8_t* encrypted_message_key, size_t encrypted_message_key_length, - const uint8_t* enc_rsa_key, size_t enc_rsa_key_length, - const uint8_t* enc_rsa_key_iv, uint8_t* wrapped_rsa_key, - size_t* wrapped_rsa_key_length) { + OEMCrypto_SESSION, const uint32_t*, const uint8_t*, size_t, const uint8_t*, + size_t, const uint8_t*, uint8_t*, size_t*) { LOGE("Support for v15 functions not included. Define TEST_OEMCRYPTO_V15."); return OEMCrypto_ERROR_NOT_IMPLEMENTED; } OEMCryptoResult OEMCrypto_RewrapDeviceRSAKey_V15( - OEMCrypto_SESSION session, const uint8_t* message, size_t message_length, - const uint8_t* signature, size_t signature_length, - const uint32_t* unaligned_nonce, const uint8_t* enc_rsa_key, - size_t enc_rsa_key_length, const uint8_t* enc_rsa_key_iv, - uint8_t* wrapped_rsa_key, size_t* wrapped_rsa_key_length) { + OEMCrypto_SESSION, const uint8_t*, size_t, const uint8_t*, size_t, + const uint32_t*, const uint8_t*, size_t, const uint8_t*, uint8_t*, + size_t*) { LOGE("Support for v15 functions not included. Define TEST_OEMCRYPTO_V15."); return OEMCrypto_ERROR_NOT_IMPLEMENTED; }