aboutsummaryrefslogtreecommitdiff
path: root/hashsig.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-02-28 17:08:25 -0500
committerPaul Selkirk <paul@psgd.org>2019-03-04 21:32:15 -0500
commit5b2d3d25f46e8c2a306d77e8d7b2e00f1b67011f (patch)
tree2cb0fa650dedd9d4c2789dd598427b013e601d2f /hashsig.h
parentffb543fed93541680a5d94010ea6b01210151eaa (diff)
Use the hashsig pseudorandom key generation method if the key is exportable.
Diffstat (limited to 'hashsig.h')
-rw-r--r--hashsig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hashsig.h b/hashsig.h
index ef8be42..505d0f3 100644
--- a/hashsig.h
+++ b/hashsig.h
@@ -43,7 +43,8 @@ extern hal_error_t hal_hashsig_key_gen(hal_core_t *core,
hal_hashsig_key_t **key_,
const size_t hss_levels,
const hal_lms_algorithm_t lms_type,
- const hal_lmots_algorithm_t lmots_type);
+ const hal_lmots_algorithm_t lmots_type,
+ const hal_key_flags_t flags);
extern hal_error_t hal_hashsig_key_delete(const hal_hashsig_key_t * const key);