Lines Matching defs:encrypt
46 boolean_t encrypt)
72 if (encrypt) {
74 session_p->encrypt.context = soft_des_ctx;
75 session_p->encrypt.mech.mechanism = pMechanism->mechanism;
165 * This function calls the corresponding encrypt routine based
172 * CKR_FUNCTION_FAILED: encrypt function failed
183 (soft_des_ctx_t *)session_p->encrypt.context;
185 CK_MECHANISM_TYPE mechanism = session_p->encrypt.mech.mechanism;
359 * For encrypt update, if there is remaining
395 * For encrypt update, if there is remaining data,
458 free(session_p->encrypt.context);
459 session_p->encrypt.context = NULL;
954 (soft_des_ctx_t *)session_p->encrypt.context;
968 * and encrypt it.
982 (soft_des_ctx_t *)session_p->encrypt.context;
1039 /* soft_encrypt_common() has freed the encrypt context */
1047 session_p->encrypt.flags = 0;
1083 soft_des_ctx_encrypt = (soft_des_ctx_t *)session_p->encrypt.context;