mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +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
|
|
@ -83,6 +83,7 @@ int xtea_crypt_ecb( xtea_context *ctx,
|
|||
const unsigned char input[8],
|
||||
unsigned char output[8] );
|
||||
|
||||
#if defined(POLARSSL_CIPHER_MODE_CBC)
|
||||
/**
|
||||
* \brief XTEA CBC cipher function
|
||||
*
|
||||
|
|
@ -102,6 +103,7 @@ int xtea_crypt_cbc( xtea_context *ctx,
|
|||
unsigned char iv[8],
|
||||
const unsigned char *input,
|
||||
unsigned char *output);
|
||||
#endif /* POLARSSL_CIPHER_MODE_CBC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue