|
gwenhywfar
5.10.1
|
#include <gwenhywfar/list2.h>#include <gwenhywfar/db.h>
Go to the source code of this file.
Typedefs | |
| typedef struct GWEN_CRYPT_HASHALGO | GWEN_CRYPT_HASHALGO |
Variables | |
| GWEN_CRYPT_HASHALGOID | |
| typedef struct GWEN_CRYPT_HASHALGO GWEN_CRYPT_HASHALGO |
Definition at line 21 of file hashalgo.h.
| GWENHYWFAR_API void GWEN_Crypt_HashAlgo_Attach | ( | GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 83 of file hashalgo.c.
| GWENHYWFAR_API GWEN_CRYPT_HASHALGO* GWEN_Crypt_HashAlgo_dup | ( | const GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 143 of file hashalgo.c.
References GWEN_Crypt_HashAlgo_free(), GWEN_Crypt_HashAlgo_new(), and NULL.

| GWENHYWFAR_API void GWEN_Crypt_HashAlgo_free | ( | GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 165 of file hashalgo.c.
References GWEN_FREE_OBJECT, and NULL.
Referenced by GWEN_Crypt_HashAlgo_dup().

| GWENHYWFAR_API GWEN_CRYPT_HASHALGO* GWEN_Crypt_HashAlgo_fromDb | ( | GWEN_DB_NODE * | db | ) |
Definition at line 92 of file hashalgo.c.
References DBG_INFO, GWEN_Crypt_HashAlgo_new(), GWEN_Crypt_HashAlgo_SetInitVector(), GWEN_CRYPT_HASHALGOID, GWEN_Crypt_HashAlgoId_fromString(), GWEN_DB_GetBinValue(), GWEN_DB_GetCharValue(), GWEN_LOGDOMAIN, and NULL.

| GWENHYWFAR_API GWEN_CRYPT_HASHALGOID GWEN_Crypt_HashAlgo_GetId | ( | const GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 185 of file hashalgo.c.
| GWENHYWFAR_API uint32_t GWEN_Crypt_HashAlgo_GetInitVectorLen | ( | const GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 203 of file hashalgo.c.
| GWENHYWFAR_API uint8_t* GWEN_Crypt_HashAlgo_GetInitVectorPtr | ( | const GWEN_CRYPT_HASHALGO * | a | ) |
Definition at line 194 of file hashalgo.c.
| GWENHYWFAR_API GWEN_CRYPT_HASHALGO* GWEN_Crypt_HashAlgo_new | ( | GWEN_CRYPT_HASHALGOID | id | ) |
Definition at line 69 of file hashalgo.c.
References GWEN_NEW_OBJECT.
Referenced by GWEN_Crypt_HashAlgo_dup(), and GWEN_Crypt_HashAlgo_fromDb().

| GWENHYWFAR_API int GWEN_Crypt_HashAlgo_SetInitVector | ( | GWEN_CRYPT_HASHALGO * | a, |
| const uint8_t * | pv, | ||
| uint32_t | lv | ||
| ) |
Definition at line 212 of file hashalgo.c.
References GWEN_ERROR_MEMORY_FULL, and NULL.
Referenced by GWEN_Crypt_HashAlgo_fromDb().

| GWENHYWFAR_API int GWEN_Crypt_HashAlgo_toDb | ( | const GWEN_CRYPT_HASHALGO * | a, |
| GWEN_DB_NODE * | db | ||
| ) |
Definition at line 125 of file hashalgo.c.
References GWEN_Crypt_HashAlgoId_toString(), GWEN_DB_FLAGS_OVERWRITE_VARS, GWEN_DB_SetBinValue(), and GWEN_DB_SetCharValue().

| GWENHYWFAR_API GWEN_CRYPT_HASHALGOID GWEN_Crypt_HashAlgoId_fromString | ( | const char * | s | ) |
Definition at line 27 of file hashalgo.c.
Referenced by GWEN_Crypt_HashAlgo_fromDb().

| GWENHYWFAR_API const char* GWEN_Crypt_HashAlgoId_toString | ( | GWEN_CRYPT_HASHALGOID | a | ) |
Definition at line 47 of file hashalgo.c.
Referenced by GWEN_Crypt_HashAlgo_toDb().

| GWEN_LIST2_FUNCTION_LIB_DEFS | ( | GWEN_CRYPT_HASHALGO | , |
| GWEN_Crypt_HashAlgo | , | ||
| GWENHYWFAR_API | |||
| ) |
SHA-1
Ripemd 160
MD-5
Definition at line 28 of file hashalgo.h.
| GWEN_CRYPT_HASHALGOID |
Definition at line 48 of file hashalgo.h.
Referenced by GWEN_Crypt_HashAlgo_fromDb().
1.8.14