Add OEMCrypto_WrapClearPrivateKey()

Bug: 306059409
Test: WVTS

Change-Id: Ifce5824b455c276c6fc0753de7932a5b69dffd1f
(cherry picked from commit f4679aac18de5dbe2bc22501294e719a55d51199)
This commit is contained in:
Matt Feddersen
2024-05-14 13:58:39 -07:00
committed by Rahul Frias
parent df29c42108
commit 77e8597bf9
3 changed files with 70 additions and 0 deletions

View File

@@ -369,3 +369,9 @@ OEMCryptoResult _oecc140(void);
// OEMCrypto_FactoryInstallBCCSignature defined in v18.3
OEMCryptoResult _oecc142(const uint8_t* signature, size_t signature_length);
// OEMCrypto_WrapClearPrivateKey defined in v18.6
OEMCryptoResult _oecc154(const uint8_t* clear_private_key_bytes,
size_t clear_private_key_length,
uint8_t* wrapped_private_key,
size_t* wrapped_private_key_length);