Skip to content

Commit

Permalink
fix composite adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
feventura committed Dec 8, 2023
1 parent 1792423 commit bd76537
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion oqsprov/oqs_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
// TBD: Review what we really need/want: For now go with OSSL settings:
#define OSSL_MAX_NAME_SIZE 50
#define OSSL_MAX_PROPQUERY_SIZE 256 /* Property query strings */
#define COMPOSITE_IDX_ADJUST 23 /*idx to the first composite in the composite idx block*/
#ifdef OQS_KEM_ENCODERS /*idx to the first composite in the composite idx block*/
# define COMPOSITE_IDX_ADJUST 65
#else
# define COMPOSITE_IDX_ADJUST 23
#endif


#ifdef NDEBUG
# define OQS_SIG_PRINTF(a)
Expand Down
2 changes: 1 addition & 1 deletion oqsprov/oqsprov.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ extern OSSL_FUNC_provider_get_capabilities_fn oqs_provider_get_capabilities;
///// OQS_TEMPLATE_FRAGMENT_ASSIGN_SIG_OIDS_START

#ifdef OQS_KEM_ENCODERS
# define OQS_OID_CNT 165
# define OQS_OID_CNT 162
#else
# define OQS_OID_CNT 78
#endif
Expand Down

0 comments on commit bd76537

Please sign in to comment.