[devel] áÐÐÁÒÁÔÎÙÊ AES É ÎÁÛ p7zip

Leonid Krivoshein klark.devel ÎÁ gmail.com
÷Ó áÐÒ 26 12:55:32 MSK 2020


22.04.2020 23:09, Andrey Cherepanov ÐÉÛÅÔ:
>
> cas ~ # lscpu | grep -ow aes
> aes
> cas ~ # 7z b -mm=AES256CBC:2
>
> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
> p7zip Version 16.02 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,64 
> bits,4 CPUs x64)
>
> x64
> CPU Freq: 64000000 - - 64000000 - - - - -
>
> RAM size:ššš 3833 MB,š # CPU hardware threads:šš 4
> RAM usage:ššš 882 MB,š # Benchmark threads:ššššš 4
>
> šššššššššššššššššššššš Compressingš | Decompressing
> Dictšššš Speed Usageššš R/U Ratingš |ššššš Speed Usage R/U Rating
> šššššššš KiB/sšššš %šš MIPSšš MIPSš |ššššš KiB/sšššš % MIPSšš MIPS
>
> 22:
>
>
> System ERROR:
> E_NOTIMPL
>
> # lsmod | grep aes
> aesni_intelšššššššššš 372736š 10
> crypto_simdššššššššššš 16384š 1 aesni_intel
> glue_helperššššššššššš 16384š 1 aesni_intel
>
> ëÔÏ ÍÏÖÅÔ ÐÏÑÓÎÉÔØ, ÐÏÞÅÍÕ Õ ÎÁÓ ÜÔÏÔ ÔÅÓÔ ÎÅ ÓÒÁÂÁÔÙ×ÁÅÔ?
>

ðÏ-ÍÏÅÍÕ, ÐÏÔÏÍÕ ÞÔÏ ÎÁÄÏ ÉÓÐÏÌØÚÏ×ÁÔØ ÔÒÅÔÉÊ, Á ÎÅ ×ÔÏÒÏÊ ÎÁ ÜÔÏÍ ÖÅÌÅÚÅ:

AES256CBC:1 - software AES
AES256CBC:2 - hardware AES-NI supported by most modern CPUs
AES256CBC:3 - hardware VAES (Vector AES) supported only by new Intel Ice 
Lake


$ 7z b -mm=AES256CBC:2

7-Zip [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=ru_RU.utf8,Utf16=on,HugeFiles=on,64 
bits,8 CPUs x64)

x64
CPU Freq:š 2542š 2781š 3024š 3280š 3380š 3377š 3373š 3359š 3173

RAM size:šš 32051 MB,š # CPU hardware threads:šš 8
RAM usage:šš 1701 MB,š # Benchmark threads:ššššš 8

 šššššššššššššššššššššš Compressingš |ššššššššššššššššš Decompressing
Dictšššš Speed Usageššš R/U Ratingš |ššššš Speed Usageššš R/U Rating
 šššššššš KiB/sšššš %šš MIPSšš MIPSš |ššššš KiB/sšššš %šš MIPSšš MIPS

22:


System ERROR:
E_NOTIMPL

$ 7z b -mm=AES256CBC:3

7-Zip [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=ru_RU.utf8,Utf16=on,HugeFiles=on,64 
bits,8 CPUs x64)

x64
CPU Freq:š 2533š 2776š 2996š 3313š 3296š 3370š 3364š 3326š 3295

RAM size:šš 32051 MB,š # CPU hardware threads:šš 8
RAM usage:šš 1701 MB,š # Benchmark threads:ššššš 8

 šššššššššššššššššššššš Compressingš |ššššššššššššššššš Decompressing
Dictšššš Speed Usageššš R/U Ratingš |ššššš Speed Usageššš R/U Rating
 šššššššš KiB/sšššš %šš MIPSšš MIPSš |ššššš KiB/sšššš %šš MIPSšš MIPS

22:šššš 920054šš 795šš 2842š 22611š |šššš 893816šš 783šš 2805š 21966
23:šššš 867794šš 796šš 2680š 21327š |šššš 857621šš 781šš 2699š 21077
24:šššš 819505šš 774šš 2603š 20140š |šššš 839577šš 786šš 2626š 20633
25:šššš 817169šš 783šš 2564š 20083š |šššš 837326šš 792šš 2597š 20578
----------------------------------š | ------------------------------
Avr:šššššššššššš 787šš 2672š 21040š |ššššššššššššš 786šš 2682š 21064
Tot:šššššššššššš 786šš 2677š 21052

$š lscpu | grep -ow aes
aes




-- 
Best regards,
Leonid Krivoshein.



ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Devel