Go to the source code of this file.
§ KeyStore_PSA_initKey()
Initializes a CryptoKey type.
- Parameters
-
[in] | keyHandle | Pointer to a CryptoKey which will be initialized to type CryptoKey_KEYSTORE and ready for use |
[in] | keyID | Key ID of the key in Key Store |
[in] | keyLength | Length of keying material in bytes |
[in] | keyAttributes | Pointer to the attributes for KeyStore key, use NULL if CryptoKey structure will not be used to generate keys |
- Returns
- Returns a status code from CryptoKey.h
§ KeyStore_PSA_initBlankKey()
Initializes a Blank CryptoKey type.
- Parameters
-
[in] | keyHandle | Pointer to a CryptoKey which will be initialized to type CryptoKey_BLANK_KEYSTORE and ready for use |
[in] | keyID | Key ID of the key in Key Store |
[in] | keyLength | Length of keying material in bytes |
[in] | keyAttributes | Pointer to the attributes for KeyStore key, use NULL if CryptoKey structure will not be used to generate keys |
- Returns
- Returns a status code from CryptoKey.h