Skip to content

Commit

Permalink
add GOST R 34.12-2015 endianess fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrystu committed Jun 12, 2020
1 parent 68c3f0b commit 3ad62da
Show file tree
Hide file tree
Showing 18 changed files with 1,085 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ You can find configuration parameters in the following tables. Defaults marked *
|DFU_CIPHER_ARC4 | Rivest RC-4 | Stream | 128 | N/A | Unsafe |
|DFU_CIPHER_CHACHA | RFC7539-CHACHA20 | Stream | 256 | 96 | |
|DFU_CIPHER_CHACHA_A | RFC7539-CHACHA20 | Stream | 256 | 96 | THUMB ASM version |
|DFU_CIPHER_GOST | GOST R 34.12-2015 MAGMA | 64 | 256 | 64 | treat data as LE32 |
|DFU_CIPHER_GOST | GOST R 34.12-2015 MAGMA | 64 | 256 | 64 | treat data as LE64 |
|DFU_CIPHER_MAGMA | GOST R 34.12-2015 MAGMA | 64 | 256 | 64 | |
|DFU_CIPHER_RAIDEN | RAIDEN | 64 | 128 | 64 | |
|DFU_CIPHER_RC5 | Rivest RC5-32/12/128 | 64 | 128 | 64 | |
|DFU_CIPHER_RC5_A | Rivest RC5-32/12/128 | 64 | 128 | 64 | THUMB ASM version |
|DFU_CIPHER_SPECK | SPECK 64/128 | 64 | 128 | 64 | |
|DFU_CIPHER_XTEA | XTEA | 64 | 128 | 64 | treat data as LE64 |
|DFU_CIPHER_XTEA1 | XTEA-1 | 64 | 128 | 64 | treat data as LE64 |
|DFU_CIPHER_XTEA | XTEA | 64 | 128 | 64 | treat data as LE32 |
|DFU_CIPHER_XTEA1 | XTEA-1 | 64 | 128 | 64 | treat data as LE32 |
|DFU_CIPHER_BLOWFISH | Blowfish | 64 | 256 | 64 | Uses xorshift instead PI |
|DFU_CIPHER_RTEA | Ruptor's TEA or Repaired TEA | 64 | 256 | 64 | |
|DFU_CIPHER_RC6 | Rivest RC6-32/20/16 | 128 | 128 | 128 | |
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ LDPARAMS ?= ROMLEN=64K RAMLEN=8K
#sources
CRYPT_SRC = src/arc4.c src/chacha.c src/gost.c src/raiden.c src/rc5.c src/speck.c
CRYPT_SRC += src/xtea.c src/xtea1.c src/blowfish.c src/rtea.c src/rc6.c src/rijndael.c
CRYPT_SRC += src/magma.c
CRYPT_SRC += src/checksum.c src/crypto.c

FW_SRC = $(CRYPT_SRC) $(FWSTARTUP) src/descriptors.c src/bootloader.c src/rc5a.S src/chacha_a.S src/rc6a.S
Expand Down
1 change: 1 addition & 0 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#define DFU_CIPHER_RC6 22 /* Rivest RC6-32/20/128 block cipher */
#define DFU_CIPHER_RC6_A 23 /* Rivest RC6-32/20/128 block cipher (ASM)*/
#define DFU_CIPHER_RIJNDAEL 24 /* Rinjdael AES-128 block cipher */
#define DFU_CIPHER_MAGMA 25 /* GOST R 34.12-2015 "MAGMA" (Endianess fixed) block cipher */
/** Modes for using with block cipher */
#define DFU_CIPHER_ECB 0 /* Electronic Codebook (ECB) */
#define DFU_CIPHER_CBC 1 /* Cipher Block Chaining (CBC) */
Expand Down
45 changes: 45 additions & 0 deletions inc/magma.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* This file is the part of the STM32 secure bootloader
*
* GOST R 34.12-2015 "MAGMA" block cipher implementation based on
* official GOST R 34.12-2015 national standard of the Russian Federation
*
* Copyright ©2016 Dmitry Filimonchuk <dmitrystu[at]gmail[dot]com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef _MAGMA_H_
#define _MAGMA_H_
#if defined(__cplusplus)
extern "C" {
#endif

/** @brief Initialize GOST R 34.12-2015 "MAGMA" 64-bit block cipher
* @param key pointer to array contains 256-bit key
*/
void magma_init(const void* key);

/** @brief Encrypt 64-bit block
* @param out cipher output
* @param in cipher input
*/
void magma_encrypt(uint32_t *out, const uint32_t *in);

/** @brief Decrypt 64-bit block
* @param out cipher output
* @param in cipher input
*/
void magma_decrypt(uint32_t *out, const uint32_t *in);

#if defined(__cplusplus)
}
#endif
#endif // _MAGMA_H_
9 changes: 9 additions & 0 deletions inc/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@
#define __ror32(a,b) (((a) >> ((b) & 0x1F)) | ((a) << (0x20 - ((b) & 0x1F))))
#define __rol32(a,b) (((a) << ((b) & 0x1F)) | ((a) >> (0x20 - ((b) & 0x1F))))

