Received: by 10.223.185.116 with SMTP id b49csp5788410wrg; Tue, 27 Feb 2018 21:34:21 -0800 (PST) X-Google-Smtp-Source: AG47ELuUqq6kYIoyq92+KE7is7N1DJ7TWAhJqCmzLROpCSUOOjCahkfz3N0R0Ty5MiExvcVbz27H X-Received: by 10.101.76.134 with SMTP id m6mr4910311pgt.445.1519796061468; Tue, 27 Feb 2018 21:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519796061; cv=none; d=google.com; s=arc-20160816; b=HcVTSc5+mgZ4O6fF1T5/lhu1/8s4KLK5UJZAKVRbs/zRQWrNrr3oXil5Dj5jvWzDIQ hNn0npPhwZ5nw1TL3nqvO383FCwpY2Oo5hhpJtrSyydg2wJdnwdo1sFN4kzfgl6432BC 7P2oufDbYlZwjPWvxOyg68JSPO+mH8nW9tvrcO4/+5I1nCVv2SdZ5Mzrj3efcmn+7Sk1 cg6pdICkGtcQ6Gfc/ONMAvp8zjvQZYT+VXwv0K+AW2B4+rZ0aeAni9VD2DbMQm07Orl5 EHHOb8w9htYTeXTXS2yJsQORT3SmSFq+Od5yqSPNKNSKE6YfPRtqtYVL0mSk8U/k5ala ukSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=c7KLVSA270l3L7nfEXkMQtYZKjVGK2biuH4GX+UWmJc=; b=nudOYQge2WpAI6OzxeoV1OLjbYDlwoILlb+khUotxJRgfwUieYILMXzEIQIXGYg9kR EAaSwj0ytMD1h6D+Lb614BIxiqHgR5ekF/uJ7optUPNGFgYkxDWeYlCOu4qfW2LvCKRW vPEPPZs/uN+W1UxodUDGt3/AQrznOTM/4Kqbkmg/8xQGzSyU6vWQtFHUrquYN8uqCmel nf0kfOYON4fz3WPxB3kmWZNIpzKTVyRKf+F1N928NYqdpYyEH/AVPtse9iFdmZIKMb0O YRtpPZTCjqbhRBLXp4DZd02XlX4UhNdSnhPFaCQLUhwPcGatoGI8ffN3zvTxZewFU8+4 5L5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B04puYWR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si565851pge.422.2018.02.27.21.33.53; Tue, 27 Feb 2018 21:34:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B04puYWR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbeB1FdL (ORCPT + 99 others); Wed, 28 Feb 2018 00:33:11 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:39110 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbeB1FdK (ORCPT ); Wed, 28 Feb 2018 00:33:10 -0500 Received: by mail-lf0-f48.google.com with SMTP id f75so1667509lfg.6 for ; Tue, 27 Feb 2018 21:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=c7KLVSA270l3L7nfEXkMQtYZKjVGK2biuH4GX+UWmJc=; b=B04puYWRWMt0blaJ9ZleZCs31WDD4/UVqqy6M0wCNiJ5k9u+exDk8BP4KsDCkFxAsu felRH83kB3q67t5ZgxgPvL1e88fIjSyAsgddjBkkJFUrmgFvnUC7uZ+rjNpv27jSb08g fkG97imOjR2UQKRkmq8TK+z25dmgQlcuY/n6TqnJsnFA11I91DO9/SMwLfMafFPsN64x 3v+pghsftPHZuN1VD8xv+g9EAbYIxAyKMIdFx69QPOcf5I5RAwZsm6yLiLfStjjgMBeZ cLboOSTgJMg90xdB1jD456ICs/6V6QXsZXvJuAVuDAfq6ND7HMzDaGgQdtOQvoXgjb++ /I7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=c7KLVSA270l3L7nfEXkMQtYZKjVGK2biuH4GX+UWmJc=; b=JVznJO+ptfVeGAjstYWbDB0E3k4reU3S1ZrMYJR8JMPPl9esUrg9i8fVDVplBP4+5W 8wt4R3d3hThFICzfc7FOGTrYZvwLEcYodLkBAZKlUPV4NojW7o15AKlIwT9ki7S15y8P asr5gGm0Wnj6NPdIPuT/AFlkkSqzcc5nD0wl4qCWq5Rsb4EXEi7IIJEgeid5j6jJNdfa FrTmfMoPgxkf6F9px9MwSdkgGBfEOleyD+3j6dPfAl+QWjaOU1onQ/Q6QTI1qWB+TVAf TN88S9OaPm1xYvVsCb6fmZoJ4o3UVK6qGdM4qoEu+929OraAxxw81raqKYX6Hi8NalBX Flww== X-Gm-Message-State: APf1xPDkaD9JYyBEajkao4W2OF4aAmrmZgiDDuyqdxVXJm6A5Be4k3mj DFHKvdQQYw9PHBlvpJl438jzvLHP X-Received: by 10.25.22.69 with SMTP id m66mr12629820lfi.27.1519795988498; Tue, 27 Feb 2018 21:33:08 -0800 (PST) Received: from [192.168.100.2] (ppp78-37-236-197.pppoe.avangarddsl.ru. [78.37.236.197]) by smtp.gmail.com with ESMTPSA id 4sm191528lfy.5.2018.02.27.21.33.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2018 21:33:08 -0800 (PST) Subject: Re: [PATCH] staging:r8188eu: use lib80211 CCMP decrypt To: Dan Carpenter Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Hans de Goede , Janani Sankara Babu , linux-kernel@vger.kernel.org References: <20180223145742.25783-1-insafonov@gmail.com> <20180226075625.kcksm35y4clqvi5l@mwanda> From: Ivan Safonov Message-ID: Date: Wed, 28 Feb 2018 08:33:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180226075625.kcksm35y4clqvi5l@mwanda> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/26/2018 10:56 AM, Dan Carpenter wrote: > On Fri, Feb 23, 2018 at 05:57:42PM +0300, Ivan Safonov wrote: >> Custom AES decrypt implementation replaced with lib80211 library. >> >> Signed-off-by: Ivan Safonov > > The new code looks like original RTL code (really bad) so I'm guessing > you copy and pasted the code from somewhere else? Unfortunately, your assumption is wrong. Rather, bad code is created because I'm not a good programmer =). Seriously, after each patch the driver gets better, does not it? > > The idea is good, but RTL code is painful to look at. The basic idea is to replace a _small_ (or trivial) parts of the program, because I can not test my patches. > > regards, > dan carpenter > Ivan Safonov.