11.12.3.4.187. Function sss_derive_key_context_init¶
Defined in File fsl_sss_api.h
11.12.3.4.187.1. Function Documentation¶
-
sss_status_t
sss_derive_key_context_init
(sss_derive_key_t *context, sss_session_t *session, sss_object_t *keyObject, sss_algorithm_t algorithm, sss_mode_t mode)¶ Derive key context init. The function initializes derive key context with initial values.
- Return
Status of the operation
- Parameters
context
: Pointer to derive key context.session
: Associate SSS session with the derive key context.keyObject
: Associate SSS key object with the derive key context.algorithm
: One of the derive key algorithms defined by sss_algorithm_t.mode
: One of the modes defined by sss_mode_t.
- 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.