Use torint.h in curve25519-donna*.c
This will get it building on systems that lack stdint.h
This commit is contained in:
parent
41e0f7146a
commit
4beee0f69b
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue