Lines Matching refs:cipher_ctx_enc
874 if( ( ret = mbedtls_cipher_setup( &transform->cipher_ctx_enc, in mbedtls_ssl_derive_keys()
888 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_enc, key1, in mbedtls_ssl_derive_keys()
907 if( ( ret = mbedtls_cipher_set_padding_mode( &transform->cipher_ctx_enc, in mbedtls_ssl_derive_keys()
1266 mode = mbedtls_cipher_get_cipher_mode( &ssl->transform_out->cipher_ctx_enc ); in ssl_encrypt_buf()
1334 if( ( ret = mbedtls_cipher_crypt( &ssl->transform_out->cipher_ctx_enc, in ssl_encrypt_buf()
1405 if( ( ret = mbedtls_cipher_auth_encrypt( &ssl->transform_out->cipher_ctx_enc, in ssl_encrypt_buf()
1483 if( ( ret = mbedtls_cipher_crypt( &ssl->transform_out->cipher_ctx_enc, in ssl_encrypt_buf()
1506 ssl->transform_out->cipher_ctx_enc.iv, in ssl_encrypt_buf()
5272 mbedtls_cipher_init( &transform->cipher_ctx_enc ); in ssl_transform_init()
6234 switch( mbedtls_cipher_get_cipher_mode( &transform->cipher_ctx_enc ) ) in mbedtls_ssl_get_record_expansion()
6244 + mbedtls_cipher_get_block_size( &transform->cipher_ctx_enc ); in mbedtls_ssl_get_record_expansion()
6826 mbedtls_cipher_get_cipher_mode( &ssl->transform_out->cipher_ctx_enc ) in ssl_write_split()
6928 mbedtls_cipher_free( &transform->cipher_ctx_enc ); in mbedtls_ssl_transform_free()