Home | History | Annotate | Download | only in opencrypto

Lines Matching defs:co

56 	struct crypt_op co, co2;
70 memset(&co, 0, sizeof(co));
72 co.ses = cs.ses;
73 co.op = COP_ENCRYPT;
74 co.len = sizeof(plaintx);
75 co.src = plaintx;
76 co.dst = buf;
77 co.dst_len = sizeof(buf);
78 co.iv = iv;
79 res = ioctl(fd, CIOCCRYPT, &co);
83 if (memcmp(co.dst, ciphertx, sizeof(ciphertx)))