#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
#define CPUTOBE32(x) __builtin_bswap32(x)
#define BE32TOCPU(x) __builtin_bswap32(x)
#else
#define CPUTOBE32(x) (x)
#define BE32TOCPU(x) (x)
#endif


#endif /* _MISC_H_ */
42 changes: 42 additions & 0 deletions matrix/matrix_stm32f070xb.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,45 @@ arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | CRC64SMALL | 3964 | 124 | 700 | 4088 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A32 | 3916 | 124 | 700 | 4040 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A64 | 4012 | 124 | 700 | 4136 | 824 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | _DISABLE | 3628 | 124 | 380 | 3752 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32FAST | 3804 | 124 | 1404 | 3928 | 1528 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32SMALL | 3740 | 124 | 380 | 3864 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64FAST | 3836 | 124 | 2432 | 3960 | 2556 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64SMALL | 3772 | 124 | 380 | 3896 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A32 | 3724 | 124 | 380 | 3848 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A64 | 3820 | 124 | 380 | 3944 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | _DISABLE | 3716 | 124 | 388 | 3840 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32FAST | 3876 | 124 | 1412 | 4000 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32SMALL | 3812 | 124 | 388 | 3936 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64FAST | 3908 | 124 | 2440 | 4032 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64SMALL | 3844 | 124 | 388 | 3968 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A32 | 3796 | 124 | 388 | 3920 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A64 | 3892 | 124 | 388 | 4016 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | _DISABLE | 3732 | 124 | 388 | 3856 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32FAST | 3892 | 124 | 1412 | 4016 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32SMALL | 3828 | 124 | 388 | 3952 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64FAST | 3924 | 124 | 2440 | 4048 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64SMALL | 3860 | 124 | 388 | 3984 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A32 | 3812 | 124 | 388 | 3936 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A64 | 3908 | 124 | 388 | 4032 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | _DISABLE | 3668 | 124 | 388 | 3792 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32FAST | 3828 | 124 | 1412 | 3952 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32SMALL | 3764 | 124 | 388 | 3888 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64FAST | 3860 | 124 | 2440 | 3984 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64SMALL | 3796 | 124 | 388 | 3920 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A32 | 3748 | 124 | 388 | 3872 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A64 | 3844 | 124 | 388 | 3968 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | _DISABLE | 3668 | 124 | 388 | 3792 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32FAST | 3828 | 124 | 1412 | 3952 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32SMALL | 3764 | 124 | 388 | 3888 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64FAST | 3876 | 124 | 2440 | 4000 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64SMALL | 3796 | 124 | 388 | 3920 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A32 | 3748 | 124 | 388 | 3872 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A64 | 3844 | 124 | 388 | 3968 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | _DISABLE | 3588 | 124 | 388 | 3712 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32FAST | 3748 | 124 | 1412 | 3872 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32SMALL | 3684 | 124 | 388 | 3808 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64FAST | 3780 | 124 | 2440 | 3904 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64SMALL | 3716 | 124 | 388 | 3840 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A32 | 3668 | 124 | 388 | 3792 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A64 | 3764 | 124 | 388 | 3888 | 512 |
42 changes: 42 additions & 0 deletions matrix/matrix_stm32f103x8.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,45 @@ arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | CRC64SMALL | 3952 | 124 | 700 | 4076 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A32 | 3888 | 124 | 700 | 4012 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A64 | 3916 | 124 | 700 | 4040 | 824 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | _DISABLE | 3516 | 124 | 380 | 3640 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32FAST | 3692 | 124 | 1404 | 3816 | 1528 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32SMALL | 3620 | 124 | 380 | 3744 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64FAST | 3728 | 124 | 2432 | 3852 | 2556 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64SMALL | 3668 | 124 | 380 | 3792 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A32 | 3604 | 124 | 380 | 3728 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A64 | 3628 | 124 | 380 | 3752 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | _DISABLE | 3600 | 124 | 388 | 3724 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32FAST | 3776 | 124 | 1412 | 3900 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32SMALL | 3704 | 124 | 388 | 3828 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64FAST | 3812 | 124 | 2440 | 3936 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64SMALL | 3752 | 124 | 388 | 3876 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A32 | 3688 | 124 | 388 | 3812 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A64 | 3716 | 124 | 388 | 3840 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | _DISABLE | 3628 | 124 | 388 | 3752 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32FAST | 3804 | 124 | 1412 | 3928 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32SMALL | 3732 | 124 | 388 | 3856 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64FAST | 3840 | 124 | 2440 | 3964 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64SMALL | 3780 | 124 | 388 | 3904 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A32 | 3716 | 124 | 388 | 3840 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A64 | 3740 | 124 | 388 | 3864 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | _DISABLE | 3528 | 124 | 388 | 3652 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32FAST | 3704 | 124 | 1412 | 3828 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32SMALL | 3632 | 124 | 388 | 3756 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64FAST | 3740 | 124 | 2440 | 3864 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64SMALL | 3680 | 124 | 388 | 3804 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A32 | 3616 | 124 | 388 | 3740 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A64 | 3644 | 124 | 388 | 3768 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | _DISABLE | 3536 | 124 | 388 | 3660 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32FAST | 3712 | 124 | 1412 | 3836 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32SMALL | 3640 | 124 | 388 | 3764 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64FAST | 3748 | 124 | 2440 | 3872 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64SMALL | 3688 | 124 | 388 | 3812 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A32 | 3624 | 124 | 388 | 3748 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A64 | 3652 | 124 | 388 | 3776 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | _DISABLE | 3468 | 124 | 388 | 3592 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32FAST | 3644 | 124 | 1412 | 3768 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32SMALL | 3572 | 124 | 388 | 3696 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64FAST | 3680 | 124 | 2440 | 3804 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64SMALL | 3620 | 124 | 388 | 3744 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A32 | 3556 | 124 | 388 | 3680 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A64 | 3580 | 124 | 388 | 3704 | 512 |
42 changes: 42 additions & 0 deletions matrix/matrix_stm32f303xe.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,45 @@ arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | CRC64SMALL | 3948 | 124 | 700 | 4072 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A32 | 3884 | 124 | 700 | 4008 | 824 |
| DFU_CIPHER_RIJNDAEL | DFU_CIPHER_CTR | FNV1A64 | 3912 | 124 | 700 | 4036 | 824 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | _DISABLE | 3508 | 124 | 380 | 3632 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32FAST | 3688 | 124 | 1404 | 3812 | 1528 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC32SMALL | 3616 | 124 | 380 | 3740 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64FAST | 3724 | 124 | 2432 | 3848 | 2556 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | CRC64SMALL | 3664 | 124 | 380 | 3788 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A32 | 3600 | 124 | 380 | 3724 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_ECB | FNV1A64 | 3624 | 124 | 380 | 3748 | 504 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | _DISABLE | 3592 | 124 | 388 | 3716 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32FAST | 3772 | 124 | 1412 | 3896 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC32SMALL | 3700 | 124 | 388 | 3824 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64FAST | 3808 | 124 | 2440 | 3932 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | CRC64SMALL | 3748 | 124 | 388 | 3872 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A32 | 3684 | 124 | 388 | 3808 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CBC | FNV1A64 | 3712 | 124 | 388 | 3836 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | _DISABLE | 3620 | 124 | 388 | 3744 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32FAST | 3800 | 124 | 1412 | 3924 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC32SMALL | 3728 | 124 | 388 | 3852 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64FAST | 3836 | 124 | 2440 | 3960 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | CRC64SMALL | 3776 | 124 | 388 | 3900 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A32 | 3712 | 124 | 388 | 3836 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_PCBC | FNV1A64 | 3736 | 124 | 388 | 3860 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | _DISABLE | 3520 | 124 | 388 | 3644 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32FAST | 3700 | 124 | 1412 | 3824 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC32SMALL | 3628 | 124 | 388 | 3752 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64FAST | 3736 | 124 | 2440 | 3860 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | CRC64SMALL | 3676 | 124 | 388 | 3800 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A32 | 3612 | 124 | 388 | 3736 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CFB | FNV1A64 | 3640 | 124 | 388 | 3764 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | _DISABLE | 3528 | 124 | 388 | 3652 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32FAST | 3708 | 124 | 1412 | 3832 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC32SMALL | 3636 | 124 | 388 | 3760 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64FAST | 3744 | 124 | 2440 | 3868 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | CRC64SMALL | 3684 | 124 | 388 | 3808 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A32 | 3620 | 124 | 388 | 3744 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_OFB | FNV1A64 | 3648 | 124 | 388 | 3772 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | _DISABLE | 3460 | 124 | 388 | 3584 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32FAST | 3640 | 124 | 1412 | 3764 | 1536 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC32SMALL | 3568 | 124 | 388 | 3692 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64FAST | 3676 | 124 | 2440 | 3800 | 2564 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | CRC64SMALL | 3616 | 124 | 388 | 3740 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A32 | 3552 | 124 | 388 | 3676 | 512 |
| DFU_CIPHER_MAGMA | DFU_CIPHER_CTR | FNV1A64 | 3576 | 124 | 388 | 3700 | 512 |
Loading

0 comments on commit 3ad62da

Please sign in to comment.