mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Make CBC an option, step 3: individual ciphers
This commit is contained in:
parent
989ed38de2
commit
92cb1d3a91
21 changed files with 162 additions and 46 deletions
|
|
@ -111,6 +111,7 @@ int xtea_crypt_ecb( xtea_context *ctx, int mode,
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
#if defined(POLARSSL_CIPHER_MODE_CBC)
|
||||
/*
|
||||
* XTEA-CBC buffer encryption/decryption
|
||||
*/
|
||||
|
|
@ -159,6 +160,7 @@ int xtea_crypt_cbc( xtea_context *ctx, int mode, size_t length,
|
|||
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* POLARSSL_CIPHER_MODE_CBC */
|
||||
#endif /* !POLARSSL_XTEA_ALT */
|
||||
|
||||
#if defined(POLARSSL_SELF_TEST)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue