Lines Matching refs:t_out
1190 mbedtls_ssl_transform *t_out,
1236 CHK( mbedtls_cipher_setup( &t_out->cipher_ctx_enc, cipher_info ) == 0 );
1237 CHK( mbedtls_cipher_setup( &t_out->cipher_ctx_dec, cipher_info ) == 0 );
1246 CHK( mbedtls_cipher_set_padding_mode( &t_out->cipher_ctx_enc,
1248 CHK( mbedtls_cipher_set_padding_mode( &t_out->cipher_ctx_dec,
1257 CHK( mbedtls_cipher_setkey( &t_out->cipher_ctx_enc, key1,
1259 CHK( mbedtls_cipher_setkey( &t_out->cipher_ctx_dec, key0,
1280 CHK( mbedtls_md_setup( &t_out->md_ctx_enc, md_info, 1 ) == 0 );
1281 CHK( mbedtls_md_setup( &t_out->md_ctx_dec, md_info, 1 ) == 0 );
1289 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_enc,
1291 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_dec,
1311 t_out->encrypt_then_mac = etm;
1317 t_out->minor_ver = ver;
1319 t_out->ivlen = ivlen;
1329 t_out->fixed_ivlen = 12;
1335 t_out->fixed_ivlen = 4;
1338 t_out->maclen = 0;
1343 t_out->taglen = 16;
1347 t_out->taglen = 8;
1357 t_out->fixed_ivlen = 12;
1359 t_out->maclen = 0;
1364 t_out->taglen = 16;
1368 t_out->taglen = 8;
1379 t_out->fixed_ivlen = 0; /* redundant, must be 0 */
1381 t_out->taglen = 0;
1386 t_out->maclen = maclen;
1390 t_out->maclen = 10;
1408 memcpy( &t_out->iv_dec, iv_enc, sizeof( iv_enc ) );
1409 memcpy( &t_out->iv_enc, iv_dec, sizeof( iv_dec ) );
1417 memcpy( &t_out->in_cid, cid1, cid1_len );
1418 memcpy( &t_out->out_cid, cid0, cid0_len );
1419 t_out->in_cid_len = cid1_len;
1420 t_out->out_cid_len = cid0_len;