mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 18:38:32 +00:00
Add OFB as additional block mode
Following rebasing on the development branch which introduced the ARIA cipher, OFB was missing as a block mode from some cipher tables.
This commit is contained in:
parent
cb2c935a54
commit
4844bf2b5c
1 changed files with 9 additions and 0 deletions
|
@ -968,6 +968,9 @@ static const mbedtls_cipher_base_t aria_info = {
|
|||
#if defined(MBEDTLS_CIPHER_MODE_CFB)
|
||||
aria_crypt_cfb128_wrap,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_CTR)
|
||||
aria_crypt_ctr_wrap,
|
||||
#endif
|
||||
|
@ -1135,6 +1138,9 @@ static const mbedtls_cipher_base_t gcm_aria_info = {
|
|||
#if defined(MBEDTLS_CIPHER_MODE_CFB)
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_CTR)
|
||||
NULL,
|
||||
#endif
|
||||
|
@ -1764,6 +1770,9 @@ static const mbedtls_cipher_base_t null_base_info = {
|
|||
#if defined(MBEDTLS_CIPHER_MODE_CFB)
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||
NULL,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_CTR)
|
||||
NULL,
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue