Update to support OEMCrypto v16 with ODK
This commit is contained in:
25
common/hash_algorithm_util.h
Normal file
25
common/hash_algorithm_util.h
Normal file
@@ -0,0 +1,25 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright 2020 Google LLC.
|
||||
//
|
||||
// This software is licensed under the terms defined in the Widevine Master
|
||||
// License Agreement. For a copy of this agreement, please contact
|
||||
// widevine-licensing@google.com.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef COMMON_HASH_ALGORITHM_UTIL_H_
|
||||
#define COMMON_HASH_ALGORITHM_UTIL_H_
|
||||
|
||||
#include "common/hash_algorithm.h"
|
||||
#include "protos/public/hash_algorithm.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
|
||||
HashAlgorithm HashAlgorithmProtoToEnum(HashAlgorithmProto hash_algorithm_proto);
|
||||
|
||||
HashAlgorithmProto HashAlgorithmEnumToProto(HashAlgorithm hash_algorithm);
|
||||
|
||||
std::string HashAlgorithmEnumToString(HashAlgorithm hash_algorithm);
|
||||
|
||||
} // namespace widevine
|
||||
|
||||
#endif // COMMON_HASH_ALGORITHM_UTIL_H_
|
||||
Reference in New Issue
Block a user