Home | History | Annotate | Download | only in engine

Lines Matching full:cryp

367 	struct crypt_op cryp;
380 memset(&cryp, 0, sizeof(cryp));
382 cryp.ses = sess->ses;
383 cryp.flags = 0;
384 cryp.len = inl;
385 cryp.src = (caddr_t) in;
386 cryp.dst = (caddr_t) out;
387 cryp.mac = 0;
389 cryp.op = ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT;
392 cryp.iv = (caddr_t) ctx->iv;
398 cryp.iv = NULL;
400 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) {
710 struct crypt_op cryp;
738 memset(&cryp, 0, sizeof(cryp));
740 cryp.ses = sess->ses;
741 cryp.flags = 0;
742 cryp.len = count;
743 cryp.src = (caddr_t) data;
744 cryp.dst = NULL;
745 cryp.mac = (caddr_t) state->digest_res;
746 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) < 0) {
756 struct crypt_op cryp;
769 memset(&cryp, 0, sizeof(cryp));
770 cryp.ses = sess->ses;
771 cryp.flags = 0;
772 cryp.len = state->mac_len;
773 cryp.src = state->mac_data;
774 cryp.dst = NULL;
775 cryp.mac = (caddr_t)md;
776 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) < 0) {