Implement license protocol 2.2 for OEMCrypto v19
This updates the code and tests to allow for using license protocol 2.2 when using OEMCrypto v19. Issue: 80428549 Issue: 121031064 Issue: 232464183 Change-Id: Ib6bb61f86dd310b566227462658530bca5940b88
This commit is contained in:
committed by
Robert Shih
parent
5f3bc77c52
commit
4b32cb4b10
@@ -1025,6 +1025,9 @@ OEMCryptoResult OEMCrypto_GenerateNonce(OEMCrypto_SESSION session,
|
||||
* Refer to the Signing Messages Sent to a Server section above for more
|
||||
* details about the signature algorithm.
|
||||
*
|
||||
* Starting in OEMCrypto v19, the |message| buffer must be hashed using SHA512
|
||||
* before signing.
|
||||
*
|
||||
* NOTE: if signature pointer is null and/or input signature_length is zero,
|
||||
* this function returns OEMCrypto_ERROR_SHORT_BUFFER and sets output
|
||||
* signature_length to the size needed to receive the output signature.
|
||||
|
||||
Reference in New Issue
Block a user