Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/ed25519_crypto_api.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5496 by yutakapon, Mon Mar 3 06:59:21 2014 UTC revision 5498 by yutakapon, Mon Mar 3 10:43:32 2014 UTC
# Line 27  OF SUCH DAMAGE. Line 27  OF SUCH DAMAGE.
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    
# Line 55  int    crypto_sign_ed25519_open(unsigned ch Line 69  int    crypto_sign_ed25519_open(unsigned ch
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

Legend:
Removed from v.5496  
changed lines
  Added in v.5498

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26