Update Simulcrypt ECMg
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "common/hash_algorithm.h"
|
||||
#include "common/status.h"
|
||||
|
||||
namespace widevine {
|
||||
@@ -23,11 +24,13 @@ Status GenerateAesSignature(const std::string& message,
|
||||
const std::string& aes_key,
|
||||
const std::string& aes_iv, std::string* signature);
|
||||
|
||||
// Generates a RSA signature of |message| using |private_key|.
|
||||
// Signature is returned via |sigature| if generation was successful.
|
||||
// Returns a Status that carries the details of error if generation failed.
|
||||
// Generates a RSA signature of |message| using |private_key| and
|
||||
// |hash_algorithm|. Signature is returned via |sigature| if generation was
|
||||
// successful. Returns a Status that carries the details of error if generation
|
||||
// failed.
|
||||
Status GenerateRsaSignature(const std::string& message,
|
||||
const std::string& private_key,
|
||||
HashAlgorithm hash_algorithm,
|
||||
std::string* signature);
|
||||
|
||||
} // namespace signature_util
|
||||
|
||||
Reference in New Issue
Block a user