Lines Matching defs:encrypt
39 CK_MECHANISM_PTR pMechanism, soft_object_t *key_p, boolean_t encrypt) {
59 if (encrypt) {
61 session_p->encrypt.context = soft_blowfish_ctx;
62 session_p->encrypt.mech.mechanism = pMechanism->mechanism;
130 * This function calls the corresponding encrypt routine based
137 * CKR_FUNCTION_FAILED: encrypt function failed
148 (soft_blowfish_ctx_t *)session_p->encrypt.context;
281 * For encrypt update, if there is remaining data,
308 free(session_p->encrypt.context);
309 session_p->encrypt.context = NULL;