linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gleb Pomykalov <gleb@lancastr.com>
To: Stephan Mueller <smueller@chronox.de>
Cc: linux-crypto@vger.kernel.org
Subject: Re: EIP97 kernel failure with af_alg/libaio
Date: Thu, 17 Oct 2019 01:51:02 +0300	[thread overview]
Message-ID: <CALbZx5UV=F61-Rtm_WUGutqY5X=3CLF=9x8cTG08K+WboCZYTQ@mail.gmail.com> (raw)
In-Reply-To: <12396681.Xx2HXIOQZG@tauon.chronox.de>

Hi Stephan,

Please take a look at this repository
https://github.com/glebpom/rust-crypto-api/tree/mediatek-test
The rust code is in examples/test.rs. This is a simple test, which
runs 4 parallel AF_ALG encryptions through libaio with different block
sizes: 4096 and 8192 bytes.
You can build the code for ARMv7 (via docker) by running ./build.sh

Regards,
Gleb

On Mon, Oct 14, 2019 at 8:41 AM Stephan Mueller <smueller@chronox.de> wrote:
>
> Am Sonntag, 13. Oktober 2019, 10:49:07 CEST schrieb Gleb Pomykalov:
>
> Hi Gleb,
>
> > Hello,
> >
> > I'm trying to make EIP97 work on Mediatek mtk7623n (Banana PI R2). The
> > kernel version is 4.14.145. My tests uses af_alg in libaio mode, and
> > encrypts the data. For smaller blocks it works just fine, but if I
> > increase the size I'm getting the kernel error (it fails on 8k block
> > and larger, 4k works fine):
> >
>
> Can you please send the exact invocation sequence? The backtrace initially
> does not hint to any AF_ALG-specific issue.
>
> Ciao
> Stephan
>
>

      reply	other threads:[~2019-10-16 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-13  8:49 EIP97 kernel failure with af_alg/libaio Gleb Pomykalov
2019-10-14  5:41 ` Stephan Mueller
2019-10-16 22:51   ` Gleb Pomykalov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALbZx5UV=F61-Rtm_WUGutqY5X=3CLF=9x8cTG08K+WboCZYTQ@mail.gmail.com' \
    --to=gleb@lancastr.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=smueller@chronox.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).