From daf7edd86f6dd98c98863753cafb41f4be4503c8 Mon Sep 17 00:00:00 2001 From: Peter McEvoy Date: Fri, 6 May 2022 22:57:57 +0000 Subject: [PATCH] urcrypt: correct parameter ordering in urcrypt_ed_veri() --- pkg/urcrypt/urcrypt/urcrypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/urcrypt/urcrypt/urcrypt.h b/pkg/urcrypt/urcrypt/urcrypt.h index 710ee59a4..682531b94 100644 --- a/pkg/urcrypt/urcrypt/urcrypt.h +++ b/pkg/urcrypt/urcrypt/urcrypt.h @@ -39,8 +39,8 @@ void urcrypt_ed_sign(const uint8_t *message, // return value means the signature was (not) verified bool urcrypt_ed_veri(const uint8_t *message, size_t length, - const uint8_t signature[64], - const uint8_t public[32]); + const uint8_t public[32], + const uint8_t signature[64]); int urcrypt_aes_ecba_en(uint8_t key[16], uint8_t block[16], uint8_t out[16]); int urcrypt_aes_ecba_de(uint8_t key[16], uint8_t block[16], uint8_t out[16]);