Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932712AbcL0OQj (ORCPT ); Tue, 27 Dec 2016 09:16:39 -0500 Received: from www62.your-server.de ([213.133.104.62]:56209 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbcL0OQg (ORCPT ); Tue, 27 Dec 2016 09:16:36 -0500 Message-ID: <586277AE.80401@iogearbox.net> Date: Tue, 27 Dec 2016 15:16:14 +0100 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Herbert Xu , Andy Lutomirski CC: Ard Biesheuvel , Andy Lutomirski , Netdev , LKML , Linux Crypto Mailing List , "Jason A. Donenfeld" , Hannes Frederic Sowa , Alexei Starovoitov , Eric Dumazet , Eric Biggers , Tom Herbert , "David S. Miller" Subject: Re: [RFC PATCH 4.10 1/6] crypto/sha256: Refactor the API so it can be used without shash References: <942b91f25a63b22ec4946378a1fffe78d655cf18.1482545792.git.luto@kernel.org> <20161226075757.GA8916@gondor.apana.org.au> <20161227095853.GA10588@gondor.apana.org.au> In-Reply-To: <20161227095853.GA10588@gondor.apana.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 16 On 12/27/2016 10:58 AM, Herbert Xu wrote: > On Mon, Dec 26, 2016 at 10:08:48AM -0800, Andy Lutomirski wrote: >> >> According to Daniel, the networking folks want to let embedded systems >> include BPF without requiring the crypto core. > > Last I checked the IPv4 stack depended on the crypto API so this > sounds bogus. I think there's a bit of a mixup here with what I said. To clarify, requirement back then from tracing folks was that bpf engine and therefore bpf syscall can be build w/o networking enabled for small devices, so dependencies preferably need to be kept on a absolute minimum, same counts for either making it suddenly a depend on CRYPTO or a select CRYPTO for just those few lines that can be pulled in from lib/ code instead.