Files
oemcrypto/oemcrypto/opk/oemcrypto_ta/wtpi_useless/wtpi_cas.c
Fred Gylys-Colwell ef3ad135c9 Add new test files for OEMCrypto v17.2
The previous commit did not include some new files.
2023-09-07 13:45:38 -07:00

52 lines
1.4 KiB
C

/* Copyright 2023 Google LLC. All Rights Reserved. This file and proprietary
source code may only be used and distributed under the Widevine License
Agreement. */
#include "wtpi_cas_interface.h"
OEMCryptoResult WTPI_InitializeCas(void) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_TerminateCas(void) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_AllocateKeySlotDescriptor(OEMCrypto_SESSION session_id,
void** key_slot_descriptor) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_FreeKeySlotDescriptor(void* key_slot_descriptor) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_InstallContentKey(void* key_slot_descriptor,
WTPI_K1_SymmetricKey_Handle key_handle,
OEMCryptoCipherMode cipher_mode,
bool is_even) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_InstallContentIV(void* key_slot_descriptor, uint8_t* iv,
size_t iv_length, bool is_even) {
// TODO
return OEMCrypto_SUCCESS;
}
OEMCryptoResult WTPI_GetKeyToken(void* key_slot_descriptor, uint8_t* key_token,
size_t* key_token_length) {
// TODO
return OEMCrypto_SUCCESS;
}
size_t WTPI_GetKeyTokenSize(void) {
// TODO
return 0;
}