ARM-Crypto-Lib/en
Aus LaborWiki
Eine deutsche Version dieses Artikels ist unter ARM-Crypto-Lib verfügbar.
This site is about the ARM-Crypto-Lib which is just in development.
Due to the currently ongoing process of setting up a repository, the code is currently not public available.
Currently the hash functions of the AVR-Crypto-Lib/en are implemented (excluding Twister).
This library will next be extended by all the C-implementations from AVR-Crypto-Lib, and optimized assembly implementations will follow.
Where can I find it?[Bearbeiten | Quelltext bearbeiten]
repository[Bearbeiten | Quelltext bearbeiten]
git: git clone http://git.cryptolib.org/arm-crypto-lib.git
via Trac:https://trac.cryptolib.org/arm-crypto-lib/browser
Available implementations[Bearbeiten | Quelltext bearbeiten]
Hashes[Bearbeiten | Quelltext bearbeiten]
- Blake
- BlueMidnightWish
- CubeHash
- Echo
- Grøstl
- Keccak
- MD5
- SHA-256
- SHA-1
- Shabal
- Skein
Facts regarding the implementations[Bearbeiten | Quelltext bearbeiten]
The following figures are based on measurement on the Cortex-M3 platform.
Hashes[Bearbeiten | Quelltext bearbeiten]
Name | Variant | Language | Size (Flash) (Bytes) | Size (Context) (Bytes) | Size (Stack) (Bytes) | Hashsize (Bits) | Blockize (Bits) | Cycles (Initialisation) | Cycles (per block) | Cycles (per byte) | Cycles (Finalisation) | Attacs | Paper | License / Patents |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Blake-28 | C | C | 1700 | 56 | 224 | 512 | 67 | 7396 | 115.56 | 7675 | ||||
Blake-32 | C | C | 2308 | 56 | 256 | 512 | 106 | 7455 | 116.48 | 7788 | ||||
Blake-48 | C | C | 1700 | 104 | 384 | 1024 | 108 | 23514 | 183.70 | 23815 | ||||
Blake-64 | C | C | 2308 | 104 | 512 | 1024 | 147 | 23572 | 184.16 | 23949 | ||||
BlueMidnightWish-224 | speed | C | 5696 | 68 | 224 | 512 | 104 | 1499 | 23.42 | 3646 | ||||
BlueMidnightWish-224 | C | C | 2728 | 68 | 224 | 512 | 104 | 3761 | 58.77 | 8063 | ||||
BlueMidnightWish-256 | speed | C | 5696 | 68 | 256 | 512 | 142 | 1536 | 24.00 | 3691 | ||||
BlueMidnightWish-256 | C | C | 2728 | 68 | 256 | 512 | 142 | 3804 | 59.44 | 8071 | ||||
BlueMidnightWish-384 | speed | C | 0 | 132 | 384 | 1024 | 223 | 7215 | 56.37 | 15201 | ||||
BlueMidnightWish-384 | C | C | 4343 | 132 | 384 | 1024 | 223 | 17012 | 132.91 | 34614 | ||||
BlueMidnightWish-512 | speed | C | 0 | 132 | 512 | 1024 | 261 | 7253 | 56.66 | 15292 | ||||
BlueMidnightWish-512 | C | C | 4343 | 132 | 512 | 1024 | 261 | 17050 | 133.20 | 34700 | ||||
CubeHash-224 | C | C | 716 | 132 | 224 | 256 | 135322 | 13916 | 434.88 | 149878 | ||||
CubeHash-256 | C | C | 716 | 132 | 256 | 256 | 135383 | 13954 | 436.06 | 149932 | ||||
CubeHash-384 | C | C | 716 | 132 | 384 | 256 | 135349 | 13916 | 434.88 | 149871 | ||||
CubeHash-512 | C | C | 716 | 132 | 512 | 256 | 135383 | 13954 | 436.06 | 149962 | ||||
ECHO-224 | C | C | 1780 | 92 | 224 | 1536 | 105 | 358602 | 1867.72 | 357718 | ||||
ECHO-256 | C | C | 1780 | 92 | 256 | 1536 | 143 | 358675 | 1868.10 | 357857 | ||||
ECHO-384 | C | C | 1780 | 156 | 384 | 1024 | 187 | 446033 | 3484.63 | 445630 | ||||
ECHO-512 | C | C | 1780 | 156 | 512 | 1024 | 230 | 446114 | 3485.27 | 445597 | ||||
Groestl-224 | C | C | 1464 | 68 | 224 | 512 | 92 | 490728 | 7667.62 | 732389 | ||||
Groestl-256 | C | C | 1464 | 68 | 256 | 512 | 130 | 490707 | 7667.30 | 733674 | ||||
Groestl-384 | C | C | 1512 | 132 | 384 | 1024 | 131 | 1370044 | 10703.47 | 2052916 | ||||
Groestl-512 | C | C | 1512 | 132 | 512 | 1024 | 167 | 1370010 | 10703.20 | 2053946 | ||||
Keccak-224 | C | C | 1633 | 208 | 224 | 1152 | 211 | 89425 | 621.01 | 89561 | ||||
Keccak-256 | C | C | 1633 | 208 | 256 | 1088 | 249 | 89379 | 657.20 | 89540 | ||||
Keccak-384 | C | C | 1633 | 208 | 384 | 832 | 211 | 88992 | 855.69 | 89109 | ||||
Keccak-512 | C | C | 1633 | 208 | 512 | 576 | 249 | 88675 | 1231.60 | 88830 | ||||
SHA-1 | C | C | 940 | 28 | 160 | 512 | 17 | 22255 | 347.73 | 22530 | ||||
SHA-256 | C | C | 1132 | 40 | 256 | 512 | 31 | 24598 | 384.34 | 25246 | ||||
Shabal-192 | C | C | 984 | 192 | 192 | 512 | 469 | 5060 | 79.06 | 19323 | ||||
Shabal-224 | C | C | 984 | 192 | 224 | 512 | 507 | 5099 | 79.67 | 19428 | ||||
Shabal-256 | C | C | 984 | 192 | 256 | 512 | 469 | 5060 | 79.06 | 19332 | ||||
Shabal-384 | C | C | 984 | 192 | 384 | 512 | 507 | 5098 | 79.66 | 19403 | ||||
Shabal-512 | C | C | 984 | 192 | 512 | 512 | 469 | 5060 | 79.06 | 19342 | ||||
Skein-1024-1024 | C | C | 1972 | 148 | 1024 | 1024 | 65837 | 65970 | 515.39 | 130128 | ||||
Skein-1024-128 | C | C | 1972 | 148 | 128 | 1024 | 65834 | 65970 | 515.39 | 130002 | ||||
Skein-1024-160 | C | C | 1972 | 148 | 160 | 1024 | 65817 | 65980 | 515.47 | 129923 | ||||
Skein-1024-224 | C | C | 1972 | 148 | 224 | 1024 | 65852 | 66018 | 515.77 | 130015 | ||||
Skein-1024-256 | C | C | 1972 | 148 | 256 | 1024 | 65799 | 65932 | 515.09 | 129944 | ||||
Skein-1024-384 | C | C | 1972 | 148 | 384 | 1024 | 65834 | 65970 | 515.39 | 130038 | ||||
Skein-1024-512 | C | C | 1972 | 148 | 512 | 1024 | 65799 | 65932 | 515.09 | 129980 | ||||
Skein-256-128 | C | C | 1600 | 52 | 128 | 256 | 15769 | 15412 | 481.62 | 30564 | ||||
Skein-256-160 | C | C | 1600 | 52 | 160 | 256 | 15802 | 15457 | 483.03 | 30672 | ||||
Skein-256-224 | C | C | 1600 | 52 | 224 | 256 | 15764 | 15399 | 481.22 | 30593 | ||||
Skein-256-256 | C | C | 1600 | 52 | 256 | 256 | 15786 | 15429 | 482.16 | 30697 | ||||
Skein-256-384 | C | C | 1600 | 52 | 384 | 256 | 15748 | 15391 | 480.97 | 45965 | ||||
Skein-256-512 | C | C | 1600 | 52 | 512 | 256 | 15786 | 15429 | 482.16 | 46055 | ||||
Skein-512-1024 | C | C | 1672 | 84 | 1024 | 512 | 30102 | 29783 | 465.36 | 88436 | ||||
Skein-512-128 | C | C | 1672 | 84 | 128 | 512 | 30102 | 29782 | 465.34 | 58761 | ||||
Skein-512-160 | C | C | 1672 | 84 | 160 | 512 | 30156 | 29853 | 466.45 | 58836 | ||||
Skein-512-224 | C | C | 1672 | 84 | 224 | 512 | 30118 | 29816 | 465.88 | 58776 | ||||
Skein-512-256 | C | C | 1672 | 84 | 256 | 512 | 30140 | 29819 | 465.92 | 58855 | ||||
Skein-512-384 | C | C | 1672 | 84 | 384 | 512 | 30102 | 29782 | 465.34 | 58797 | ||||
Skein-512-512 | C | C | 1672 | 84 | 512 | 512 | 30140 | 29819 | 465.92 | 58891 |