Discrete logarithm (DL) based cryptography - Fundamentals. More...
#include "c4e_elements.h"
#include "c4e_modn.h"
Go to the source code of this file.
Data Structures | |
struct | C4eDlcDomain |
Discrete logarithm (DL) domain parameters (public). More... | |
Defines | |
#define | C4E_DLC_GF_BYTES_MAX |
Maximum allowed size (in bytes) of a discrete logarithm (DL) domain modulus in C4eDlcDomain::m. | |
#define | C4E_DLC_TMP_NUM(tmpid, keylen) |
Calculate the number of temp. space elements of type C4eArchDigit for DLC algorithms (exclusive RSA). | |
DLC Algorithm Identifiers | |
Algorithm identifiers for Discrete Logarithm Cryptography (DLC), to be used as parameter to c4e_dlc_domchk(). | |
#define | C4E_DLC_ALGO_NONE |
"unspecific" algorithm identifier. | |
#define | C4E_DLC_ALGO_DH |
DH algorithm identifier. | |
#define | C4E_DLC_ALGO_DSA |
DSA algorithm identifier. | |
#define | C4E_DLC_ALGO_RSA |
RSA algorithm identifier. | |
#define | C4E_DLC_ALGO_ALL |
"all" algorithm identifier. | |
Functions | |
C4eSysStatus | c4e_dlc_domchk (C4eArchUint algos, C4E_CONST C4eDlcDomain *dom) |
A simple (and fast) discrete logarithm domain parameters validity test. | |
C4eSysStatus | c4e_dlc_keychk_prv (C4eArchUint algos, C4E_CONST C4eDlcDomain *C4E_RESTRICT dom, C4E_CONST C4eElement *C4E_RESTRICT key, C4eArchDigit tmp[C4E_RESTRICT]) |
Discrete logarithm (DL) domain private key validity test. | |
C4eSysStatus | c4e_dlc_keychk_pub (C4eArchUint algos, C4E_CONST C4eDlcDomain *C4E_RESTRICT dom, C4E_CONST C4eElement *C4E_RESTRICT key, C4eArchDigit tmp[C4E_RESTRICT]) |
Discrete logarithm (DL) domain public key validity test. |
Discrete logarithm (DL) based cryptography - Fundamentals.
Definition in file c4e_dlc.h.