1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-05 08:10:38 +03:00

Add cipher abstraction and test cases for OFB block mode

Adds OFB as additional block mode in the cipher abstraction, and additional
test cases for that block mode.
This commit is contained in:
Simon Butcher
2018-04-22 22:58:07 +01:00
parent 0301884f00
commit 8c0fd1e881
6 changed files with 218 additions and 1 deletions

View File

@@ -164,6 +164,9 @@ typedef enum {
MBEDTLS_CIPHER_ARIA_128_CCM, /**< Aria cipher with 128-bit key and CCM mode. */
MBEDTLS_CIPHER_ARIA_192_CCM, /**< Aria cipher with 192-bit key and CCM mode. */
MBEDTLS_CIPHER_ARIA_256_CCM, /**< Aria cipher with 256-bit key and CCM mode. */
MBEDTLS_CIPHER_AES_128_OFB,
MBEDTLS_CIPHER_AES_192_OFB,
MBEDTLS_CIPHER_AES_256_OFB
} mbedtls_cipher_type_t;
/** Supported cipher modes. */