Use torint.h in curve25519-donna*.c

This will get it building on systems that lack stdint.h
This commit is contained in:
Nick Mathewson
2013-02-14 15:34:38 -05:00
parent 41e0f7146a
commit 4beee0f69b
3 changed files with 9 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (portability)
- Tweak the curve25519-donna*.c implementations to tolerate systems
that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
@@ -22,8 +22,10 @@
* from the sample implementation.
*/
#include "orconfig.h"
#include <string.h>
#include <stdint.h>
#include "torint.h"
typedef uint8_t u8;
typedef uint64_t limb;
+3 -1
View File
@@ -46,8 +46,10 @@
* from the sample implementation.
*/
#include "orconfig.h"
#include <string.h>
#include <stdint.h>
#include "torint.h"
typedef uint8_t u8;
typedef int32_t s32;