Temp. space qualifiers for RSA based cryptography. More...
Defines | |
#define | C4E_RSA_TMPID_KEY_CHECK |
Temp. space qualifier associated with c4e_rsa_keychk_prv() and c4e_rsa_keychk_pub(). | |
#define | C4E_RSA_TMPID_PKCS1V1_ENCRYPT |
Temp. space qualifier associated with c4e_rsa_encrypt_pkcs1v1(). | |
#define | C4E_RSA_TMPID_PKCS1V1_DECRYPT |
Temp. space qualifier associated with c4e_rsa_decrypt_pkcs1v1(). | |
#define | C4E_RSA_TMPID_PKCS1V1_SIGN |
Temp. space qualifier associated with c4e_rsa_sign_pkcs1v1(). | |
#define | C4E_RSA_TMPID_PKCS1V1_VERIFY |
Temp. space qualifier associated with c4e_rsa_verify_pkcs1v1(). | |
#define | C4E_RSA_TMPID_PKCS1V2_ENCRYPT |
#define | C4E_RSA_TMPID_PKCS1V2_DECRYPT |
Temp. space qualifier associated with c4e_rsa_decrypt_pkcs1v2(). | |
#define | C4E_RSA_TMPID_PKCS1V2_SIGN |
Temp. space qualifier associated with c4e_rsa_sign_pkcs1v2(). | |
#define | C4E_RSA_TMPID_PKCS1V2_VERIFY |
Temp. space qualifier associated with c4e_rsa_verify_pkcs1v2(). | |
#define | C4E_RSA_TMPID_PKCS1_MAX |
Temp. space qualifier for the best-case. | |
#define | C4E_RSA_TMPID_PKCS1_WORSTCASE |
Temp. space qualifier for the worst-case. |
Temp. space qualifiers for RSA based cryptography.
The temp. space qualifiers shall be used as first argument to macro C4E_RSA_TMP_NUM(). Finally they determine the size of temporary memory space (an array of elements of type C4eAlgo32Digit), which must be provided by the caller to some RSA functions.
#define C4E_RSA_TMPID_PKCS1V2_ENCRYPT |
Temp. space qualifier associated with c4e_rsa_encrypt_pkcs1v2()
#define C4E_RSA_TMPID_PKCS1_MAX |
Temp. space qualifier for the best-case.
This means: It can be used for all RSA functions under the precondition p < q respective C4eRsaKeyPrv::p::z::size < C4eRsaKeyPrv::q::z::size. But notice that using this define may allocate more memory space as required by a particular RSA function.
#define C4E_RSA_TMPID_PKCS1_WORSTCASE |
Temp. space qualifier for the worst-case.
This means: