| 27 |
#ifndef __ED25519_CRYPTO_API_H |
#ifndef __ED25519_CRYPTO_API_H |
| 28 |
#define __ED25519_CRYPTO_API_H |
#define __ED25519_CRYPTO_API_H |
| 29 |
|
|
| 30 |
|
#include <stdio.h> |
| 31 |
|
#include <stdlib.h> |
| 32 |
|
|
| 33 |
|
typedef unsigned char u_int8_t; |
| 34 |
|
typedef unsigned short int u_int16_t; |
| 35 |
|
typedef unsigned int u_int32_t; |
| 36 |
|
typedef long long int int64_t; |
| 37 |
|
typedef unsigned long long int u_int64_t; |
| 38 |
|
|
| 39 |
|
typedef u_int8_t uint8_t; |
| 40 |
|
typedef u_int16_t uint16_t; |
| 41 |
|
typedef u_int32_t uint32_t; |
| 42 |
|
typedef u_int64_t uint64_t; |
| 43 |
|
|
| 44 |
typedef int crypto_int32; |
typedef int crypto_int32; |
| 45 |
typedef unsigned int crypto_uint32; |
typedef unsigned int crypto_uint32; |
| 46 |
|
|
| 69 |
const unsigned char *, unsigned long long, const unsigned char *); |
const unsigned char *, unsigned long long, const unsigned char *); |
| 70 |
int crypto_sign_ed25519_keypair(unsigned char *, unsigned char *); |
int crypto_sign_ed25519_keypair(unsigned char *, unsigned char *); |
| 71 |
|
|
| 72 |
|
int bcrypt_pbkdf(const char *, size_t, const u_int8_t *, size_t, |
| 73 |
|
u_int8_t *, size_t, unsigned int); |
| 74 |
|
|
| 75 |
#endif |
#endif |