Lines Matching defs:con
558 static int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con)
570 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv)))
572 con->iv = (void *)CMSG_DATA(cmsg);
573 if (cmsg->cmsg_len < CMSG_LEN(con->iv->ivlen +
574 sizeof(*con->iv)))
581 con->op = *(u32 *)CMSG_DATA(cmsg);
587 con->aead_assoclen = *(u32 *)CMSG_DATA(cmsg);
944 struct af_alg_control con = {};
951 err = af_alg_cmsg_send(msg, &con);
956 switch (con.op) {
967 if (con.iv && con.iv->ivlen != ivsize)
986 if (con.iv)
987 memcpy(ctx->iv, con.iv->iv, ivsize);
989 ctx->aead_assoclen = con.aead_assoclen;