#include <gwenhywfar/list2.h>
#include <gwenhywfar/db.h>
Go to the source code of this file.
typedef struct GWEN_CRYPT_PADDALGO GWEN_CRYPT_PADDALGO |
Definition at line 21 of file paddalgo.h.
GWENHYWFAR_API void GWEN_Crypt_PaddAlgo_Attach | ( | GWEN_CRYPT_PADDALGO * | a | ) |
Definition at line 97 of file paddalgo.c.
GWENHYWFAR_API GWEN_CRYPT_PADDALGO* GWEN_Crypt_PaddAlgo_dup | ( | const GWEN_CRYPT_PADDALGO * | a | ) |
GWENHYWFAR_API void GWEN_Crypt_PaddAlgo_free | ( | GWEN_CRYPT_PADDALGO * | a | ) |
GWENHYWFAR_API GWEN_CRYPT_PADDALGO* GWEN_Crypt_PaddAlgo_fromDb | ( | GWEN_DB_NODE * | db | ) |
Definition at line 105 of file paddalgo.c.
References DBG_INFO, GWEN_Crypt_PaddAlgo_new(), GWEN_CRYPT_PADDALGOID, GWEN_Crypt_PaddAlgoId_fromString(), GWEN_DB_GetCharValue(), GWEN_DB_GetIntValue(), GWEN_LOGDOMAIN, and NULL.
GWENHYWFAR_API GWEN_CRYPT_PADDALGOID GWEN_Crypt_PaddAlgo_GetId | ( | const GWEN_CRYPT_PADDALGO * | a | ) |
Definition at line 174 of file paddalgo.c.
Referenced by GWEN_Crypt_TokenFile__Verify(), GWEN_Padd_ApplyPaddAlgo(), and GWEN_Padd_UnapplyPaddAlgo().
GWENHYWFAR_API int GWEN_Crypt_PaddAlgo_GetPaddSize | ( | const GWEN_CRYPT_PADDALGO * | a | ) |
GWENHYWFAR_API GWEN_CRYPT_PADDALGO* GWEN_Crypt_PaddAlgo_new | ( | GWEN_CRYPT_PADDALGOID | id | ) |
Definition at line 84 of file paddalgo.c.
References GWEN_NEW_OBJECT.
Referenced by GWEN_Crypt_PaddAlgo_dup(), and GWEN_Crypt_PaddAlgo_fromDb().
GWENHYWFAR_API void GWEN_Crypt_PaddAlgo_SetPaddSize | ( | GWEN_CRYPT_PADDALGO * | a, | |
int | s | |||
) |
Definition at line 190 of file paddalgo.c.
GWENHYWFAR_API int GWEN_Crypt_PaddAlgo_toDb | ( | const GWEN_CRYPT_PADDALGO * | a, | |
GWEN_DB_NODE * | db | |||
) |
Definition at line 134 of file paddalgo.c.
References GWEN_Crypt_PaddAlgoId_toString(), GWEN_DB_FLAGS_OVERWRITE_VARS, GWEN_DB_SetCharValue(), and GWEN_DB_SetIntValue().
GWENHYWFAR_API GWEN_CRYPT_PADDALGOID GWEN_Crypt_PaddAlgoId_fromString | ( | const char * | s | ) |
GWENHYWFAR_API const char* GWEN_Crypt_PaddAlgoId_toString | ( | GWEN_CRYPT_PADDALGOID | a | ) |
Definition at line 55 of file paddalgo.c.
Referenced by GWEN_Crypt_PaddAlgo_toDb(), GWEN_Padd_ApplyPaddAlgo(), and GWEN_Padd_UnapplyPaddAlgo().
GWEN_LIST2_FUNCTION_LIB_DEFS | ( | GWEN_CRYPT_PADDALGO | , | |
GWEN_Crypt_PaddAlgo | , | |||
GWENHYWFAR_API | ||||
) |
ISO 9796/1 without appendix 4
ISO 9796/1 with appendix 4
ISO 9796/2 with random (SigG v1.0)
PKCS#1 block type 01
PKCS#1 block type 02
fill left with zeroes
fill right with zeroes
ANSI X9.23
Definition at line 27 of file paddalgo.h.
Definition at line 56 of file paddalgo.h.
Referenced by GWEN_Crypt_PaddAlgo_fromDb(), GWEN_Crypt_TokenFile__Verify(), GWEN_Padd_ApplyPaddAlgo(), and GWEN_Padd_UnapplyPaddAlgo().