cryptkeysym.h File Reference

#include "cryptkey.h"
Include dependency graph for cryptkeysym.h:

Go to the source code of this file.

Functions

GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyBlowFish_fromData (GWEN_CRYPT_CRYPTMODE mode, int keySize, const uint8_t *kd, uint32_t kl)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyBlowFish_fromDb (GWEN_CRYPT_CRYPTMODE mode, GWEN_DB_NODE *db)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyBlowFish_Generate (GWEN_CRYPT_CRYPTMODE mode, int keySize, int quality)
GWENHYWFAR_API uint32_t GWEN_Crypt_KeyBlowFish_GetKeyDataLen (const GWEN_CRYPT_KEY *k)
GWENHYWFAR_API uint8_t * GWEN_Crypt_KeyBlowFish_GetKeyDataPtr (const GWEN_CRYPT_KEY *k)
GWENHYWFAR_API int GWEN_Crypt_KeyBlowFish_SetKeyData (GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl)
GWENHYWFAR_API int GWEN_Crypt_KeyBlowFish_toDb (const GWEN_CRYPT_KEY *k, GWEN_DB_NODE *db)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyDes3K_fromData (GWEN_CRYPT_CRYPTMODE mode, int keySize, const uint8_t *kd, uint32_t kl)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyDes3K_fromDb (GWEN_CRYPT_CRYPTMODE mode, GWEN_DB_NODE *db)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeyDes3K_Generate (GWEN_CRYPT_CRYPTMODE mode, int keySize, int quality)
GWENHYWFAR_API uint32_t GWEN_Crypt_KeyDes3K_GetKeyDataLen (const GWEN_CRYPT_KEY *k)
GWENHYWFAR_API uint8_t * GWEN_Crypt_KeyDes3K_GetKeyDataPtr (const GWEN_CRYPT_KEY *k)
GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_SetIV (GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl)
GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_SetKeyData (GWEN_CRYPT_KEY *k, const uint8_t *kd, uint32_t kl)
GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_toDb (const GWEN_CRYPT_KEY *k, GWEN_DB_NODE *db)
GWENHYWFAR_API GWEN_CRYPT_KEYGWEN_Crypt_KeySym_dup (const GWEN_CRYPT_KEY *k)

Function Documentation

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyBlowFish_fromData ( GWEN_CRYPT_CRYPTMODE  mode,
int  keySize,
const uint8_t *  kd,
uint32_t  kl 
)

Definition at line 542 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_fromData().

Referenced by GWEN_CryptMgr_Decrypt().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyBlowFish_fromDb ( GWEN_CRYPT_CRYPTMODE  mode,
GWEN_DB_NODE db 
)

Definition at line 551 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_fromDb().

Here is the call graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyBlowFish_Generate ( GWEN_CRYPT_CRYPTMODE  mode,
int  keySize,
int  quality 
)

Definition at line 533 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_Generate().

Referenced by GWEN_CryptMgr_Encrypt().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API uint32_t GWEN_Crypt_KeyBlowFish_GetKeyDataLen ( const GWEN_CRYPT_KEY k  ) 

Definition at line 577 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_GetKeyDataLen().

Referenced by GWEN_CryptMgr_Encrypt().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API uint8_t* GWEN_Crypt_KeyBlowFish_GetKeyDataPtr ( const GWEN_CRYPT_KEY k  ) 

Definition at line 571 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_GetKeyDataPtr().

Referenced by GWEN_CryptMgr_Encrypt().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API int GWEN_Crypt_KeyBlowFish_SetKeyData ( GWEN_CRYPT_KEY k,
const uint8_t *  kd,
uint32_t  kl 
)

Definition at line 565 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_SetKeyData().

Here is the call graph for this function:

GWENHYWFAR_API int GWEN_Crypt_KeyBlowFish_toDb ( const GWEN_CRYPT_KEY k,
GWEN_DB_NODE db 
)

Definition at line 559 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_toDb().

Here is the call graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyDes3K_fromData ( GWEN_CRYPT_CRYPTMODE  mode,
int  keySize,
const uint8_t *  kd,
uint32_t  kl 
)

Definition at line 436 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_fromData().

Referenced by GWEN_Crypt_KeyDes3K_Generate().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyDes3K_fromDb ( GWEN_CRYPT_CRYPTMODE  mode,
GWEN_DB_NODE db 
)

Definition at line 457 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_fromDb().

Here is the call graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeyDes3K_Generate ( GWEN_CRYPT_CRYPTMODE  mode,
int  keySize,
int  quality 
)

Definition at line 421 of file cryptkeysym.c.

References GWEN_Crypt_KeyDes3K_fromData(), and GWEN_Crypt_Random().

Here is the call graph for this function:

GWENHYWFAR_API uint32_t GWEN_Crypt_KeyDes3K_GetKeyDataLen ( const GWEN_CRYPT_KEY k  ) 

Definition at line 495 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_GetKeyDataLen().

Here is the call graph for this function:

GWENHYWFAR_API uint8_t* GWEN_Crypt_KeyDes3K_GetKeyDataPtr ( const GWEN_CRYPT_KEY k  ) 

Definition at line 489 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_GetKeyDataPtr().

Here is the call graph for this function:

GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_SetIV ( GWEN_CRYPT_KEY k,
const uint8_t *  kd,
uint32_t  kl 
)

Definition at line 501 of file cryptkeysym.c.

References DBG_INFO, GWEN_ERROR_GENERIC, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, and NULL.

GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_SetKeyData ( GWEN_CRYPT_KEY k,
const uint8_t *  kd,
uint32_t  kl 
)

Definition at line 471 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_SetKeyData().

Here is the call graph for this function:

GWENHYWFAR_API int GWEN_Crypt_KeyDes3K_toDb ( const GWEN_CRYPT_KEY k,
GWEN_DB_NODE db 
)

Definition at line 465 of file cryptkeysym.c.

References GWEN_Crypt_KeySym_toDb().

Here is the call graph for this function:

GWENHYWFAR_API GWEN_CRYPT_KEY* GWEN_Crypt_KeySym_dup ( const GWEN_CRYPT_KEY k  ) 

This functions creates a copy of the given key. The given key must have been created by one of the functions in this group (e.g. GWEN_Crypt_KeyBlowFish_fromDb(), GWEN_Crypt_KeyDes3K_Generate() etc. For other kinds of keys other functions must be used (like GWEN_Crypt_KeyRsa_dup() for RSA keys).

Definition at line 99 of file cryptkeysym.c.

References GWEN_Crypt_Key_GetCryptAlgoId(), GWEN_Crypt_Key_GetKeySize(), GWEN_Crypt_KeySym_fromData(), and GWEN_INHERIT_GETDATA.

Here is the call graph for this function:

Generated on Mon Jul 5 22:52:08 2010 for gwenhywfar by  doxygen 1.6.3