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().

Here is the caller graph for this function:

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

Definition at line 195 of file ccs-auth.C.

References ChMessageInt_new(), and SHA1_hash().

Referenced by CCS_AUTH_differ(), CcsImpl_authInit(), CcsSendRequestGeneric(), CcsServer_createSalt(), and CcsServer_writeReply().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 218 of file ccs-auth.C.

References CCS_AUTH_hash(), and SHA1_differ().

Referenced by CcsImpl_authInit(), CcsImpl_recvReplyAuth(), CcsServer_createSalt(), and CcsServer_SHA1_message().

Here is the call graph for this function:

Here is the caller graph for this function:

void CCS_RAND_new ( CCS_RAND_state s  ) 

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

References Ck::IO::close(), Ck::IO::open(), and CCS_RAND_state::state.

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

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int CCS_RAND_next ( CCS_RAND_state s  ) 

Definition at line 271 of file ccs-auth.C.

References SHA1_hash(), and CCS_RAND_state::state.

Referenced by CCS_AUTH_addClient(), CcsImpl_authInit(), CcsSecMan_make_otp(), CcsSendRequestGeneric(), and CcsServer_createSalt().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 07:59:41 2020 for Charm++ by  doxygen 1.5.5