kkeyset_to_hkeyset Kernel Service

Purpose

Computes the hardware keyset associated with a kernel keyset.

Syntax

#include <sys/kerrno.h>
#include <sys/skeys.h>

kerrno_t kkeyset_to_hkeyset (kkeyset, hkeyset)
kkeyset_t kkeyset;
hkeyset_t *hkeyset;

Parameters

Item Description
kkeyset Specifies the input kernel keyset to be mapped.
hkeyset Specifies the hardware keyset that is mapped to. The valid pointer must be an 8-byte aligned address.

Description

The kkeyset_to_hkeyset kernel service maps a kernel keyset to its associated hardware keyset.

Execution Environment

The kkeyset_to_hkeyset kernel service can be called from the process environment only.

Return Values

Item Description
0 Indicates a successful completion.
EINVAL_KKEYSET_TO_HKEYSET Indicates that the parameter or execution environment is not valid.