Lines Matching refs:encrypted
593 * Locate the data contained in a packet that was partially encrypted.
607 * Locate the data contained in a packet that was completely encrypted.
774 response->encrypted.checksum = htonl(csum);
796 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted));
799 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x);
863 resp->encrypted.epoch = htonl(conn->proto.epoch);
864 resp->encrypted.cid = htonl(conn->proto.cid);
865 resp->encrypted.securityIndex = htonl(conn->security_ix);
866 resp->encrypted.inc_nonce = htonl(nonce + 1);
867 resp->encrypted.level = htonl(conn->params.security_level);
870 resp->encrypted.call_id[0] = htonl(conn->channels[0].call_counter);
871 resp->encrypted.call_id[1] = htonl(conn->channels[1].call_counter);
872 resp->encrypted.call_id[2] = htonl(conn->channels[2].call_counter);
873 resp->encrypted.call_id[3] = htonl(conn->channels[3].call_counter);
1071 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted));
1074 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x);
1159 if (ntohl(response->encrypted.epoch) != conn->proto.epoch)
1161 if (ntohl(response->encrypted.cid) != conn->proto.cid)
1163 if (ntohl(response->encrypted.securityIndex) != conn->security_ix)
1165 csum = response->encrypted.checksum;
1166 response->encrypted.checksum = 0;
1169 if (response->encrypted.checksum != csum)
1175 u32 call_id = ntohl(response->encrypted.call_id[i]);
1199 if (ntohl(response->encrypted.inc_nonce) != conn->security_nonce + 1)
1204 level = ntohl(response->encrypted.level);