Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1114527ybi; Fri, 14 Jun 2019 08:53:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3FtsRcIjaYR0N6543w5i6tzQSg3zjTjhR4CG+PVQu5jXW6xts1FRpbeQfsXvr+CwgxmXd X-Received: by 2002:a63:dc56:: with SMTP id f22mr20980511pgj.305.1560527599134; Fri, 14 Jun 2019 08:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560527599; cv=none; d=google.com; s=arc-20160816; b=R/nFLAJBFdbj95yY8XGAbOp9PQWsqc/Idt2CnqaqViuFmXr9W6wHCGK+xJwLoEuUxk IeHJFGn/+BrtD4GqKrNMxJVBL++m2Quwvpg4IHC0pP3h5dmkPz4/+m0h7mTvyd8H0tQH HJkbCfhAOPlBJOeyM6lq2MoL0l4GN653npnY5BNvFqfMxDsdGjqs8ceicHxpqbFE0oS8 CwI8ag7+JG15SQwBc2E+66lg2xBni5+CM+CZTG89vknULBvbuCYrw9Bl8tO+yoOPXXFh RZEP4Vhx3ohUKhpsa21Hbwo3IFMVQ6g3uvYl3Eean3B3LqM0CeZRNsH96YE0tr5aDSO9 ao1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rmSFmNkxkdutblBF4nfv/FPx6xLmobVG8p088ta4ck0=; b=LpqpAGBpftI50RNSfnJ9Wbzrrv7RzrWKHjWEyl3DF8UiGFSjTzSzOQ9x4Stcvce7aY 7NNKR2k8qNJsyMJA62VqI6JbHX6s8sWmxl8H2hR5Fo5rRH2uoMJP4g8NFpj3ARNBQzTd RmDo3PCmDSp0Kp/pxtlTrNdSn1/ArnWiXJ6VgnimQfWw0QyBayaoCsSznNA53HD0aF85 HFDQ1C0DpEF9FJY8KAaXcZ+axOHfrwBhuSbDn+ueRpECUQ/Jr5RE2AHHtqHX1KsuzvQU FM6vr1KRlFXb4NNaL/XQL5m3ix19Xftx6mAxe/ICy0Wus0Owtk6PpI9Rw6NM4CAFcI20 CqdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iDPmhW5R; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si2496321plk.79.2019.06.14.08.53.04; Fri, 14 Jun 2019 08:53:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@google.com header.s=20161025 header.b=iDPmhW5R; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726083AbfFNPvq (ORCPT + 99 others); Fri, 14 Jun 2019 11:51:46 -0400 Received: from mail-yw1-f65.google.com ([209.85.161.65]:43398 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfFNPvq (ORCPT ); Fri, 14 Jun 2019 11:51:46 -0400 Received: by mail-yw1-f65.google.com with SMTP id t2so1275985ywe.10 for ; Fri, 14 Jun 2019 08:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rmSFmNkxkdutblBF4nfv/FPx6xLmobVG8p088ta4ck0=; b=iDPmhW5RgAGCEpcKLC3ltY+btEId/3FHt4RKDKod0xODrdjP/0RT109iLSVA56rgDq K6hK8Ngf7Y6R3I97clhiD7v+qg6XLSY0y0I3h5+hY+lvaPFVNyEozJXyehokPzib9Jti 82LSMs8egVajPZvAS6YKDvhyN/W0NgYQyK4JIoQQFyY6o1YxbdkvL8/WRr8WzD6Be1CM qzHm7Tl+IKByNuCDKLWqAkNqCj1ff01GWm2FQUOQylhxP1Om9V/AAR3MPNMADjFSEBhx Lg6S5m+/YAAe0XBIO3oLlW0pKp3DgbIupu+U3qXcNCJLUE+5GvGn8n3upQjqEa1Wt4BD tMOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rmSFmNkxkdutblBF4nfv/FPx6xLmobVG8p088ta4ck0=; b=PYj6gvJKHiIndIYLUrVHAexOM0+0TfW6vg3QdHR1SExWd5C9ko3WU390z1yiLYTfNW 5p/TCucrSJ7qkiqPcIR00b1HK/9/PcrWFaGJ7LVZQWacgtAo1bLABYoOv/SLJa1ndy9S uBa7A13p7jSvkTRFaHU+9xUoghtyos1gMpwbKL5nvIgIC+eaAJP+8ciA6jMApL7S46gV dB1H9fc2nyHioI2yTDG51xVJAxiA5HHOGJKF4dhTLdGcl/jQGo4xN1MfL/qQNlJvTXf4 uYJasQbSXH5BE8gEoDJg51S05BRU/VMT7WQTmDPbDFiSm4GS3kCL8nSlcsFIOeocYbdL faSA== X-Gm-Message-State: APjAAAU8OPG+aSDQp9MZy3PGbC1GnQl+cgqGiWDvlAjbd2nSkD0tyPT2 3eorLcoev28GXuR1/qGe3p39cYiC7tbM0MOJ5h9CmA== X-Received: by 2002:a81:2e93:: with SMTP id u141mr40026081ywu.21.1560527504985; Fri, 14 Jun 2019 08:51:44 -0700 (PDT) MIME-Version: 1.0 References: <20190614140122.20934-1-ard.biesheuvel@linaro.org> In-Reply-To: From: Eric Dumazet Date: Fri, 14 Jun 2019 08:51:33 -0700 Message-ID: Subject: Re: [PATCH v2] net: ipv4: move tcp_fastopen server side code to SipHash library To: Jason Baron Cc: Ard Biesheuvel , netdev , linux-crypto@vger.kernel.org, Herbert Xu , ebiggers@kernel.org, David Miller , Christoph Paasch , David Laight , Yuchung Cheng Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jun 14, 2019 at 8:44 AM Jason Baron wrote: > > > > > The inconsistencies coming from kernel version skew with some servers > being on the old hash and some on the newer one? Or is there another > source for the inconsistency you are referring to? > The servers still using the old crypto hash, and the new servers using the new siphash, will generate different fastopen cookies, even if fed with the same key (shared secret among all the server farm)