diff options
author | W. Kosior <koszko@koszko.org> | 2025-01-25 19:10:07 +0100 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2025-01-25 19:13:14 +0100 |
commit | f73883a5dc0b68c03ccc0cfdde39686fd1adb6e2 (patch) | |
tree | b850528d18cde12dfa139b3bb6a3213b4353e3e0 | |
parent | b5f5565f46997b91e6bcd9eb485eeb665c6d478e (diff) | |
download | pq-blind-sigs-impl-f73883a5dc0b68c03ccc0cfdde39686fd1adb6e2.tar.gz pq-blind-sigs-impl-f73883a5dc0b68c03ccc0cfdde39686fd1adb6e2.zip |
Make signer state argument to protocol phase 5 function a const.
-rw-r--r-- | pqcrypto_blind_sig.c | 4 | ||||
-rw-r--r-- | pqcrypto_blind_sig.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pqcrypto_blind_sig.c b/pqcrypto_blind_sig.c index b3f3eea..30c811f 100644 --- a/pqcrypto_blind_sig.c +++ b/pqcrypto_blind_sig.c @@ -1011,8 +1011,8 @@ fail: } void blind_sig_proto_p5_init_do(blind_sig_proto_p5_t result, - blind_sig_signer_state_t state, - blind_sig_pub_key_t pub_key, + blind_sig_signer_state_t const state, + blind_sig_pub_key_t const pub_key, blind_sig_proto_p4_t const p4_result, blind_sig_ctx_t const ctx) { fmpz_poly_t epsilon, tmp; diff --git a/pqcrypto_blind_sig.h b/pqcrypto_blind_sig.h index fb8e1e9..24c4466 100644 --- a/pqcrypto_blind_sig.h +++ b/pqcrypto_blind_sig.h @@ -245,8 +245,8 @@ void blind_sig_proto_p4_init_do(blind_sig_proto_p4_t result, blind_sig_ctx_t const ctx); void blind_sig_proto_p5_init_do(blind_sig_proto_p5_t result, - blind_sig_signer_state_t state, - blind_sig_pub_key_t pub_key, + blind_sig_signer_state_t const state, + blind_sig_pub_key_t const pub_key, blind_sig_proto_p4_t const p4_result, blind_sig_ctx_t const ctx); |