Skip to content

Aria sign fix#7082

Merged
douzzer merged 5 commits intowolfSSL:masterfrom
bandi13:ARIA_Sign_fix
Dec 22, 2023
Merged

Aria sign fix#7082
douzzer merged 5 commits intowolfSSL:masterfrom
bandi13:ARIA_Sign_fix

Conversation

@bandi13
Copy link
Copy Markdown
Contributor

@bandi13 bandi13 commented Dec 19, 2023

There was an issue when using MagicCrypto's version of signing. Turns out the wrong key format was used.

@bandi13 bandi13 requested a review from douzzer December 19, 2023 20:57
@bandi13 bandi13 self-assigned this Dec 19, 2023
@bandi13
Copy link
Copy Markdown
Contributor Author

bandi13 commented Dec 20, 2023

retest this please

@bandi13 bandi13 assigned wolfSSL-Bot and unassigned bandi13 Dec 20, 2023
Comment thread wolfcrypt/src/port/aria/aria-cryptocb.c Outdated

if (rv == MC_OK) {
int ret = wc_BuildEccKeyDer(key,keyAsn1,&keyAsn1Sz,0,0);
int ret = wc_EccPrivateKeyToDer(key,keyarr,keySz);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space after ','

Comment thread wolfcrypt/src/port/aria/aria-cryptocb.c Outdated

WOLFSSL_ENTER("AriaVerify");

*res = 0; /* Default to invalid signature */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

res may be NULL

@bandi13 bandi13 removed their assignment Dec 21, 2023
@douzzer douzzer merged commit 59cdd5c into wolfSSL:master Dec 22, 2023
@bandi13 bandi13 deleted the ARIA_Sign_fix branch December 22, 2023 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants