Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2055651pxk; Mon, 14 Sep 2020 03:43:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeyTV/vHHj4s1zmbvEkMdpV8wKP8QBI0Q5kzQ9/5n/7J6DRfQL1ckiW0OOu5yQfw22QA5z X-Received: by 2002:a17:906:4805:: with SMTP id w5mr6747467ejq.313.1600080180278; Mon, 14 Sep 2020 03:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600080180; cv=none; d=google.com; s=arc-20160816; b=hsp77tetgtcU/Y6xhgFhAIJXDXHry8zB5VCOs/TjYqU7GKegJQiawYkNa22uNTA30m xGeaj3Ezi4dyzteaAsl8TZbZe/TE6y2QamtPU2vUcjDEeFg0FywFsdMNSAJaMLjdA0mN 3y7oJSS/ej1FA0oc2qwRc6TpJubrdPb5edlmbOVG22eC7XjMvB6QZoxH033TidwRjmLM PQZHURg3Y5IUgVsm5ZnRf0gnMK5nTZLYqqrTwHeJ7/KjMYSn3Zxua60bXECmuQe+sQtd blTOWq/2Q81tDDd//+Daz8N7YG402DyuTUzz8cJywjlr3/N/GKPAajHiLF18mTP5QkwO NcRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KK6ppy+gk7UiuxPQUTeMnH2C+XIbYHWEr8o1+X2zUXc=; b=CBm+N91BXRrAtzAfQGgLdgWjh9IFu7j+lhMV7kN5Mc9c3fGd/c8dIhr9XjmxfYFwwP MW0C3DjO47L5aRflIrHFEqG1NnaVjzkvQHNOKBRcAdqxlJWgR3pUGLo13NdpFndfq3LX IwXBwOH9C/qDRMeLWdMLPezJXZvbViHD/C/3U1fQWb422BSXzgCYLRtsGDXsidTmdOlq lhjXpc0KncvXrveSBGM594HkTNNAKPCjaYMvsPFZrV/09I5T8O16qTkKrpw9LoDVxamF 5QJa4JtEGSdyefbJGTW0YI1exXYKaKuMwnaY4DNzUnsEoldfIOFrUclzQfmDGbLdgCdb Lk0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BInOJyjR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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. [23.128.96.18]) by mx.google.com with ESMTP id h19si7229881edq.571.2020.09.14.03.42.28; Mon, 14 Sep 2020 03:43:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BInOJyjR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 S1726491AbgINKlY (ORCPT + 99 others); Mon, 14 Sep 2020 06:41:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726474AbgINKlL (ORCPT ); Mon, 14 Sep 2020 06:41:11 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84CE1C06174A; Mon, 14 Sep 2020 03:41:02 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id m6so18178180wrn.0; Mon, 14 Sep 2020 03:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KK6ppy+gk7UiuxPQUTeMnH2C+XIbYHWEr8o1+X2zUXc=; b=BInOJyjRPk8YQPjXak4SQncm/Rnt8fnKX7KW2tMQ/nQFgfRwbs8qs6TnLWKjquskxH 20X3fPs0KriO+DOKwTWqMn8pL5SXBUwuJo+ycG30xuFk6E6mRBuf/aK9XaQYA8k8/Zaj yW1MoQJ2Rq1MI1lrkZ9zin98cM6faweGYrxaMQcUU1wkyTgK35oBPBk49ApYIjm1xdos ANzm54kNz9mYsw+/s3Jlxd3F2qYNuLcqJo+bjt2hw+OUx5BqFOK6U53lq6bc1PSzNhLc 0X8sAZ4hjlWhZ2Adyuj3ylvxzsxgEtoHWRFTHvlZvSfJM29zD6p8I7abQHNC8ascpd5j 97Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KK6ppy+gk7UiuxPQUTeMnH2C+XIbYHWEr8o1+X2zUXc=; b=kcggpbOv2LPvJi+szcVW2nApU2qDVqgk0Ohek6tQ/vBNtlqKw1IoIYnzhF3rsVLAcr zV5WDZIr0uOI9o8WhLIESAz4xflqK3NJGStX66mEJ8BScbFSvuUfZHyL53QUnY/lgnzE hNpCF5UPHoEVLQNFstup/eFrqUObC5YONRC5hh2a3XySsvdU12bZXcrFqGoYDWbouJaR SohKxENFfNCWMP2CA1MFUJBRtsgm8fQqfAITwFlKQQ5by++xbFRJgsXIJmvZCT4I9nlr +9av3zQtuIcguQo/xzgmz/lnvN9vtJb2/5fr3ORKKobYEBzee5L9yLDyBI9WefA6OZAv +1ag== X-Gm-Message-State: AOAM5306D8T2OFHi2hmKxXuO22J2LS95Q/nqFggt3JrIOBSXupxFqFun 7ZDLpX8ucSEPeQ6NgnvPKwU= X-Received: by 2002:a5d:4f09:: with SMTP id c9mr14577754wru.427.1600080061284; Mon, 14 Sep 2020 03:41:01 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id j14sm19012868wmj.19.2020.09.14.03.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 03:41:00 -0700 (PDT) Date: Mon, 14 Sep 2020 12:40:58 +0200 From: Corentin Labbe To: Herbert Xu Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Linux Crypto Mailing List Subject: Re: [v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers Message-ID: <20200914104058.GA14265@Red> References: <202009061621.J89kO43Q%lkp@intel.com> <20200907062400.GA15841@gondor.apana.org.au> <20200907160029.GC11894@Red> <20200908050036.GA19817@gondor.apana.org.au> <20200910122248.GA22506@Red> <20200911041354.GA5275@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200911041354.GA5275@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Sep 11, 2020 at 02:13:55PM +1000, Herbert Xu wrote: > On Thu, Sep 10, 2020 at 02:22:48PM +0200, Corentin Labbe wrote: > > > > I get some md5 error on both A20+BE: > > alg: ahash: md5 test failed (wrong result) on test vector \"random: psize=129 ksize=0\", cfg=\"random: inplace use_finup nosimd src_divs=[85.99%@+3999, 5.85%@+30, 0.96%@+25, 5.9%@+2263, 2.11%@+1950] iv_offset=2 key_offset=43\" > > and A33+BE: > > [ 84.469045] alg: ahash: md5 test failed (wrong result) on test vector \"random: psize=322 ksize=0\", cfg=\"random: inplace may_sleep use_finup src_divs=[99.1%@+2668, 0.88%@alignmask+3630, 0.11%@+3403] iv_offset=33\" > > +[ 84.469074] need:35966fc8 b31ea266 2bf064e9 f20f40ad > > +[ 84.469084] have:e29e4491 f3b6effc fa366691 00e04bd9 > > > > Thoses errors are random. (1 boot out of 2) > > Do these really go away without this patch applied? AFAICS the > generated code should be identical. > I got this on next-20200910/multi_v7_defconfig BigEndian [ 12.137856] alg: hash: skipping comparison tests for md5-sun4i-ss because md5-generic is unavailable md5-sun4i-ss md5 reqs=763 [ 98.286632] alg: ahash: md5 test failed (wrong result) on test vector \"random: psize=65 ksize=0\", cfg=\"random: use_finup src_divs=[95.28%@+1052, 0.61%@+4046, 0.87%@+24, 3.24%@+542] key_offset=54\" So sun4i-ss is not involved. Strangely /proc/crypto show: name : md5 driver : md5-generic module : md5 priority : 0 refcnt : 1 selftest : passed internal : no type : shash blocksize : 64 digestsize : 16 and I didnt see anything failed/unknow in /proc/crypto Why the failed algorithm is not visible ?