|
gwenhywfar
5.10.1
|
#include <gwenhywfar/inherit.h>#include <gwenhywfar/list1.h>#include <gwenhywfar/list2.h>#include <gwenhywfar/db.h>#include <gwenhywfar/cryptalgo.h>#include <gwenhywfar/hashalgo.h>#include <gwenhywfar/paddalgo.h>

Go to the source code of this file.
Typedefs | |
| typedef struct GWEN_CRYPT_KEY | GWEN_CRYPT_KEY |
| typedef struct GWEN_CRYPT_KEY GWEN_CRYPT_KEY |
Definition at line 26 of file cryptkey.h.
| GWENHYWFAR_API int GWEN_Crypt_Key_Decipher | ( | GWEN_CRYPT_KEY * | k, |
| const uint8_t * | pInData, | ||
| uint32_t | inLen, | ||
| uint8_t * | pOutData, | ||
| uint32_t * | pOutLen | ||
| ) |
Definition at line 318 of file cryptkey.c.
References GWEN_ERROR_NOT_IMPLEMENTED.
Referenced by _decodeData(), GWEN_Crypt_TokenFile__Decipher(), GWEN_Crypt_TokenOHBCI__DecryptFile(), GWEN_CryptMgr_Decrypt(), and GWEN_CryptMgrKeys_DecryptKey().

| GWENHYWFAR_API int GWEN_Crypt_Key_Encipher | ( | GWEN_CRYPT_KEY * | k, |
| const uint8_t * | pInData, | ||
| uint32_t | inLen, | ||
| uint8_t * | pOutData, | ||
| uint32_t * | pOutLen | ||
| ) |
Definition at line 303 of file cryptkey.c.
References GWEN_ERROR_NOT_IMPLEMENTED.
Referenced by _encode(), _encodeData(), GWEN_Crypt_TokenFile__Encipher(), GWEN_Crypt_TokenFile__Verify(), GWEN_Crypt_TokenOHBCI_Write(), GWEN_CryptMgr_Encrypt(), GWEN_CryptMgrKeys_EncryptKey(), and GWEN_CryptMgrKeys_VerifyData().

| GWENHYWFAR_API void GWEN_Crypt_Key_free | ( | GWEN_CRYPT_KEY * | k | ) |
Definition at line 154 of file cryptkey.c.
References GWEN_FREE_OBJECT, GWEN_INHERIT_FINI, and GWEN_LIST_FINI.
Referenced by _decodeData(), _encode(), _encodeData(), GWEN_Crypt_KeyRsa_fromDb(), GWEN_Crypt_KeySym__fromDb(), GWEN_Crypt_KeySym_fromData(), GWEN_Crypt_KeySym_fromDb(), GWEN_Crypt_KeySym_Generate(), GWEN_Crypt_KeySym_SetKeyData(), GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenOHBCI__Decode(), GWEN_Crypt_TokenOHBCI__DecryptFile(), GWEN_Crypt_TokenOHBCI_Write(), GWEN_CryptMgr_Decrypt(), GWEN_CryptMgr_Encrypt(), GWEN_CryptMgrKeys_FreeData(), GWEN_CryptMgrKeys_SetPeerKey(), GWEN_CTF_Context_freeData(), GWEN_CTF_Context_SetLocalAuthKey(), GWEN_CTF_Context_SetLocalCryptKey(), GWEN_CTF_Context_SetLocalSignKey(), GWEN_CTF_Context_SetRemoteAuthKey(), GWEN_CTF_Context_SetRemoteCryptKey(), GWEN_CTF_Context_SetRemoteSignKey(), GWEN_CTF_Context_SetTempLocalSignKey(), and mkArchiveKey().

| GWENHYWFAR_API GWEN_CRYPT_CRYPTALGOID GWEN_Crypt_Key_GetCryptAlgoId | ( | const GWEN_CRYPT_KEY * | k | ) |
Definition at line 171 of file cryptkey.c.
Referenced by GWEN_Crypt_KeyRsa_fromDb(), GWEN_Crypt_KeySym__fromDb(), GWEN_Crypt_KeySym_dup(), GWEN_Crypt_KeySym_fromDb(), GWEN_Crypt_KeySym_toDb(), and GWEN_Crypt_TokenOHBCI__Decode().

| GWENHYWFAR_API int GWEN_Crypt_Key_GetKeyNumber | ( | const GWEN_CRYPT_KEY * | k | ) |
Definition at line 187 of file cryptkey.c.
Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenOHBCI__Decode(), GWEN_Crypt_TokenOHBCI__EncodeKey(), and GWEN_CryptMgrKeys_new().

| GWENHYWFAR_API int GWEN_Crypt_Key_GetKeySize | ( | const GWEN_CRYPT_KEY * | k | ) |
Definition at line 179 of file cryptkey.c.
Referenced by GWEN_Crypt_KeyRsa_Decipher(), GWEN_Crypt_KeyRsa_Encipher(), GWEN_Crypt_KeyRsa_Sign(), GWEN_Crypt_KeyRsa_Verify(), GWEN_Crypt_KeySym_dup(), GWEN_Crypt_TokenOHBCI__Decode(), GWEN_Crypt_TokenOHBCI__EncodeKey(), GWEN_CryptMgrKeys_DecryptKey(), GWEN_CryptMgrKeys_EncryptKey(), GWEN_CryptMgrKeys_SignData(), and GWEN_CryptMgrKeys_VerifyData().

| GWENHYWFAR_API int GWEN_Crypt_Key_GetKeyVersion | ( | const GWEN_CRYPT_KEY * | k | ) |
Definition at line 203 of file cryptkey.c.
Referenced by GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenOHBCI__Decode(), GWEN_Crypt_TokenOHBCI__EncodeKey(), and GWEN_CryptMgrKeys_new().

| GWENHYWFAR_API void GWEN_Crypt_Key_SetKeyNumber | ( | GWEN_CRYPT_KEY * | k, |
| int | i | ||
| ) |
Definition at line 195 of file cryptkey.c.
Referenced by GWEN_Crypt_TokenFile__SetKeyInfo().

| GWENHYWFAR_API void GWEN_Crypt_Key_SetKeyVersion | ( | GWEN_CRYPT_KEY * | k, |
| int | i | ||
| ) |
Definition at line 211 of file cryptkey.c.
Referenced by GWEN_Crypt_TokenFile__SetKeyInfo().

| GWENHYWFAR_API int GWEN_Crypt_Key_Sign | ( | GWEN_CRYPT_KEY * | k, |
| const uint8_t * | pInData, | ||
| uint32_t | inLen, | ||
| uint8_t * | pSignatureData, | ||
| uint32_t * | pSignatureLen | ||
| ) |
Definition at line 273 of file cryptkey.c.
References GWEN_ERROR_NOT_IMPLEMENTED.
Referenced by GWEN_Crypt_TokenFile__Sign(), and GWEN_CryptMgrKeys_SignData().

| GWENHYWFAR_API int GWEN_Crypt_Key_Verify | ( | GWEN_CRYPT_KEY * | k, |
| const uint8_t * | pInData, | ||
| uint32_t | inLen, | ||
| const uint8_t * | pSignatureData, | ||
| uint32_t | signatureLen | ||
| ) |
Definition at line 288 of file cryptkey.c.
References GWEN_ERROR_NOT_IMPLEMENTED.
Referenced by GWEN_Crypt_TokenFile__Verify().

1.8.14