Deleting the EVP context created using I_C_Crypt_Fast
To delete EVP context created
Call the I_C_Crypt_Fast
to encrypt complete chunks of data less than 3K bytes when you want the results immediately. I_C_Crypt_Fast
blocks while waiting for the results. This will work only when symmetric cache is on. This API gives better performance than I_C_Crypt
.
Example
I_T_RETURN FUNCEXP I_C_Crypt_Fast (I_O_Session session, I_O_CipherSpec cipher, I_O_CipherState* state, I_T_Operation operation, const I_T_BYTE * iv, I_T_UINT ivLen, const I_T_BYTE *inData, I_T_UINT inDataLen, I_T_BYTE * outData, I_T_UINT * outDataLen);