11.12.3.4.257. Function sss_se05x_derive_key_one_go¶
Defined in File fsl_sss_se05x_apis.h
11.12.3.4.257.1. Function Documentation¶
-
sss_status_t
sss_se05x_derive_key_one_go
(sss_se05x_derive_key_t *context, const uint8_t *saltData, size_t saltLen, const uint8_t *info, size_t infoLen, sss_se05x_object_t *derivedKeyObject, uint16_t deriveDataLen)¶ Symmetric key derivation (replaces the deprecated function sss_derive_key_go) The function cryptographically derives a key from another key. For example MIFARE key derivation, PRF, HKDF-Extract-Expand, HKDF-Expand. Refer to sss_derive_key_sobj_one_go in case the Salt is available as a key object.
- Return
Status of the operation
- Parameters
context
: Pointer to derive key context.saltData
: Input data buffer, typically with some random data.saltLen
: Length of saltData buffer in bytes.info
: Input data buffer, typically with some fixed info.infoLen
: Length of info buffer in bytes.[inout] derivedKeyObject
: Reference to a derived key[in] deriveDataLen
: Expected length of derived key.
- Return Value
kStatus_SSS_Success
: The operation has completed successfully.kStatus_SSS_Fail
: The operation has failed.kStatus_SSS_InvalidArgument
: One of the arguments is invalid for the function to execute.