commit | 8473f879847215b0571a608c0e5c7212877758bc | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 14 13:51:45 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 14 21:58:34 2015 +0200 |
tree | 7700b7163d3a538cde651d01ac6d18d5574685a9 | |
parent | 51f14be88838fdd6e79269a806c6062e53be0721 [diff] [blame] |
Rename cipher_init_ctx() to cipher_setup()
diff --git a/library/ccm.c b/library/ccm.c index 109927e..75de8cb 100644 --- a/library/ccm.c +++ b/library/ccm.c
@@ -81,7 +81,7 @@ if( cipher_info->block_size != 16 ) return( MBEDTLS_ERR_CCM_BAD_INPUT ); - if( ( ret = mbedtls_cipher_init_ctx( &ctx->cipher_ctx, cipher_info ) ) != 0 ) + if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) return( ret ); if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keysize,