Browse Source

Fix pointer type codestyle inconsistency

master
Joost Rijneveld 6 years ago
parent
commit
fd49bbbfe0
No known key found for this signature in database GPG Key ID: A4FE39CF49CBC553
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      params.h
  2. +1
    -1
      xmss_core_fast.c

+ 2
- 2
params.h View File

@@ -35,14 +35,14 @@ typedef struct {
* and outputs OIDs such as 0x01000001. * and outputs OIDs such as 0x01000001.
* Returns -1 when the parameter set is not found, 0 otherwise * Returns -1 when the parameter set is not found, 0 otherwise
*/ */
int xmss_str_to_oid(uint32_t *oid, const char* s);
int xmss_str_to_oid(uint32_t *oid, const char *s);


/** /**
* Accepts takes strings such as "XMSSMT-SHA2_20/2_256" * Accepts takes strings such as "XMSSMT-SHA2_20/2_256"
* and outputs OIDs such as 0x01000001. * and outputs OIDs such as 0x01000001.
* Returns -1 when the parameter set is not found, 0 otherwise * Returns -1 when the parameter set is not found, 0 otherwise
*/ */
int xmssmt_str_to_oid(uint32_t *oid, const char* s);
int xmssmt_str_to_oid(uint32_t *oid, const char *s);


/** /**
* Accepts OIDs such as 0x01000001, and configures params accordingly. * Accepts OIDs such as 0x01000001, and configures params accordingly.


+ 1
- 1
xmss_core_fast.c View File

@@ -193,7 +193,7 @@ static void deep_state_swap(const xmss_params *params,
} }


static int treehash_minheight_on_stack(const xmss_params *params, static int treehash_minheight_on_stack(const xmss_params *params,
bds_state* state,
bds_state *state,
const treehash_inst *treehash) const treehash_inst *treehash)
{ {
unsigned int r = params->tree_height, i; unsigned int r = params->tree_height, i;


Loading…
Cancel
Save