Lines Matching refs:t_out

1100                                       mbedtls_ssl_transform *t_out,  in mbedtls_test_ssl_build_transforms()  argument
1156 CHK(mbedtls_cipher_setup(&t_out->cipher_ctx_enc, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
1157 CHK(mbedtls_cipher_setup(&t_out->cipher_ctx_dec, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
1165 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1167 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
1180 CHK(mbedtls_cipher_setkey(&t_out->cipher_ctx_enc, key1, in mbedtls_test_ssl_build_transforms()
1184 CHK(mbedtls_cipher_setkey(&t_out->cipher_ctx_dec, key0, in mbedtls_test_ssl_build_transforms()
1211 t_out->psa_mac_alg = PSA_ALG_HMAC(alg); in mbedtls_test_ssl_build_transforms()
1214 t_out->psa_mac_enc = MBEDTLS_SVC_KEY_ID_INIT; in mbedtls_test_ssl_build_transforms()
1216 t_out->psa_mac_dec = MBEDTLS_SVC_KEY_ID_INIT; in mbedtls_test_ssl_build_transforms()
1229 &t_out->psa_mac_enc) == PSA_SUCCESS); in mbedtls_test_ssl_build_transforms()
1246 &t_out->psa_mac_dec) == PSA_SUCCESS); in mbedtls_test_ssl_build_transforms()
1248 CHK(mbedtls_md_setup(&t_out->md_ctx_enc, md_info, 1) == 0); in mbedtls_test_ssl_build_transforms()
1249 CHK(mbedtls_md_setup(&t_out->md_ctx_dec, md_info, 1) == 0); in mbedtls_test_ssl_build_transforms()
1257 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1259 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
1280 t_out->encrypt_then_mac = etm; in mbedtls_test_ssl_build_transforms()
1286 t_out->tls_version = tls_version; in mbedtls_test_ssl_build_transforms()
1288 t_out->ivlen = ivlen; in mbedtls_test_ssl_build_transforms()
1296 t_out->fixed_ivlen = 12; in mbedtls_test_ssl_build_transforms()
1301 t_out->fixed_ivlen = 4; in mbedtls_test_ssl_build_transforms()
1304 t_out->maclen = 0; in mbedtls_test_ssl_build_transforms()
1308 t_out->taglen = 16; in mbedtls_test_ssl_build_transforms()
1312 t_out->taglen = 8; in mbedtls_test_ssl_build_transforms()
1322 t_out->fixed_ivlen = 12; in mbedtls_test_ssl_build_transforms()
1324 t_out->maclen = 0; in mbedtls_test_ssl_build_transforms()
1328 t_out->taglen = 16; in mbedtls_test_ssl_build_transforms()
1332 t_out->taglen = 8; in mbedtls_test_ssl_build_transforms()
1343 t_out->fixed_ivlen = 0; /* redundant, must be 0 */ in mbedtls_test_ssl_build_transforms()
1345 t_out->taglen = 0; in mbedtls_test_ssl_build_transforms()
1349 t_out->maclen = maclen; in mbedtls_test_ssl_build_transforms()
1367 memcpy(&t_out->iv_dec, iv_enc, sizeof(iv_enc)); in mbedtls_test_ssl_build_transforms()
1368 memcpy(&t_out->iv_enc, iv_dec, sizeof(iv_dec)); in mbedtls_test_ssl_build_transforms()
1376 memcpy(&t_out->in_cid, cid1, cid1_len); in mbedtls_test_ssl_build_transforms()
1377 memcpy(&t_out->out_cid, cid0, cid0_len); in mbedtls_test_ssl_build_transforms()
1378 t_out->in_cid_len = (uint8_t) cid1_len; in mbedtls_test_ssl_build_transforms()
1379 t_out->out_cid_len = (uint8_t) cid0_len; in mbedtls_test_ssl_build_transforms()
1395 t_out->psa_alg = alg; in mbedtls_test_ssl_build_transforms()
1416 &t_out->psa_key_enc); in mbedtls_test_ssl_build_transforms()
1438 &t_out->psa_key_dec); in mbedtls_test_ssl_build_transforms()