Received: by 2002:a17:90a:b81:0:0:0:0 with SMTP id 1csp1025105pjr; Fri, 30 Aug 2019 11:24:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEr0KVYq2FP/r3HwlvZgf5xKIX9PWvDarTnKEf+xD4m/9xFvkPYzqyGV0Bl5Ih9fQ472um X-Received: by 2002:a65:4044:: with SMTP id h4mr14089809pgp.164.1567189453435; Fri, 30 Aug 2019 11:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567189453; cv=none; d=google.com; s=arc-20160816; b=pL1+j5KiNojhnnRAmKVcnyKBs2R3YwAyyqiOvOkk/Cb5wjudPx4HRSgTIIpmb4AmgD Lw4PbAG4nrPF5BozMy37WPsEoCFLSsNgSbBrRchgfClGpd0QFDvgnXHn/PIobBek5Cn8 k0QhSkLwEnIO+qB5/FYVXds9khk2UvFtkywBhpZY2gKF+yYeSjrVYISY+OOmC2CgSwAW cUo4NJqtACHD1+tXKTCaono7GnwZBiQhxSbLJQa/72c6+h10fcX6OQmT6oCcqCGX2FB9 j/g/FiNIlBNA5sKSh31mbdteRMUW0Xd3gtTEryMSvpBWsOr8LtB33WB0x4eRiRHNnBLf SXDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:date:from :dkim-signature; bh=eQill36fue7Go81D6Kz8KAY5ejHyfulPWGvj504O4d0=; b=WPTEUcOfC+DX0DLFbbwzCZMRTmDYKnnnlQpOWVAZgglYjydA13ZpJrTaRVVguraHAF /7Ts5B+aY9Vi2yBp0cNIQICaMH0M7PWnF/sgAKzIiBR7ERJda4ttZzKRRbmq28x2ReVN Ubbkji2jV7i2O5NfXIETGb3DiSGC/2Q3NWOpU76OfeDqwf3t6ofzycOJDZF8ZSqBwhrw LMIRtGa2UK2/X0AVNL6L4cp3jUdM4YoxqEkNrKn46w2/Zi6jesmYd5mzZ8Xhco6POeVn 7Ert7fM4QFqumoErCUL2F049uzAj72XaZQfVwDO257deKdkgN6291a0Zmzt9igptD/h9 iGUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=qcTI4stl; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si5329202pjn.73.2019.08.30.11.23.40; Fri, 30 Aug 2019 11:24:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-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=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=qcTI4stl; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728021AbfH3SXV (ORCPT + 99 others); Fri, 30 Aug 2019 14:23:21 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39381 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727304AbfH3SXV (ORCPT ); Fri, 30 Aug 2019 14:23:21 -0400 Received: by mail-lf1-f66.google.com with SMTP id l11so6051346lfk.6 for ; Fri, 30 Aug 2019 11:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=eQill36fue7Go81D6Kz8KAY5ejHyfulPWGvj504O4d0=; b=qcTI4stlmZ8zhtFmKBz+Yl0gCHA8AyuwCMbiGRx2XGmZd4thrc0Fv5Dswtf78e/QaB zk4THJM4njCeVhss+CApWcBzoB4jjjhOb2b8Qqf99NtgJgwL/GSr3iJGjfOuQJFO62NL Luiol+sFwho/oftrSf+fwCQM806u1A6h8TRg7VokTmKqRPB3qUAk2XF5cN/i3HQgWSzq bF9VL41T9pdLohQ1vxXSYnMKw9H5l3NNv9C6G6xmXRayFnLbEcJl2wcDdETnKbKLK3sp B6Gby6KYhdZr+TBv1pJapcc5VOCgMJ890UeqihLQXvQtc06xdgwCihFsmdsKvgr6rpGu kXwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=eQill36fue7Go81D6Kz8KAY5ejHyfulPWGvj504O4d0=; b=rmChJku5xotrRBhtmtgxfjSc6G/GejFccoaaGJfM9FWZzJseCH1Y1BblnMuWMHVcA7 aNiIwwNA0Hw393RkiJ8wKkc2r2YggpksLcRT36Gtm4Hv0YCjFjZNFDlD8y1kiiTg4UzJ TA5BqHpQN7neHoC7gu77E5IC2iOPR8LaefEiOb/mq5hKDpIpAjYFYCEnz0z9lZS6HE/i wXk1A9bgj6HnzR9mMrukL0lBWgY8e8O0u6moTdY8L7yO0oct0uhkfBOqKvg9j7w8IVZS suNEbEQ+SrsCUaK2UsxIR6yf9ruv1bn1VxK130f/2z+5ZeBnut0Ei275CSjCIsPmK4jx Whmw== X-Gm-Message-State: APjAAAV11G0YH7JHS4nlUW1qpwQc7Lw9uRehynKD7BLXFJW/wBB4tqji ueZYsKY2C/EWe+xv4FszWl6Jrw== X-Received: by 2002:ac2:50c4:: with SMTP id h4mr10054890lfm.104.1567189398977; Fri, 30 Aug 2019 11:23:18 -0700 (PDT) Received: from kynes (apn-95-41-66-58.dynamic.gprs.plus.pl. [95.41.66.58]) by smtp.gmail.com with ESMTPSA id d16sm1021705lfl.29.2019.08.30.11.23.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Aug 2019 11:23:18 -0700 (PDT) From: "=?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek" X-Google-Original-From: =?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek Date: Fri, 30 Aug 2019 20:23:16 +0200 To: Brian Gix Cc: linux-bluetooth@vger.kernel.org, inga.stotland@intel.com, marcel@holtmann.org Subject: Re: [PATCH BlueZ] mesh: test AEAD at startup to check kernel support Message-ID: <20190830182316.fo3nmzfvzk55rhnj@kynes> Mail-Followup-To: Brian Gix , linux-bluetooth@vger.kernel.org, inga.stotland@intel.com, marcel@holtmann.org References: <20190830173902.19953-1-brian.gix@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190830173902.19953-1-brian.gix@intel.com> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Brian, On 08/30, Brian Gix wrote: > One time test at startup to ensure either kernel version v4.9 or later, > *or* that required AES-CCM support has been back-ported. If support not > there, daemon will run without providing D-Bus service or attaching to > controllers (prevents systemd thrashing). By the way - I have a patch that implements all required cryptographic operations using libcrypto, enabled by ./configure --with-openssl (disabled by default). I know that last time we've talked about this, the consensus was that the vendor should patch meshd to work on older kernels, so we did exactly that - but maybe having this available in the mainline would be interesting? regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND