9.13.3.4.114. Function sss_derive_key_sobj_one_go¶
Defined in File fsl_sss_api.h
9.13.3.4.114.1. Function Documentation¶
-
sss_status_t
sss_derive_key_sobj_one_go(sss_derive_key_t *context, sss_object_t *saltKeyObject, const uint8_t *info, size_t infoLen, sss_object_t *derivedKeyObject, uint16_t deriveDataLen)¶ Symmetric key derivation (salt in key object) Refer to sss_derive_key_one_go in case the salt is not available as a key object.
- Return
Status of the operation
- Parameters
context: Pointer to derive key contextsaltKeyObject: Reference to salt. The salt key object must reside in the same keystore as the derive key context.[in] info: Input data buffer, typically with some fixed info.[in] infoLen: Length of info buffer in bytes.derivedKeyObject: Reference to a derived key[in] deriveDataLen: The derive data length
- 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.
