24 lines
621 B
C
24 lines
621 B
C
#ifndef AMDUAT_ASL_REF_DERIVE_H
|
|
#define AMDUAT_ASL_REF_DERIVE_H
|
|
|
|
#include "amduat/asl/core.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Caller owns any heap allocations returned in out_ref/out_artifact_bytes. */
|
|
bool amduat_asl_ref_derive(amduat_artifact_t artifact,
|
|
amduat_asl_encoding_profile_id_t profile_id,
|
|
amduat_hash_id_t hash_id,
|
|
amduat_reference_t *out_ref,
|
|
amduat_octets_t *out_artifact_bytes);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* AMDUAT_ASL_REF_DERIVE_H */
|