Source release 18.1.0
This commit is contained in:
@@ -304,3 +304,65 @@ OEMCryptoResult _oecc120(OEMCrypto_SESSION session, const uint8_t* message,
|
||||
// OEMCrypto_GetOEMKeyToken defined in v17.2
|
||||
OEMCryptoResult _oecc130(OEMCrypto_SESSION key_session, uint8_t* key_token,
|
||||
size_t* key_token_length);
|
||||
|
||||
// OEMCrypto_SetMaxAPIVersion defined in v18.1
|
||||
OEMCryptoResult _oecc132(uint32_t max_version);
|
||||
|
||||
// OEMCrypto_GetKeyHandle defined in v18.1
|
||||
OEMCryptoResult _oecc133(OEMCrypto_SESSION session,
|
||||
const uint8_t* content_key_id,
|
||||
size_t content_key_id_length,
|
||||
OEMCryptoCipherMode cipher_mode, uint8_t* key_handle,
|
||||
size_t* key_handle_length);
|
||||
|
||||
// OEMCrypto_DecryptCENC defined in v18.1
|
||||
OEMCryptoResult _oecc134(
|
||||
const uint8_t* key_handle, size_t key_handle_length,
|
||||
const OEMCrypto_SampleDescription* samples, // an array of samples.
|
||||
size_t samples_length, // the number of samples.
|
||||
const OEMCrypto_CENCEncryptPatternDesc* pattern);
|
||||
|
||||
// OEMCrypto_Generic_Encrypt defined in v18.1
|
||||
OEMCryptoResult _oecc135(const uint8_t* key_handle, size_t key_handle_length,
|
||||
const OEMCrypto_SharedMemory* in_buffer,
|
||||
size_t in_buffer_length, const uint8_t* iv,
|
||||
OEMCrypto_Algorithm algorithm,
|
||||
OEMCrypto_SharedMemory* out_buffer);
|
||||
|
||||
// OEMCrypto_Generic_Decrypt defined in v18.1
|
||||
OEMCryptoResult _oecc136(const uint8_t* key_handle, size_t key_handle_length,
|
||||
const OEMCrypto_SharedMemory* in_buffer,
|
||||
size_t in_buffer_length, const uint8_t* iv,
|
||||
OEMCrypto_Algorithm algorithm,
|
||||
OEMCrypto_SharedMemory* out_buffer);
|
||||
|
||||
// OEMCrypto_Generic_Sign defined in v18.1
|
||||
OEMCryptoResult _oecc137(const uint8_t* key_handle, size_t key_handle_length,
|
||||
const OEMCrypto_SharedMemory* buffer,
|
||||
size_t buffer_length, OEMCrypto_Algorithm algorithm,
|
||||
OEMCrypto_SharedMemory* signature,
|
||||
size_t* signature_length);
|
||||
|
||||
// OEMCrypto_Generic_Verify defined in v18.1
|
||||
OEMCryptoResult _oecc138(const uint8_t* key_handle, size_t key_handle_length,
|
||||
const OEMCrypto_SharedMemory* buffer,
|
||||
size_t buffer_length, OEMCrypto_Algorithm algorithm,
|
||||
const OEMCrypto_SharedMemory* signature,
|
||||
size_t signature_length);
|
||||
|
||||
// OEMCrypto_GetSignatureHashAlgorithm defined in v18.1
|
||||
OEMCryptoResult _oecc139(OEMCrypto_SESSION session,
|
||||
OEMCrypto_SignatureHashAlgorithm* algorithm);
|
||||
|
||||
// OEMCrypto_GetDeviceInformation defined in v18.1
|
||||
OEMCryptoResult _oecc131(uint8_t* device_info, size_t* device_info_length);
|
||||
|
||||
// OEMCrypto_GetDeviceSignedCsrPayload defined in v18.1
|
||||
OEMCryptoResult _oecc141(const uint8_t* challenge, size_t challenge_length,
|
||||
const uint8_t* encoded_device_info,
|
||||
size_t encoded_device_info_length,
|
||||
uint8_t* signed_csr_payload,
|
||||
size_t* signed_csr_payload_length);
|
||||
|
||||
// OEMCrypto_EnterTestMode defined in v18.1
|
||||
OEMCryptoResult _oecc140(void);
|
||||
|
||||
Reference in New Issue
Block a user