24 lines
778 B
C++
24 lines
778 B
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// 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);
|
|
|
|
} // namespace widevine
|
|
|
|
#endif // COMMON_HASH_ALGORITHM_UTIL_H_
|