cocos2d-x  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sha1.h File Reference
#include <stdint.h>

Classes

struct  SHA1Context
 

Macros

#define _SHA_enum_
#define SHA1HashSize   20

Enumerations

enum  { shaSuccess = 0, shaNull, shaInputTooLong, shaStateError }
 

Functions

int  (SHA1Context *)
var  ()
local  ()
int  (SHA1Context *, const uint8_t *, unsigned int)
int  (SHA1Context *, uint8_t Message_Digest[20])
var  ()
local  ()
void  (uint8_t *hash_binary, char *hash_string)
var  ( var hash_binary, var hash_string)
local  ( local hash_binary, local hash_string)

Macro Definition Documentation

#define _SHA_enum_
var _SHA_enum_
local _SHA_enum_
#define SHA1HashSize   20
var SHA1HashSize   20
local SHA1HashSize   20

Enumeration Type Documentation

anonymous enum
Enumerator
shaSuccess 
shaNull 
shaInputTooLong 
shaStateError 
var enum
Enumerator
shaSuccess 
shaNull 
shaInputTooLong 
shaStateError 
local enum
Enumerator
shaSuccess 
shaNull 
shaInputTooLong 
shaStateError 

Function Documentation

int SHA1Reset ( SHA1Context )
var SHA1Reset ( var  )
local SHA1Reset ( local  )
int SHA1Input ( SHA1Context ,
const uint8_t ,
unsigned  int 
)
var SHA1Input ( var  ,
var  ,
var  int 
)
local SHA1Input ( local  ,
local  ,
local  int 
)
int SHA1Result ( SHA1Context ,
uint8_t  Message_Digest[20] 
)
var SHA1Result ( var  ,
var  Message_Digest[20] 
)
local SHA1Result ( local  ,
local  Message_Digest[20] 
)
void SHA1ConvertMessageToString ( uint8_t hash_binary,
char *  hash_string 
)
var SHA1ConvertMessageToString ( var  hash_binary,
var  hash_string 
)
local SHA1ConvertMessageToString ( local  hash_binary,
local  hash_string 
)