mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-04 21:56:21 +01:00
Rename cipher_init_ctx() to cipher_setup()
This commit is contained in:
parent
51f14be888
commit
8473f87984
11 changed files with 26 additions and 26 deletions
|
|
@ -320,7 +320,7 @@ void mbedtls_cipher_free( mbedtls_cipher_context_t *ctx );
|
|||
* MBEDTLS_ERR_CIPHER_ALLOC_FAILED if allocation of the
|
||||
* cipher-specific context failed.
|
||||
*/
|
||||
int mbedtls_cipher_init_ctx( mbedtls_cipher_context_t *ctx, const mbedtls_cipher_info_t *cipher_info );
|
||||
int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx, const mbedtls_cipher_info_t *cipher_info );
|
||||
|
||||
/**
|
||||
* \brief Returns the block size of the given cipher.
|
||||
|
|
|
|||
|
|
@ -1871,7 +1871,7 @@
|
|||
#define cipher_info_from_values mbedtls_cipher_info_from_values
|
||||
#define cipher_info_t mbedtls_cipher_info_t
|
||||
#define cipher_init mbedtls_cipher_init
|
||||
#define cipher_init_ctx mbedtls_cipher_init_ctx
|
||||
#define cipher_init_ctx mbedtls_cipher_setup
|
||||
#define cipher_list mbedtls_cipher_list
|
||||
#define cipher_mode_t mbedtls_cipher_mode_t
|
||||
#define cipher_padding_t mbedtls_cipher_padding_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue