Home | History | Annotate | Download | only in opencrypto

Lines Matching defs:co

52 	struct crypt_op co;
66 memset(&co, 0, sizeof(co));
67 co.ses = cs.ses;
68 co.op = COP_ENCRYPT;
69 co.len = sizeof(plaintx);
70 co.src = plaintx;
71 co.dst = buf;
72 co.dst_len = sizeof(buf);
73 co.iv = iv;
74 res = ioctl(fd, CIOCCRYPT, &co);
78 if (memcmp(co.dst, ciphertx, sizeof(ciphertx)))