11.12.3.4.187. Function sss_derive_key_context_init

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