Lines Matching defs:cryp
374 struct crypt_op cryp;
387 memset(&cryp, 0, sizeof(cryp));
389 cryp.ses = sess->ses;
390 cryp.flags = 0;
391 cryp.len = inl;
392 cryp.src = (caddr_t) in;
393 cryp.dst = (caddr_t) out;
394 cryp.mac = 0;
396 cryp.op = ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT;
399 cryp.iv = (caddr_t) ctx->iv;
405 cryp.iv = NULL;
407 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) {