29 lines
601 B
C
29 lines
601 B
C
#ifndef AMDUAT_ASL_IDENTITY_H
|
|
#define AMDUAT_ASL_IDENTITY_H
|
|
|
|
#include "amduat/asl/core.h"
|
|
#include "amduat/hash/asl1.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
const char *hash_registry;
|
|
uint16_t hash_registry_version;
|
|
amduat_octets_t domain_separator;
|
|
} amduat_asl_identity_rules_t;
|
|
|
|
/* Domain separator for ASL/1 artifact identity hashing. */
|
|
amduat_octets_t amduat_asl_identity_domain_separator(void);
|
|
|
|
const amduat_asl_identity_rules_t *amduat_asl_identity_rules(void);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* AMDUAT_ASL_IDENTITY_H */
|