diff options
author | Paul Selkirk <paul@psgd.org> | 2018-08-12 15:01:06 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2018-08-12 15:01:06 -0400 |
commit | 7537c3a6f3c50301f220a0f1500afda904b4a2cf (patch) | |
tree | 85b68dcbfaa29116321c09aaabd27a4539b91425 /hal_internal.h | |
parent | 91658ababd0f3d902c3c40673640b6a8f90c648c (diff) |
Clean up builds for *BSD/clang.
Move lm[ot]s_algorithm_t definitions to hal.h, prefix all public symbols with 'hal_'.
Remove some unused functions.
Wrap hal_pkey_slot_t initializers in an extra set of curly braces.
Remove an unused-argument kludge (x=x;) because gcc doesn't care, and clang complains.
Make timersub a proper macro.
Add some casts to printf arguments, because !@#$ printf formats.
Diffstat (limited to 'hal_internal.h')
-rw-r--r-- | hal_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hal_internal.h b/hal_internal.h index 94546c3..15f4c79 100644 --- a/hal_internal.h +++ b/hal_internal.h @@ -310,8 +310,8 @@ typedef struct { hal_pkey_handle_t *pkey, hal_uuid_t *name, const size_t hss_levels, - const lms_algorithm_t lms_type, - const lmots_algorithm_t lmots_type, + const hal_lms_algorithm_t lms_type, + const hal_lmots_algorithm_t lmots_type, const hal_key_flags_t flags); hal_error_t (*close)(const hal_pkey_handle_t pkey); |