Lines Matching full:encrypted
768 response->encrypted.checksum = htonl(csum); in rxkad_calc_response_checksum()
790 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted)); in rxkad_encrypt_response()
793 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); in rxkad_encrypt_response()
850 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
851 resp->encrypted.cid = htonl(conn->proto.cid); in rxkad_respond_to_challenge()
852 resp->encrypted.securityIndex = htonl(conn->security_ix); in rxkad_respond_to_challenge()
853 resp->encrypted.inc_nonce = htonl(nonce + 1); in rxkad_respond_to_challenge()
854 resp->encrypted.level = htonl(conn->security_level); in rxkad_respond_to_challenge()
857 resp->encrypted.call_id[0] = htonl(conn->channels[0].call_counter); in rxkad_respond_to_challenge()
858 resp->encrypted.call_id[1] = htonl(conn->channels[1].call_counter); in rxkad_respond_to_challenge()
859 resp->encrypted.call_id[2] = htonl(conn->channels[2].call_counter); in rxkad_respond_to_challenge()
860 resp->encrypted.call_id[3] = htonl(conn->channels[3].call_counter); in rxkad_respond_to_challenge()
1021 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted)); in rxkad_decrypt_response()
1024 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); in rxkad_decrypt_response()
1125 if (ntohl(response->encrypted.epoch) != conn->proto.epoch || in rxkad_verify_response()
1126 ntohl(response->encrypted.cid) != conn->proto.cid || in rxkad_verify_response()
1127 ntohl(response->encrypted.securityIndex) != conn->security_ix) { in rxkad_verify_response()
1133 csum = response->encrypted.checksum; in rxkad_verify_response()
1134 response->encrypted.checksum = 0; in rxkad_verify_response()
1136 if (response->encrypted.checksum != csum) { in rxkad_verify_response()
1143 u32 call_id = ntohl(response->encrypted.call_id[i]); in rxkad_verify_response()
1168 if (ntohl(response->encrypted.inc_nonce) != conn->rxkad.nonce + 1) { in rxkad_verify_response()
1174 level = ntohl(response->encrypted.level); in rxkad_verify_response()