diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2015-06-24 14:51:00 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2015-07-06 08:00:01 +0000 |
commit | 7b10741be4280d84a7ac9f41c54380cbc1f09c1b (patch) | |
tree | 07b0a153138949654750e046dd8b3ac18698cf1b /src/ext/ed25519/donna/ed25519-randombytes-custom.h | |
parent | 19440b9e58b3d824057abd3a0faf08fd7cb891ff (diff) | |
download | tor-7b10741be4280d84a7ac9f41c54380cbc1f09c1b.tar.gz tor-7b10741be4280d84a7ac9f41c54380cbc1f09c1b.zip |
Import Andrew Moon's ed25519-donna.
This is a clean copy of ed25519-donna as of commit:
8757bd4cd209cb032853ece0ce413f122eef212c
https://github.com/floodyberry/ed25519-donna
Diffstat (limited to 'src/ext/ed25519/donna/ed25519-randombytes-custom.h')
-rw-r--r-- | src/ext/ed25519/donna/ed25519-randombytes-custom.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ext/ed25519/donna/ed25519-randombytes-custom.h b/src/ext/ed25519/donna/ed25519-randombytes-custom.h new file mode 100644 index 0000000000..9f5106340c --- /dev/null +++ b/src/ext/ed25519/donna/ed25519-randombytes-custom.h @@ -0,0 +1,8 @@ +/* + a custom randombytes must implement: + + void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len); + + ed25519_randombytes_unsafe is used by the batch verification function + to create random scalars +*/ |