################################################################################ # Copyright 2018 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. ################################################################################ from "common/crypto_util.h": namespace `widevine::crypto_util`: const `kSigningKeyLabel` as SIGNING_KEY_LABEL: bytes const `kSigningKeySizeBits` as SIGNING_KEY_SIZE_BITS: int def DeriveKey(key: bytes, label: bytes, context: bytes, size_bits: uint32_t) -> bytes def CreateSignatureHmacSha256(key: bytes, message: bytes) -> bytes