Lines Matching defs:encrypt
44 boolean_t encrypt)
64 if (encrypt) {
66 session_p->encrypt.context = soft_aes_ctx;
67 session_p->encrypt.mech.mechanism = pMechanism->mechanism;
143 * This function calls the corresponding encrypt routine based
150 * CKR_FUNCTION_FAILED: encrypt function failed
162 (soft_aes_ctx_t *)session_p->encrypt.context;
164 CK_MECHANISM_TYPE mechanism = session_p->encrypt.mech.mechanism;
333 * For encrypt update, if there is a remaining
368 * For encrypt update, if there is remaining data,
459 free(session_p->encrypt.context);
460 session_p->encrypt.context = NULL;