Go to the source code of this file.
|
| int_fast16_t | KeyStore_PSA_initKey (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, const void *keyAttributes) |
| | Initializes a CryptoKey type. More...
|
| |
| int_fast16_t | KeyStore_PSA_initBlankKey (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, const void *keyAttributes) |
| | Initializes a Blank CryptoKey type. More...
|
| |
| int_fast16_t | KeyStore_PSA_initKeyHSM (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, const void *keyAttributes) |
| | Initializes a CryptoKey type. More...
|
| |
| int_fast16_t | KeyStore_PSA_initBlankKeyHSM (CryptoKey *keyHandle, KeyStore_PSA_KeyFileId keyID, size_t keyLength, const void *keyAttributes) |
| | Initializes a Blank CryptoKey type. More...
|
| |
§ 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
§ KeyStore_PSA_initKeyHSM()
Initializes a CryptoKey type.
- Parameters
-
| [in] | keyHandle | Pointer to a CryptoKey which will be initialized to type CryptoKey_KEYSTORE_HSM 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_initBlankKeyHSM()
Initializes a Blank CryptoKey type.
- Parameters
-
| [in] | keyHandle | Pointer to a CryptoKey which will be initialized to type CryptoKey_BLANK_KEYSTORE_HSM 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