Home | History | Annotate | Download | only in opencrypto

Lines Matching defs:co2

56 	struct crypt_op co, co2;
86 memset(&co2, 0, sizeof(co2));
88 co2.ses = cs.ses;
89 co2.op = COP_DECRYPT;
90 co2.len = sizeof(buf);
91 co2.src = buf;
92 co2.dst = buf2;
93 co2.dst_len = sizeof(buf2);
94 co2.iv = iv;
95 res = ioctl(fd, CIOCCRYPT, &co2);
99 if (memcmp(co2.dst, plaintx, sizeof(plaintx)))