Merge pull request #5751 from urbit/peter/urcrypt_ed_veri

urcrypt: correct parameter ordering in urcrypt_ed_veri()
This commit is contained in:
Peter McEvoy 2022-05-06 23:50:55 +00:00 committed by GitHub
commit cfcba47d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,8 @@ void urcrypt_ed_sign(const uint8_t *message,
// return value means the signature was (not) verified // return value means the signature was (not) verified
bool urcrypt_ed_veri(const uint8_t *message, bool urcrypt_ed_veri(const uint8_t *message,
size_t length, 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_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]); int urcrypt_aes_ecba_de(uint8_t key[16], uint8_t block[16], uint8_t out[16]);