Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp583362ybl; Wed, 11 Dec 2019 04:25:08 -0800 (PST) X-Google-Smtp-Source: APXvYqyAgwryPzx5389U39R3VMXWS6gv3lh99nUjU7+kGeKTnDWiNXAj7iNDe+8DryzuAFZqKrDi X-Received: by 2002:aca:ac88:: with SMTP id v130mr2376222oie.123.1576067108035; Wed, 11 Dec 2019 04:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576067108; cv=none; d=google.com; s=arc-20160816; b=epLfgxALhBZlvUyG+MaOpdv1chnSJ/Ibhe0BxMlLILxuN5qf63DvD4mn9HaU3rCAcU duYdOfK5D+7mKaY0/hky3FDCz0NMjfDdZsh+nY9lSFncx0fVSTHUUz9MEudBrIpHpXp0 w+CdvpB9lWm43yOBKyyUm1RdzunmQNPNL0cMMu8cd4/SiZDWQWgG7x+RvzdP3ijXygfZ PY5Y02HHBkxV53Zb6aA72FEdfcIpvVWzZzm4o1/KugEIvJLxaR2cy7gBBkQe0Z66LN+t pqXVDDX0ntawrdAIyGrN0DKzJ53gkdY6+J+7S3BmArDLockXazNRk6e0NT9+NlI6mdca Tzew== 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=Az3TiV2Am0UisjHJXlRHoB/xjd19Eg9IwUroSCnx4J8=; b=IT3XkYanR9J6q2EXxo5AGygbdx7BWLvw/prFVkr0+Cqsmbg6yhSh64gFBMufI6U2lw As0gGUTpHF8lqYkOF1hTcaFtzP+3JyGdsiPwUArxxuP6oC8QYjUBy0Nv2T90yLqjN7TM Qw8eE7Rgb4+ECsBvXRMVtuUFrh90fQ0COA1NK+EHbUBrSIHe3hc6LyDDqdjnqCQloHXU uEgdCzFGH7c1FkI8steatzoKTwd7qXhaCeMAYbEfuC0z3uxMlzH/8S86L44AsADJ5zYL wnKvPo8yaQWtUyiA7Ng/9/PnhLxNvD58L1VuBkKS2oow6POsgXx6YdZxtxlcGOzZKkW8 3rzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BvPuT7mG; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si963582otq.286.2019.12.11.04.24.55; Wed, 11 Dec 2019 04:25:08 -0800 (PST) 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=@linaro.org header.s=google header.b=BvPuT7mG; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbfLKMYy (ORCPT + 99 others); Wed, 11 Dec 2019 07:24:54 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45336 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727365AbfLKMYx (ORCPT ); Wed, 11 Dec 2019 07:24:53 -0500 Received: by mail-wr1-f66.google.com with SMTP id j42so23769378wrj.12 for ; Wed, 11 Dec 2019 04:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Az3TiV2Am0UisjHJXlRHoB/xjd19Eg9IwUroSCnx4J8=; b=BvPuT7mGXzVeZ7tNJ+z2C2T2ynOQAAMzrDSosd5xBcYGqW06p3wVu6tllPLCD1UPNm IRX4ab4fTaP/Q+/LVPv5TauZxdJN7Dm41+UPx53YiU6jIjKCgMCHkULmKG9hDM6dMQF8 6HLJ5Jc5+FsDkm0u+1WcwmwDUepw+tf0BfH6PL7pBCtEqPFPzVfFGYuBF0Ha/wkVTO0k o4u371W3EfQ5e8LsuAKSSLums/5xfKSJQuG4FLTgFuM+BNLMxDtdDHFN+KhlsiKG/DL5 trpZzmXw4jQFWBFfvYOo5pwKpLRLhJ7zYdySl4eGYWcIyvWs+ONJTUsUWGVmVxlL9GOi 8b4w== 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=Az3TiV2Am0UisjHJXlRHoB/xjd19Eg9IwUroSCnx4J8=; b=hu921TO8BPqXNbzskPxF5lAzNH3JrxT5jk801jX7c3c1/jcyGMZ2Izc2GGc3rGpPe2 J9c+gvF0iABho9jl8FoJMh6AutMYOIC2kbiEmGkYG1ue9ANa1c5cMudmrRZHTLSt17X8 81WGx/BDlbbWIe31+JH2aFRHAQ2cRVsBzByxqrjXPmvrhbZnyzGWPgLb1jUZ3TTkM8ze BUMo3szD17Pkw/t9xl82EMTcmBrXLOQr41L+HqBlvWb7ZQIKaZRoRLXNm/F5eZdXNxse VEr8OYq5IZpqZdvDIkG5HxF+tjCMpOV5corCTfz6hVkn4TwxJxAm6xElS9rTt0wWiAgk CMwA== X-Gm-Message-State: APjAAAX34AHFU4q2U6g/nh04qI2E6MaPQIcCQf6MZzJTX+rbzbVJpgAX h9OfDQPN3nKL35WW6vKu/Lmq1pTsV8T6QJFUw+Qkgg== X-Received: by 2002:a5d:46c1:: with SMTP id g1mr3485989wrs.200.1576067088547; Wed, 11 Dec 2019 04:24:48 -0800 (PST) MIME-Version: 1.0 References: <20191211084112.971-1-linux.amoon@gmail.com> <20191211095043.3kngq7wh77xvadge@gondor.apana.org.au> In-Reply-To: From: Ard Biesheuvel Date: Wed, 11 Dec 2019 12:24:44 +0000 Message-ID: Subject: Re: [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform To: Anand Moon Cc: Herbert Xu , Neil Armstrong , Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , "David S . Miller" , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" 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 Wed, 11 Dec 2019 at 13:16, Anand Moon wrote: > > Hi Herbert / Neil, > > On Wed, 11 Dec 2019 at 15:20, Herbert Xu wrote: > > > > On Wed, Dec 11, 2019 at 03:07:53PM +0530, Anand Moon wrote: > > > > > > name : ecb(aes) > > > driver : ecb-aes-gxl > > > module : kernel > > > priority : 400 > > > refcnt : 1 > > > selftest : passed > > > internal : no > > > type : skcipher > > > async : yes > > > blocksize : 16 > > > min keysize : 16 > > > max keysize : 32 > > > ivsize : 0 > > > chunksize : 16 > > > walksize : 16 > > > > > > name : cbc(aes) > > > driver : cbc-aes-gxl > > > module : kernel > > > priority : 400 > > > refcnt : 1 > > > selftest : passed > > > internal : no > > > type : skcipher > > > async : yes > > > blocksize : 16 > > > min keysize : 16 > > > max keysize : 32 > > > ivsize : 16 > > > chunksize : 16 > > > walksize : 16 > > > > Oh so you did actually get them loaded. You need to run tcrypt with > > mode=500 instead of 200 to test the async ciphers. Does that work? > > > > Thanks, > > -- > > Email: Herbert Xu > > Home Page: http://gondor.apana.org.au/~herbert/ > > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > > Looks like I go this to move ahead after modified the dts crypto nodes. > Here is the output is this good enough results are their some more testcase. > > [alarm@alarm ~]$ sudo modprobe tcrypt sec=1 mode=500 > [sudo] password for alarm: > [ 24.370009] tcrypt: > [ 24.370009] testing speed of async ecb(aes) (ecb-aes-neonbs) encryption This is using software encryption again. This line will read testing speed of async ecb(aes) (ecb-aes-gxl) encryption when it is testing your driver. Given that you register these at priority 400, they either did not load at all or failed to register. > [ 24.373201] tcrypt: test 0 (128 bit key, 16 byte blocks): 558165 > operations in 1 seconds (8930640 bytes) > [ 25.374105] tcrypt: test 1 (128 bit key, 64 byte blocks): 553730 > operations in 1 seconds (35438720 bytes) > [ 26.374180] tcrypt: test 2 (128 bit key, 256 byte blocks): 304721 > operations in 1 seconds (78008576 bytes) > [ 27.374266] tcrypt: test 3 (128 bit key, 1024 byte blocks): 83420 > operations in 1 seconds (85422080 bytes) > [ 28.374276] tcrypt: test 4 (128 bit key, 1472 byte blocks): 56456 > operations in 1 seconds (83103232 bytes) > [ 29.378277] tcrypt: test 5 (128 bit key, 8192 byte blocks): 10601 > operations in 1 seconds (86843392 bytes) > [ 30.382329] tcrypt: test 6 (192 bit key, 16 byte blocks): 487160 > operations in 1 seconds (7794560 bytes) > [ 31.386099] tcrypt: test 7 (192 bit key, 64 byte blocks): > [ 31.774318] VCC3V3: disabling > [ 32.382287] 482103 operations in 1 seconds (30854592 bytes) > [ 32.382311] tcrypt: test 8 (192 bit key, 256 byte blocks): 262375 > operations in 1 seconds (67168000 bytes) > [ 33.386271] tcrypt: test 9 (192 bit key, 1024 byte blocks): 70597 > operations in 1 seconds (72291328 bytes) > [ 34.386290] tcrypt: test 10 (192 bit key, 1472 byte blocks): 47700 > operations in 1 seconds (70214400 bytes) > [ 35.390382] tcrypt: test 11 (192 bit key, 8192 byte blocks): 8950 > operations in 1 seconds (73318400 bytes) > [ 36.394332] tcrypt: test 12 (256 bit key, 16 byte blocks): 431367 > operations in 1 seconds (6901872 bytes) > [ 37.398181] tcrypt: test 13 (256 bit key, 64 byte blocks): 427335 > operations in 1 seconds (27349440 bytes) > [ 38.398266] tcrypt: test 14 (256 bit key, 256 byte blocks): 229875 > operations in 1 seconds (58848000 bytes) > [ 39.398369] tcrypt: test 15 (256 bit key, 1024 byte blocks): 61743 > operations in 1 seconds (63224832 bytes) > [ 40.402378] tcrypt: test 16 (256 bit key, 1472 byte blocks): 41497 > operations in 1 seconds (61083584 bytes) > [ 41.406389] tcrypt: test 17 (256 bit key, 8192 byte blocks): 7788 > operations in 1 seconds (63799296 bytes) > [ 42.410414] tcrypt: > [ 42.410414] testing speed of async ecb(aes) (ecb-aes-neonbs) decryption > [ 42.419098] tcrypt: test 0 (128 bit key, 16 byte blocks): 505838 > operations in 1 seconds (8093408 bytes) > [ 43.422184] tcrypt: test 1 (128 bit key, 64 byte blocks): 501537 > operations in 1 seconds (32098368 bytes) > [ 44.423580] tcrypt: test 2 (128 bit key, 256 byte blocks): 273125 > operations in 1 seconds (69920000 bytes) > [ 45.424907] tcrypt: test 3 (128 bit key, 1024 byte blocks): 74316 > operations in 1 seconds (76099584 bytes) > [ 46.430065] tcrypt: test 4 (128 bit key, 1472 byte blocks): 50025 > operations in 1 seconds (73636800 bytes) > [ 47.435145] tcrypt: test 5 (128 bit key, 8192 byte blocks): 9391 > operations in 1 seconds (76931072 bytes) > [ 48.440096] tcrypt: test 6 (192 bit key, 16 byte blocks): 436414 > operations in 1 seconds (6982624 bytes) > [ 49.440916] tcrypt: test 7 (192 bit key, 64 byte blocks): 433857 > operations in 1 seconds (27766848 bytes) > [ 50.441889] tcrypt: test 8 (192 bit key, 256 byte blocks): 233073 > operations in 1 seconds (59666688 bytes) > [ 51.442803] tcrypt: test 9 (192 bit key, 1024 byte blocks): 62394 > operations in 1 seconds (63891456 bytes) > [ 52.443606] tcrypt: test 10 (192 bit key, 1472 byte blocks): 42109 > operations in 1 seconds (61984448 bytes) > [ 53.448434] tcrypt: test 11 (192 bit key, 8192 byte blocks): 7900 > operations in 1 seconds (64716800 bytes) > [ 54.453133] tcrypt: test 12 (256 bit key, 16 byte blocks): 386032 > operations in 1 seconds (6176512 bytes) > [ 55.457568] tcrypt: test 13 (256 bit key, 64 byte blocks): 382669 > operations in 1 seconds (24490816 bytes) > [ 56.458258] tcrypt: test 14 (256 bit key, 256 byte blocks): 204926 > operations in 1 seconds (52461056 bytes) > [ 57.462922] tcrypt: test 15 (256 bit key, 1024 byte blocks): 54382 > operations in 1 seconds (55687168 bytes) > [ 58.467448] tcrypt: test 16 (256 bit key, 1472 byte blocks): 36513 > operations in 1 seconds (53747136 bytes) > [ 59.471968] tcrypt: test 17 (256 bit key, 8192 byte blocks): 6851 > operations in 1 seconds (56123392 bytes) > [ 60.488714] tcrypt: > [ 60.488714] testing speed of async cbc(aes) (cbc-aes-neonbs) encryption > [ 60.491836] tcrypt: test 0 (128 bit key, 16 byte blocks): 1570796 > operations in 1 seconds (25132736 bytes) > [ 61.492766] tcrypt: test 1 (128 bit key, 64 byte blocks): 728564 > operations in 1 seconds (46628096 bytes) > [ 62.497077] tcrypt: test 2 (128 bit key, 256 byte blocks): 230454 > operations in 1 seconds (58996224 bytes) > [ 63.497552] tcrypt: test 3 (128 bit key, 1024 byte blocks): 61803 > operations in 1 seconds (63286272 bytes) > [ 64.497913] tcrypt: test 4 (128 bit key, 1472 byte blocks): 43483 > operations in 1 seconds (64006976 bytes) > [ 65.502251] tcrypt: test 5 (128 bit key, 8192 byte blocks): 7890 > operations in 1 seconds (64634880 bytes) > [ 66.506530] tcrypt: test 6 (192 bit key, 16 byte blocks): 1458091 > operations in 1 seconds (23329456 bytes) > [ 67.506856] tcrypt: test 7 (192 bit key, 64 byte blocks): 636185 > operations in 1 seconds (40715840 bytes) > [ 68.507055] tcrypt: test 8 (192 bit key, 256 byte blocks): 194680 > operations in 1 seconds (49838080 bytes) > [ 69.507400] tcrypt: test 9 (192 bit key, 1024 byte blocks): 51911 > operations in 1 seconds (53156864 bytes) > [ 70.511658] tcrypt: test 10 (192 bit key, 1472 byte blocks): 36328 > operations in 1 seconds (53474816 bytes) > [ 71.515969] tcrypt: test 11 (192 bit key, 8192 byte blocks): 6542 > operations in 1 seconds (53592064 bytes) > [ 72.520232] tcrypt: test 12 (256 bit key, 16 byte blocks): 1368657 > operations in 1 seconds (21898512 bytes) > [ 73.524380] tcrypt: test 13 (256 bit key, 64 byte blocks): 568825 > operations in 1 seconds (36404800 bytes) > [ 74.528480] tcrypt: test 14 (256 bit key, 256 byte blocks): 170364 > operations in 1 seconds (43613184 bytes) > [ 75.532745] tcrypt: test 15 (256 bit key, 1024 byte blocks): 44820 > operations in 1 seconds (45895680 bytes) > [ 76.536921] tcrypt: test 16 (256 bit key, 1472 byte blocks): 31345 > operations in 1 seconds (46139840 bytes) > [ 77.541084] tcrypt: test 17 (256 bit key, 8192 byte blocks): 5674 > operations in 1 seconds (46481408 bytes) > [ 78.545207] tcrypt: > [ 78.545207] testing speed of async cbc(aes) (cbc-aes-neonbs) decryption > [ 78.553895] tcrypt: test 0 (128 bit key, 16 byte blocks): 507079 > operations in 1 seconds (8113264 bytes) > [ 79.557077] tcrypt: test 1 (128 bit key, 64 byte blocks): 502559 > operations in 1 seconds (32163776 bytes) > [ 80.557292] tcrypt: test 2 (128 bit key, 256 byte blocks): 272698 > operations in 1 seconds (69810688 bytes) > [ 81.557499] tcrypt: test 3 (128 bit key, 1024 byte blocks): 73650 > operations in 1 seconds (75417600 bytes) > [ 82.557611] tcrypt: test 4 (128 bit key, 1472 byte blocks): 49556 > operations in 1 seconds (72946432 bytes) > [ 83.557737] tcrypt: test 5 (128 bit key, 8192 byte blocks): 9336 > operations in 1 seconds (76480512 bytes) > [ 84.561741] tcrypt: test 6 (192 bit key, 16 byte blocks): 437081 > operations in 1 seconds (6993296 bytes) > [ 85.561733] tcrypt: test 7 (192 bit key, 64 byte blocks): 434321 > operations in 1 seconds (27796544 bytes) > [ 86.561906] tcrypt: test 8 (192 bit key, 256 byte blocks): 232778 > operations in 1 seconds (59591168 bytes) > [ 87.562077] tcrypt: test 9 (192 bit key, 1024 byte blocks): 62394 > operations in 1 seconds (63891456 bytes) > [ 88.566148] tcrypt: test 10 (192 bit key, 1472 byte blocks): 41756 > operations in 1 seconds (61464832 bytes) > [ 89.566319] tcrypt: test 11 (192 bit key, 8192 byte blocks): 7862 > operations in 1 seconds (64405504 bytes) > [ 90.570354] tcrypt: test 12 (256 bit key, 16 byte blocks): 386709 > operations in 1 seconds (6187344 bytes) > [ 91.574264] tcrypt: test 13 (256 bit key, 64 byte blocks): 383279 > operations in 1 seconds (24529856 bytes) > [ 92.574409] tcrypt: test 14 (256 bit key, 256 byte blocks): 203918 > operations in 1 seconds (52203008 bytes) > [ 93.574554] tcrypt: test 15 (256 bit key, 1024 byte blocks): 54203 > operations in 1 seconds (55503872 bytes) > [ 94.578607] tcrypt: test 16 (256 bit key, 1472 byte blocks): 36379 > operations in 1 seconds (53549888 bytes) > [ 95.582670] tcrypt: test 17 (256 bit key, 8192 byte blocks): 6825 > operations in 1 seconds (55910400 bytes) > [ 96.598834] tcrypt: failed to load transform for lrw(aes): -2 > [ 96.611007] tcrypt: failed to load transform for lrw(aes): -2 > [ 96.623026] tcrypt: > [ 96.623026] testing speed of async xts(aes) (xts-aes-neonbs) encryption > [ 96.626152] tcrypt: test 0 (256 bit key, 16 byte blocks): 1049916 > operations in 1 seconds (16798656 bytes) > [ 97.626651] tcrypt: test 1 (256 bit key, 64 byte blocks): 628670 > operations in 1 seconds (40234880 bytes) > [ 98.626607] tcrypt: test 2 (256 bit key, 256 byte blocks): 272202 > operations in 1 seconds (69683712 bytes) > [ 99.626727] tcrypt: test 3 (256 bit key, 1024 byte blocks): 79299 > operations in 1 seconds (81202176 bytes) > [ 100.626771] tcrypt: test 4 (256 bit key, 1472 byte blocks): 54137 > operations in 1 seconds (79689664 bytes) > [ 101.630823] tcrypt: test 5 (256 bit key, 8192 byte blocks): 10295 > operations in 1 seconds (84336640 bytes) > [ 102.634876] tcrypt: test 6 (512 bit key, 16 byte blocks): 875909 > operations in 1 seconds (14014544 bytes) > [ 103.638777] tcrypt: test 7 (512 bit key, 64 byte blocks): 490152 > operations in 1 seconds (31369728 bytes) > [ 104.638802] tcrypt: test 8 (512 bit key, 256 byte blocks): 206655 > operations in 1 seconds (52903680 bytes) > [ 105.638913] tcrypt: test 9 (512 bit key, 1024 byte blocks): 59127 > operations in 1 seconds (60546048 bytes) > [ 106.642968] tcrypt: test 10 (512 bit key, 1472 byte blocks): 40065 > operations in 1 seconds (58975680 bytes) > [ 107.646785] tcrypt: test 11 (512 bit key, 8192 byte blocks): 7612 > operations in 1 seconds (62357504 bytes) > [ 108.650058] tcrypt: > [ 108.650058] testing speed of async xts(aes) (xts-aes-neonbs) decryption > [ 108.658747] tcrypt: test 0 (256 bit key, 16 byte blocks): 988257 > operations in 1 seconds (15812112 bytes) > [ 109.661062] tcrypt: test 1 (256 bit key, 64 byte blocks): 563062 > operations in 1 seconds (36035968 bytes) > [ 110.660328] tcrypt: test 2 (256 bit key, 256 byte blocks): 246292 > operations in 1 seconds (63050752 bytes) > [ 111.659706] tcrypt: test 3 (256 bit key, 1024 byte blocks): 70928 > operations in 1 seconds (72630272 bytes) > [ 112.663032] tcrypt: test 4 (256 bit key, 1472 byte blocks): 48127 > operations in 1 seconds (70842944 bytes) > [ 113.666338] tcrypt: test 5 (256 bit key, 8192 byte blocks): 9138 > operations in 1 seconds (74858496 bytes) > [ 114.669650] tcrypt: test 6 (512 bit key, 16 byte blocks): 809679 > operations in 1 seconds (12954864 bytes) > [ 115.668960] tcrypt: test 7 (512 bit key, 64 byte blocks): 433846 > operations in 1 seconds (27766144 bytes) > [ 116.668338] tcrypt: test 8 (512 bit key, 256 byte blocks): 185424 > operations in 1 seconds (47468544 bytes) > [ 117.667842] tcrypt: test 9 (512 bit key, 1024 byte blocks): 52298 > operations in 1 seconds (53553152 bytes) > [ 118.671236] tcrypt: test 10 (512 bit key, 1472 byte blocks): 35382 > operations in 1 seconds (52082304 bytes) > [ 119.674752] tcrypt: test 11 (512 bit key, 8192 byte blocks): 6715 > operations in 1 seconds (55009280 bytes) > [ 120.690195] tcrypt: > [ 120.690195] testing speed of async cts(cbc(aes)) (cts-cbc-aes-neon) > encryption > [ 120.693927] tcrypt: test 0 (128 bit key, 16 byte blocks): 1463922 > operations in 1 seconds (23422752 bytes) > [ 121.693576] tcrypt: test 1 (128 bit key, 64 byte blocks): 558509 > operations in 1 seconds (35744576 bytes) > [ 122.696941] tcrypt: test 2 (128 bit key, 256 byte blocks): 206901 > operations in 1 seconds (52966656 bytes) > [ 123.696534] tcrypt: test 3 (128 bit key, 1024 byte blocks): 59201 > operations in 1 seconds (60621824 bytes) > [ 124.700019] tcrypt: test 4 (128 bit key, 1472 byte blocks): 41776 > operations in 1 seconds (61494272 bytes) > [ 125.703545] tcrypt: test 5 (128 bit key, 8192 byte blocks): 7668 > operations in 1 seconds (62816256 bytes) > [ 126.707049] tcrypt: test 6 (192 bit key, 16 byte blocks): 1364595 > operations in 1 seconds (21833520 bytes) > [ 127.706592] tcrypt: test 7 (192 bit key, 64 byte blocks): 503147 > operations in 1 seconds (32201408 bytes) > [ 128.710059] tcrypt: test 8 (192 bit key, 256 byte blocks): 177555 > operations in 1 seconds (45454080 bytes) > [ 129.709723] tcrypt: test 9 (192 bit key, 1024 byte blocks): 49679 > operations in 1 seconds (50871296 bytes) > [ 130.713290] tcrypt: test 10 (192 bit key, 1472 byte blocks): 34970 > operations in 1 seconds (51475840 bytes) > [ 131.716973] tcrypt: test 11 (192 bit key, 8192 byte blocks): 6367 > operations in 1 seconds (52158464 bytes) > [ 132.720614] tcrypt: test 12 (256 bit key, 16 byte blocks): 1283895 > operations in 1 seconds (20542320 bytes) > [ 133.724150] tcrypt: test 13 (256 bit key, 64 byte blocks): 457627 > operations in 1 seconds (29288128 bytes) > [ 134.727676] tcrypt: test 14 (256 bit key, 256 byte blocks): 156458 > operations in 1 seconds (40053248 bytes) > [ 135.731388] tcrypt: test 15 (256 bit key, 1024 byte blocks): 43053 > operations in 1 seconds (44086272 bytes) > [ 136.735034] tcrypt: test 16 (256 bit key, 1472 byte blocks): 30275 > operations in 1 seconds (44564800 bytes) > [ 137.738663] tcrypt: test 17 (256 bit key, 8192 byte blocks): 5544 > operations in 1 seconds (45416448 bytes) > [ 138.742355] tcrypt: > [ 138.742355] testing speed of async cts(cbc(aes)) (cts-cbc-aes-neon) > decryption > [ 138.751641] tcrypt: test 0 (128 bit key, 16 byte blocks): 1346320 > operations in 1 seconds (21541120 bytes) > [ 139.753869] tcrypt: test 1 (128 bit key, 64 byte blocks): 490910 > operations in 1 seconds (31418240 bytes) > [ 140.757441] tcrypt: test 2 (128 bit key, 256 byte blocks): 187922 > operations in 1 seconds (48108032 bytes) > [ 141.757206] tcrypt: test 3 (128 bit key, 1024 byte blocks): 54591 > operations in 1 seconds (55901184 bytes) > [ 142.760888] tcrypt: test 4 (128 bit key, 1472 byte blocks): 38584 > operations in 1 seconds (56795648 bytes) > [ 143.764589] tcrypt: test 5 (128 bit key, 8192 byte blocks): 7103 > operations in 1 seconds (58187776 bytes) > [ 144.768315] tcrypt: test 6 (192 bit key, 16 byte blocks): 1242700 > operations in 1 seconds (19883200 bytes) > [ 145.771971] tcrypt: test 7 (192 bit key, 64 byte blocks): 437461 > operations in 1 seconds (27997504 bytes) > [ 146.775577] tcrypt: test 8 (192 bit key, 256 byte blocks): 160197 > operations in 1 seconds (41010432 bytes) > [ 147.775393] tcrypt: test 9 (192 bit key, 1024 byte blocks): 45642 > operations in 1 seconds (46737408 bytes) > [ 148.779096] tcrypt: test 10 (192 bit key, 1472 byte blocks): 32063 > operations in 1 seconds (47196736 bytes) > [ 149.778946] tcrypt: test 11 (192 bit key, 8192 byte blocks): 5877 > operations in 1 seconds (48144384 bytes) > [ 150.782631] tcrypt: test 12 (256 bit key, 16 byte blocks): 1152081 > operations in 1 seconds (18433296 bytes) > [ 151.786402] tcrypt: test 13 (256 bit key, 64 byte blocks): 394347 > operations in 1 seconds (25238208 bytes) > [ 152.790040] tcrypt: test 14 (256 bit key, 256 byte blocks): 140441 > operations in 1 seconds (35952896 bytes) > [ 153.793884] tcrypt: test 15 (256 bit key, 1024 byte blocks): 39333 > operations in 1 seconds (40276992 bytes) > [ 154.797644] tcrypt: test 16 (256 bit key, 1472 byte blocks): 27695 > operations in 1 seconds (40767040 bytes) > [ 155.801405] tcrypt: test 17 (256 bit key, 8192 byte blocks): 5092 > operations in 1 seconds (41713664 bytes) > [ 156.817348] tcrypt: > [ 156.817348] testing speed of async ctr(aes) (ctr-aes-neonbs) encryption > [ 156.820477] tcrypt: test 0 (128 bit key, 16 byte blocks): 558004 > operations in 1 seconds (8928064 bytes) > [ 157.820655] tcrypt: test 1 (128 bit key, 64 byte blocks): 552378 > operations in 1 seconds (35352192 bytes) > [ 158.820516] tcrypt: test 2 (128 bit key, 256 byte blocks): 301788 > operations in 1 seconds (77257728 bytes) > [ 159.820378] tcrypt: test 3 (128 bit key, 1024 byte blocks): 82386 > operations in 1 seconds (84363264 bytes) > [ 160.820178] tcrypt: test 4 (128 bit key, 1472 byte blocks): 55748 > operations in 1 seconds (82061056 bytes) > [ 161.823966] tcrypt: test 5 (128 bit key, 8192 byte blocks): 10456 > operations in 1 seconds (85655552 bytes) > [ 162.827802] tcrypt: test 6 (192 bit key, 16 byte blocks): 487469 > operations in 1 seconds (7799504 bytes) > [ 163.831366] tcrypt: test 7 (192 bit key, 64 byte blocks): 481048 > operations in 1 seconds (30787072 bytes) > [ 164.831245] tcrypt: test 8 (192 bit key, 256 byte blocks): 259173 > operations in 1 seconds (66348288 bytes) > [ 165.831132] tcrypt: test 9 (192 bit key, 1024 byte blocks): 69847 > operations in 1 seconds (71523328 bytes) > [ 166.830942] tcrypt: test 10 (192 bit key, 1472 byte blocks): 47193 > operations in 1 seconds (69468096 bytes) > [ 167.834846] tcrypt: test 11 (192 bit key, 8192 byte blocks): 8846 > operations in 1 seconds (72466432 bytes) > [ 168.838559] tcrypt: test 12 (256 bit key, 16 byte blocks): 431442 > operations in 1 seconds (6903072 bytes) > [ 169.842284] tcrypt: test 13 (256 bit key, 64 byte blocks): 426738 > operations in 1 seconds (27311232 bytes) > [ 170.842187] tcrypt: test 14 (256 bit key, 256 byte blocks): 228219 > operations in 1 seconds (58424064 bytes) > [ 171.842107] tcrypt: test 15 (256 bit key, 1024 byte blocks): 61173 > operations in 1 seconds (62641152 bytes) > [ 172.845937] tcrypt: test 16 (256 bit key, 1472 byte blocks): 41113 > operations in 1 seconds (60518336 bytes) > [ 173.849750] tcrypt: test 17 (256 bit key, 8192 byte blocks): 7708 > operations in 1 seconds (63143936 bytes) > [ 174.853539] tcrypt: > [ 174.853539] testing speed of async ctr(aes) (ctr-aes-neonbs) decryption > [ 174.862225] tcrypt: test 0 (128 bit key, 16 byte blocks): 559705 > operations in 1 seconds (8955280 bytes) > [ 175.865147] tcrypt: test 1 (128 bit key, 64 byte blocks): 552547 > operations in 1 seconds (35363008 bytes) > [ 176.865060] tcrypt: test 2 (128 bit key, 256 byte blocks): 301757 > operations in 1 seconds (77249792 bytes) > [ 177.864991] tcrypt: test 3 (128 bit key, 1024 byte blocks): 82715 > operations in 1 seconds (84700160 bytes) > [ 178.868853] tcrypt: test 4 (128 bit key, 1472 byte blocks): 55752 > operations in 1 seconds (82066944 bytes) > [ 179.872675] tcrypt: test 5 (128 bit key, 8192 byte blocks): 10456 > operations in 1 seconds (85655552 bytes) > [ 180.876570] tcrypt: test 6 (192 bit key, 16 byte blocks): 487550 > operations in 1 seconds (7800800 bytes) > [ 181.880188] tcrypt: test 7 (192 bit key, 64 byte blocks): 481235 > operations in 1 seconds (30799040 bytes) > [ 182.880127] tcrypt: test 8 (192 bit key, 256 byte blocks): 259126 > operations in 1 seconds (66336256 bytes) > [ 183.880073] tcrypt: test 9 (192 bit key, 1024 byte blocks): 70129 > operations in 1 seconds (71812096 bytes) > [ 184.883927] tcrypt: test 10 (192 bit key, 1472 byte blocks): 47194 > operations in 1 seconds (69469568 bytes) > [ 185.887877] tcrypt: test 11 (192 bit key, 8192 byte blocks): 8844 > operations in 1 seconds (72450048 bytes) > [ 186.891622] tcrypt: test 12 (256 bit key, 16 byte blocks): 431432 > operations in 1 seconds (6902912 bytes) > [ 187.895391] tcrypt: test 13 (256 bit key, 64 byte blocks): 426730 > operations in 1 seconds (27310720 bytes) > [ 188.895339] tcrypt: test 14 (256 bit key, 256 byte blocks): 229104 > operations in 1 seconds (58650624 bytes) > [ 189.899295] tcrypt: test 15 (256 bit key, 1024 byte blocks): 61172 > operations in 1 seconds (62640128 bytes) > [ 190.903168] tcrypt: test 16 (256 bit key, 1472 byte blocks): 41112 > operations in 1 seconds (60516864 bytes) > [ 191.907041] tcrypt: test 17 (256 bit key, 8192 byte blocks): 7708 > operations in 1 seconds (63143936 bytes) > [ 192.922753] tcrypt: failed to load transform for cfb(aes): -2 > [ 192.934617] tcrypt: failed to load transform for cfb(aes): -2 > [ 192.946539] tcrypt: failed to load transform for ofb(aes): -2 > [ 192.958443] tcrypt: failed to load transform for ofb(aes): -2 > [ 192.988254] tcrypt: > [ 192.988254] testing speed of async rfc3686(ctr(aes)) > (rfc3686(ctr-aes-neonbs)) encryption > [ 192.992959] tcrypt: test 0 (160 bit key, 16 byte blocks): 530041 > operations in 1 seconds (8480656 bytes) > [ 193.994478] tcrypt: test 1 (160 bit key, 64 byte blocks): 522344 > operations in 1 seconds (33430016 bytes) > [ 194.994434] tcrypt: test 2 (160 bit key, 256 byte blocks): 287702 > operations in 1 seconds (73651712 bytes) > [ 195.994407] tcrypt: test 3 (160 bit key, 1024 byte blocks): 79702 > operations in 1 seconds (81614848 bytes) > [ 196.998278] tcrypt: test 4 (160 bit key, 1472 byte blocks): 53817 > operations in 1 seconds (79218624 bytes) > [ 198.002158] tcrypt: test 5 (160 bit key, 8192 byte blocks): 10108 > operations in 1 seconds (82804736 bytes) > [ 199.006049] tcrypt: test 6 (224 bit key, 16 byte blocks): 464064 > operations in 1 seconds (7425024 bytes) > [ 200.009707] tcrypt: test 7 (224 bit key, 64 byte blocks): 457134 > operations in 1 seconds (29256576 bytes) > [ 201.009682] tcrypt: test 8 (224 bit key, 256 byte blocks): 248692 > operations in 1 seconds (63665152 bytes) > [ 202.009639] tcrypt: test 9 (224 bit key, 1024 byte blocks): 67920 > operations in 1 seconds (69550080 bytes) > [ 203.013518] tcrypt: test 10 (224 bit key, 1472 byte blocks): 45775 > operations in 1 seconds (67380800 bytes) > [ 204.017482] tcrypt: test 11 (224 bit key, 8192 byte blocks): 8592 > operations in 1 seconds (70385664 bytes) > [ 205.021339] tcrypt: test 12 (288 bit key, 16 byte blocks): 411989 > operations in 1 seconds (6591824 bytes) > [ 206.025076] tcrypt: test 13 (288 bit key, 64 byte blocks): 406336 > operations in 1 seconds (26005504 bytes) > [ 207.025055] tcrypt: test 14 (288 bit key, 256 byte blocks): 219800 > operations in 1 seconds (56268800 bytes) > [ 208.029027] tcrypt: test 15 (288 bit key, 1024 byte blocks): 59172 > operations in 1 seconds (60592128 bytes) > [ 209.032912] tcrypt: test 16 (288 bit key, 1472 byte blocks): 39815 > operations in 1 seconds (58607680 bytes) > [ 210.036794] tcrypt: test 17 (288 bit key, 8192 byte blocks): 7473 > operations in 1 seconds (61218816 bytes) > [ 211.040655] tcrypt: > [ 211.040655] testing speed of async rfc3686(ctr(aes)) > (rfc3686(ctr-aes-neonbs)) decryption > [ 211.050885] tcrypt: test 0 (160 bit key, 16 byte blocks): 530361 > operations in 1 seconds (8485776 bytes) > [ 212.052309] tcrypt: test 1 (160 bit key, 64 byte blocks): 522226 > operations in 1 seconds (33422464 bytes) > [ 213.052282] tcrypt: test 2 (160 bit key, 256 byte blocks): 287970 > operations in 1 seconds (73720320 bytes) > [ 214.052242] tcrypt: test 3 (160 bit key, 1024 byte blocks): 79406 > operations in 1 seconds (81311744 bytes) > [ 215.052137] tcrypt: test 4 (160 bit key, 1472 byte blocks): 53819 > operations in 1 seconds (79221568 bytes) > [ 216.056044] tcrypt: test 5 (160 bit key, 8192 byte blocks): 10107 > operations in 1 seconds (82796544 bytes) > [ 217.060020] tcrypt: test 6 (224 bit key, 16 byte blocks): 464394 > operations in 1 seconds (7430304 bytes) > [ 218.063644] tcrypt: test 7 (224 bit key, 64 byte blocks): 457574 > operations in 1 seconds (29284736 bytes) > [ 219.063618] tcrypt: test 8 (224 bit key, 256 byte blocks): 248820 > operations in 1 seconds (63697920 bytes) > [ 220.063607] tcrypt: test 9 (224 bit key, 1024 byte blocks): 67826 > operations in 1 seconds (69453824 bytes) > [ 221.067506] tcrypt: test 10 (224 bit key, 1472 byte blocks): 45696 > operations in 1 seconds (67264512 bytes) > [ 222.071489] tcrypt: test 11 (224 bit key, 8192 byte blocks): 8577 > operations in 1 seconds (70262784 bytes) > [ 223.075372] tcrypt: test 12 (288 bit key, 16 byte blocks): 411815 > operations in 1 seconds (6589040 bytes) > [ 224.079104] tcrypt: test 13 (288 bit key, 64 byte blocks): 406618 > operations in 1 seconds (26023552 bytes) > [ 225.079084] tcrypt: test 14 (288 bit key, 256 byte blocks): 219788 > operations in 1 seconds (56265728 bytes) > [ 226.083072] tcrypt: test 15 (288 bit key, 1024 byte blocks): 59164 > operations in 1 seconds (60583936 bytes) > [ 227.086970] tcrypt: test 16 (288 bit key, 1472 byte blocks): > [ 227.429947] audit: type=1006 audit(1576066039.080:23): pid=384 > uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 > ses=3 res=1 > [ 228.086797] 39701 operations in 1 seconds (58439872 bytes) > [ 228.086826] tcrypt: test 17 (288 bit key, 8192 byte blocks): 7470 > operations in 1 seconds (61194240 bytes) > modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable > > -Anand