Lines Matching refs:encrypted
753 response->encrypted.checksum = htonl(csum);
775 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted));
778 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x);
835 resp->encrypted.epoch = htonl(conn->proto.epoch);
836 resp->encrypted.cid = htonl(conn->proto.cid);
837 resp->encrypted.securityIndex = htonl(conn->security_ix);
838 resp->encrypted.inc_nonce = htonl(nonce + 1);
839 resp->encrypted.level = htonl(conn->security_level);
842 resp->encrypted.call_id[0] = htonl(conn->channels[0].call_counter);
843 resp->encrypted.call_id[1] = htonl(conn->channels[1].call_counter);
844 resp->encrypted.call_id[2] = htonl(conn->channels[2].call_counter);
845 resp->encrypted.call_id[3] = htonl(conn->channels[3].call_counter);
1006 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted));
1009 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x);
1110 if (ntohl(response->encrypted.epoch) != conn->proto.epoch ||
1111 ntohl(response->encrypted.cid) != conn->proto.cid ||
1112 ntohl(response->encrypted.securityIndex) != conn->security_ix) {
1118 csum = response->encrypted.checksum;
1119 response->encrypted.checksum = 0;
1121 if (response->encrypted.checksum != csum) {
1128 u32 call_id = ntohl(response->encrypted.call_id[i]);
1153 if (ntohl(response->encrypted.inc_nonce) != conn->rxkad.nonce + 1) {
1159 level = ntohl(response->encrypted.level);