Clarify that FDPT hash covers the last sample
Bug: 193266271 Change-Id: Ic769c05c6481d0d3f9eb08bce5fea2f39ac7ebe2
This commit is contained in:
committed by
Robert Shih
parent
1dc4377cde
commit
adfaf69d1a
@@ -5307,6 +5307,12 @@ uint32_t OEMCrypto_SupportsDecryptHash(void);
|
||||
* other error conditions, this returns OEMCrypto_ERROR_UNKNOWN_FAILURE. The
|
||||
* length of the hash will be 4 bytes (32 bits) for the default CRC32 hash.
|
||||
*
|
||||
* Since version 16, the function OEMCrypto_DecryptCENC has allowed several
|
||||
* samples to be decrypted in one function call using an array of
|
||||
* samples. OEMCrypto may assume that the hash passed into this function is of
|
||||
* the last sample in that array. In practice the test app only uses an array of
|
||||
* length 1 for each call.
|
||||
*
|
||||
* This may be called before the first call to OEMCrypto_GetKeyHandle. In that
|
||||
* case, this function cannot verify that the key control block allows hash
|
||||
* verification. The function DecryptCENC should verify that the key control bit
|
||||
|
||||
Reference in New Issue
Block a user