mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 18:57:22 +09:00
Comment
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
#include "utils.h"
|
||||
#include "x25519_ref10.h"
|
||||
|
||||
/*
|
||||
* Reject small order points early to mitigate the implications of
|
||||
* unexpected optimizations that would affect the ref10 code.
|
||||
* See https://eprint.iacr.org/2017/806.pdf for reference.
|
||||
*/
|
||||
static int
|
||||
has_small_order(const unsigned char s[32])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user