Skip to content

Commit

Permalink
Merge pull request wolfSSL#7587 from douzzer/20240524-pq-clang-tidy
Browse files Browse the repository at this point in the history
20240524-pq-clang-tidy
  • Loading branch information
dgarske authored May 24, 2024
2 parents 021b573 + 8de00d7 commit 200f309
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions wolfcrypt/src/dilithium.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}

/* Now it is a octet_string(concat(priv,pub)) */
Expand Down
1 change: 1 addition & 0 deletions wolfcrypt/src/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}

/* Now it is a octet_string(concat(priv,pub)) */
Expand Down
1 change: 1 addition & 0 deletions wolfcrypt/src/sphincs.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}

/* Now it is a octet_string(concat(priv,pub)) */
Expand Down

0 comments on commit 200f309

Please sign in to comment.