PPL Logo

conv-ccs/ccs-auth.h File Reference

Go to the source code of this file.

Data Structures

struct  CcsSec_secretKey
struct  SHA1_hash_t
struct  CCS_RAND_state

Functions

int CCS_AUTH_makeSecretKey (const char *str, CcsSec_secretKey *key)
void CCS_AUTH_hash (const CcsSec_secretKey *key, unsigned int salt, const CcsMessageHeader *hdrOrNull, SHA1_hash_t *out)
int CCS_AUTH_differ (const CcsSec_secretKey *key, unsigned int salt, const CcsMessageHeader *hdrOrNull, SHA1_hash_t *given)
void CCS_RAND_new (CCS_RAND_state *s)
unsigned int CCS_RAND_next (CCS_RAND_state *s)


Function Documentation

int CCS_AUTH_makeSecretKey ( const char *  str,
CcsSec_secretKey key 
)

Definition at line 14 of file ccs-auth.c.

References CcsSec_secretKey::data.

Referenced by CcsSecMan_default().

void CCS_AUTH_hash ( const CcsSec_secretKey key,
unsigned int  salt,
const CcsMessageHeader hdrOrNull,
SHA1_hash_t out 
)

int CCS_AUTH_differ ( const CcsSec_secretKey key,
unsigned int  salt,
const CcsMessageHeader hdrOrNull,
SHA1_hash_t given 
)

void CCS_RAND_new ( CCS_RAND_state s  ) 

Definition at line 238 of file ccs-auth.c.

References CCS_RAND_state::state.

Referenced by CCS_AUTH_new(), CcsConnectIpWithTimeout(), and CcsSecMan_make_otp().

unsigned int CCS_RAND_next ( CCS_RAND_state s  ) 


Generated on Wed May 23 08:06:40 2012 for Charm++ by  doxygen 1.5.5