IMA_SetHeaderDigestValues - Sets the list of checksums that can be negotiated for header digests
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetDataDigestValues( /* in */ IMA_OID oid, /* in */ IMA_UINT digestValueCount, /* in */ const IMA_DIGEST_TYPE *pDigestValueList; );
The object ID of a logical host bus adapter (LHBA) or target whose header digest values are to be set.
The number of digest values in the pDigestValueList argument. There is at least one entry in the list
A list of one or more digest values that the LHBA or target will use
The IMA_SetHeaderDigestValues () API sets the list of checksums that can be negotiated for header digests.
Returned if a reboot is necessary before the setting of the specified digest values will take effect
Returned if the oid argument does not specify a valid object type
Returned if the oid argument does not specify an LHBA or target
Returned if the oid argument does not specify an LHBA or target known to the system
Returned if the digestValueCount argument is zero
Returned if the pDigestValueList argument is NULL, or specifies a memory area from which data cannot be read
Returned if the pDigestValueList argument contains duplicate values
Returned if the pDigestValueList argument contains an invalid value
See attributes(7) for descriptions of the following attributes:
|