IMA_GetDataDigestValues - Gets the list of checksums that can be negotiated for data digests
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetDataDigestValues( /* in */ IMA_OID oid, /* in,out */ IMA_UINT *pDigestValueCount, /* out */ IMA_DIGEST_TYPE *pDigestValueList; );
The object ID of a logical host bus adapter (LHBA) or target whose digest values are to be retrieved.
A pointer to an IMA_UINT data structure allocated by the caller.
On entry, the value pointed to contains the maximum number of entries that can be placed in the pDigestValueList argument. When returned by the IMA_GetDataDigestValues() API, the pDigestValueCount argument contains the number of entries that were actually placed in the pDigestValueList argument.
A pointer to an array of the IMA_DIGEST_TYPE data structure allocated by the caller. If the value is NULL, then the value pointed to by the pDigestValueCount argument on entry is zero.
If the value is not NULL when this argument is successfully returned, then the array is filled in with the digest values currently being used by the LHBA or the target. These entries will be sorted in decreasing order of preference for use by the LHBA or the target.
The IMA_GetDataDigestValues() API gets the list of checksums that can be negotiated for data digests.
Returned if the pDigestValueList argument specifies a memory area to which data cannot be written
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
See attributes(7) for descriptions of the following attributes:
|