Update OEMCrypto_PrepAndSignLicenseRequest() documentation

OEMCrypto_PrepAndSignLicenseRequest() documentation needs to be updated
to match the current behavior.

Bug: 296608852
Change-Id: Ib76dc2f1afa705b5f71e654afa2889b2dcca36ce
This commit is contained in:
Vicky Min
2023-08-23 22:56:31 +00:00
committed by Robert Shih
parent 660a20ed5c
commit 3933be3650

View File

@@ -1162,9 +1162,7 @@ OEMCryptoResult OEMCrypto_GenerateNonce(OEMCrypto_SESSION session,
* Message Serialization".
*
* The message body is the buffer starting at message + core_message_size,
* and with length message_length - core_message_size. The reason OEMCrypto
* only signs the message body and not the entire message is to allow a v16
* device to request a license from a v15 license server.
* and with length message_length - core_message_size.
*
* If the session's private RSA key has an "allowed_schemes" bit field, then
* it must be 0x1 (RSASSA-PSS with SHA1). If not, then an error of
@@ -1219,7 +1217,7 @@ OEMCryptoResult OEMCrypto_GenerateNonce(OEMCrypto_SESSION session,
* session, and a read lock on the OEMCrypto system.
*
* @version
* This method changed in API version 16.
* This method changed in API version 17.
*/
OEMCryptoResult OEMCrypto_PrepAndSignLicenseRequest(
OEMCrypto_SESSION session, uint8_t* message, size_t message_length,