RSA Security 5 Projection Television User Manual


 
AI_PKCS_OAEP_RSAPrivate
142 RSA BSAFE Crypto-C Library Reference Manual
Failure to properly initialize these parameters may cause errors when they are
implemented in future versions of Crypto-C. In this case, the default parameters for
pSourceParams
should be set by the caller as follows:
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.
hashFuncParams.len = 0;
hashFuncParams.data = NULL_PTR
maskGenFuncParams.len = 0;
maskGenFuncParams.data = NULL_PTR
maskGenFuncUnderlyingAlgParams.len = 0;
maskGenFuncUnderlyingAlgParams.data = NULL_PTR
pSourceParams.len = 0;
pSourceParams.data = NULL_PTR;