Re: AES Encryption Took Too Long on Arm64 Embedded Machine

Arik Agazarian <[email protected]> Sat, 4 Nov 2023 19:19:21 +0100
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <CAOLESwm4LQH9Ru=c6Q21-k3hz2QTf4Bt9ajBiE09hiHVx6Ob_A@mail.gmail.com>
--000000000000a8f62c060957a972
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

We Need wallet address of 7 months for clean transactions, traceable on
Blockchain,
Ratio 45%/45%/10%
Sender/Reciever/Mandate
Telegram sender: @Arik_loader


On Thu, Nov 2, 2023, 7:25 PM Catherine Issabel <[email protected]>
wrote:

>
> $500 million dollars available only for good and trusted receiver or
> mandate
> Kindly contact the sender for more information:+1 (336) 345-9681
> On Friday, May 12, 2023 at 7:09:38=E2=80=AFPM UTC+1 Jeffrey Walton wrote:
>
>> On Fri, May 12, 2023 at 1:09=E2=80=AFPM Dwight Kulkarni <dwi...@realtime=
-7.com>
>> wrote:
>> >
>> > Update: It seems to be an issue with CFB mode. If I switch to ECB: 12
>> ms to process the workload.
>> >
>> > in encrypt aes
>> > Encrypted 1at: 05/12/2023 17:06:54.838
>> > Encrypted 2at: 05/12/2023 17:06:54.838
>> > Encrypted 3at: 05/12/2023 17:06:54.838
>> > returning cipher
>> > Encrypted 4at: 05/12/2023 17:06:54.850
>>
>> Yeah, CFB mode is a hard mode in software. The software is effectively
>> providing a linear feedback shift register, and it does a lot of
>> [non-accelerated] bit twiddling. That's why it needs 4+ cycles to
>> process a byte.
>>
>> I think you would have better results with GCM mode. First, GCM mode
>> is an authenticated encryption mode, so you get authenticity
>> assurances over the ciphertext. Second, you get hardware acceleration
>> with both the bulk cipher encryption (AES), and the mac over the
>> ciphertext (GMAC).
>>
>> Also see https://www.cryptopp.com/wiki/Authenticated_Encryption .
>>
>> Jeff
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cryptopp-users/3bd37ee9-859d-41f2-841a-=
9b5cf32e14dcn%40googlegroups.com
> <https://groups.google.com/d/msgid/cryptopp-users/3bd37ee9-859d-41f2-841a=
-9b5cf32e14dcn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
> .
>

--=20
You received this message because you are subscribed to the Google Groups "=
Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
cryptopp-users/CAOLESwm4LQH9Ru%3Dc6Q21-k3hz2QTf4Bt9ajBiE09hiHVx6Ob_A%40mail=
.gmail.com.

--000000000000a8f62c060957a972
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto">We Need wallet address of 7 months for =
clean transactions, traceable on Blockchain,=C2=A0</div><div dir=3D"auto">R=
atio 45%/45%/10%</div><div dir=3D"auto">Sender/Reciever/Mandate</div><div d=
ir=3D"auto">Telegram sender: @Arik_loader</div><div dir=3D"auto"><br></div>=
</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=
On Thu, Nov 2, 2023, 7:25 PM Catherine Issabel &lt;<a href=3D"mailto:issabe=
[email protected]">[email protected]</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><br>$500 million dollars available only for go=
od and trusted receiver or mandate <br>Kindly contact the sender for more i=
nformation:+1 (336) 345-9681<br><div class=3D"gmail_quote"><div dir=3D"auto=
" class=3D"gmail_attr">On Friday, May 12, 2023 at 7:09:38=E2=80=AFPM UTC+1 =
Jeffrey Walton wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
On Fri, May 12, 2023 at 1:09=E2=80=AFPM Dwight Kulkarni &lt;<a rel=3D"nofol=
low noreferrer">[email protected]</a>&gt; wrote:
<br>&gt;
<br>&gt; Update: It seems to be an issue with CFB mode. If I switch to ECB:=
 12 ms to process the workload.
<br>&gt;
<br>&gt;  in encrypt aes
<br>&gt;  Encrypted 1at: 05/12/2023 17:06:54.838
<br>&gt;  Encrypted 2at: 05/12/2023 17:06:54.838
<br>&gt;  Encrypted 3at: 05/12/2023 17:06:54.838
<br>&gt;  returning cipher
<br>&gt;  Encrypted 4at: 05/12/2023 17:06:54.850
<br>
<br>Yeah, CFB mode is a hard mode in software. The software is effectively
<br>providing a linear feedback shift register, and it does a lot of
<br>[non-accelerated] bit twiddling. That&#39;s why it needs 4+ cycles to
<br>process a byte.
<br>
<br>I think you would have better results with GCM mode. First, GCM mode
<br>is an authenticated encryption mode, so you get authenticity
<br>assurances over the ciphertext. Second, you get hardware acceleration
<br>with both the bulk cipher encryption (AES), and the mac over the
<br>ciphertext (GMAC).
<br>
<br>Also see <a href=3D"https://www.cryptopp.com/wiki/Authenticated_Encrypt=
ion" rel=3D"nofollow noreferrer" target=3D"_blank">https://www.cryptopp.com=
/wiki/Authenticated_Encryption</a> .
<br>
<br>Jeff
<br></blockquote></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Crypto++ Users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]" targ=
et=3D"_blank" rel=3D"noreferrer">[email protected]=
m</a>.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/cryptopp-users/3bd37ee9-859d-41f2-841a-9b5cf32e14dcn%40googlegro=
ups.com?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" rel=
=3D"noreferrer">https://groups.google.com/d/msgid/cryptopp-users/3bd37ee9-8=
59d-41f2-841a-9b5cf32e14dcn%40googlegroups.com</a>.<br>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Crypto++ Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">cryp=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/cryptopp-users/CAOLESwm4LQH9Ru%3Dc6Q21-k3hz2QTf4Bt9ajBiE09hiHVx6=
Ob_A%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://group=
s.google.com/d/msgid/cryptopp-users/CAOLESwm4LQH9Ru%3Dc6Q21-k3hz2QTf4Bt9ajB=
iE09hiHVx6Ob_A%40mail.gmail.com</a>.<br />

--000000000000a8f62c060957a972--