
AI_PKCS_OAEP_RSAPrivate
hashFuncParams.len = 0; hashFuncParams.data = NULL_PTR maskGenFuncParams.len = 0; maskGenFuncParams.data = NULL_PTR maskGenFuncUnderlyingAlgParams.len = 0; maskGenFuncUnderlyingAlgParams.data = NULL_PTR
Failure to properly initialize these parameters may cause errors when they are implemented in future versions of
pSourceParams.len = 0; pSourceParams.data = NULL_PTR;
Format of info supplied to B_GetAlgorithmInfo:
NULL_PTR.
Crypto-C procedures to use with algorithm object:
B_DecryptInit, B_DecryptUpdate, and B_DecryptFinal. You may pass
(B_ALGORITHM_OBJ)NULL_PTR for the randomAlgorithm argument in B_DecryptUpdate and B_DecryptFinal.
Algorithm methods to include in application's algorithm chooser:
AM_RSA_CRT_DECRYPT or AM_RSA_CRT_DECRYPT_BLIND for decryption.
AM_RSA_CRT_DECRYPT_BLIND performs blinding to protect against timing attacks, whereas AM_RSA_CRT_DECRYPT does not. AM_SHA is required for the default pSource digest function. It is also required for MGF1 as underlying algorithm.
Key info types for keyObject in B_EncryptInit or B_DecryptInit:
KI_RSA_CRT, KI_PKCS_RSAPrivate, or KI_PKCS_RSAPrivateBER.
Compatible representation:
AI_PKCS_OAEP_RSAPrivateBER.
1 4 2 | R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l |