Home
last modified time | relevance | path

Searched refs:tag_buf (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc37 unsigned char* tag_buf; member
160 protected_slices, integrity_only_record_protocol->tag_buf); in alts_grpc_integrity_only_unprotect()
161 tag_iovec.iov_base = integrity_only_record_protocol->tag_buf; in alts_grpc_integrity_only_unprotect()
190 gpr_free(integrity_only_rp->tag_buf); in alts_grpc_integrity_only_destruct()
221 impl->tag_buf = in alts_grpc_integrity_only_record_protocol_create()
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlsdemux-util.c277 GstBuffer *tag_buf; in gst_hlsdemux_tsreader_find_pcrs_id3() local
324 tag_buf = gst_sample_get_buffer (priv_data); in gst_hlsdemux_tsreader_find_pcrs_id3()
325 if (tag_buf == NULL) in gst_hlsdemux_tsreader_find_pcrs_id3()
328 if (!gst_buffer_map (tag_buf, &info, GST_MAP_READ)) in gst_hlsdemux_tsreader_find_pcrs_id3()
337 gst_buffer_unmap (tag_buf, &info); in gst_hlsdemux_tsreader_find_pcrs_id3()
/third_party/mbedtls/library/
Dgcm.c891 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local
933 buf, 16, tag_buf ); in mbedtls_gcm_self_test()
948 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
977 ct_test_data[j * 6 + i], buf, 16, tag_buf ); in mbedtls_gcm_self_test()
984 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
1052 ret = mbedtls_gcm_finish( &ctx, NULL, 0, &olen, tag_buf, 16 ); in mbedtls_gcm_self_test()
1058 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
1124 ret = mbedtls_gcm_finish( &ctx, NULL, 0, &olen, tag_buf, 16 ); in mbedtls_gcm_self_test()
1130 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
/third_party/ffmpeg/libavformat/
Drsd.c73 const char *tag_buf = av_fourcc2str(par->codec_tag); in rsd_read_header() local
76 avpriv_request_sample(s, "Codec tag: %s", tag_buf); in rsd_read_header()
80 av_log(s, AV_LOG_ERROR, "Unknown codec tag: %s\n", tag_buf); in rsd_read_header()
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc43 uint8_t* tag_buf; member
163 var->tag_buf = static_cast<uint8_t*>(gpr_malloc(var->tag_length)); in alts_iovec_record_protocol_test_var_create()
164 var->tag_iovec.iov_base = var->tag_buf; in alts_iovec_record_protocol_test_var_create()
193 gpr_free(var->tag_buf); in alts_iovec_record_protocol_test_var_destroy()
314 offset = alter_random_byte(var->tag_buf, var->tag_length); in integrity_only_corrupted_data()
322 revert_back_alter(var->tag_buf, offset); in integrity_only_corrupted_data()
364 tag_iovec.iov_base = var->tag_buf; in integrity_only_protect_input_check()
409 tag_iovec.iov_base = var->tag_buf; in integrity_only_unprotect_input_check()
690 memcpy(var->protected_buf + var->data_length, var->tag_buf, var->tag_length); in integrity_seal_privacy_unseal()
/third_party/mbedtls/tests/suites/
Dtest_suite_ccm.function186 uint8_t* tag_buf = NULL;
196 ASSERT_ALLOC( tag_buf, expected_tag_len );
202 io_msg_buf, io_msg_buf, tag_buf, expected_tag_len ), 0);
205 ASSERT_COMPARE( tag_buf, expected_tag_len, expected_tag, expected_tag_len );
230 mbedtls_free( tag_buf );
334 uint8_t* tag_buf = NULL;
351 ASSERT_ALLOC( tag_buf, 16 );
353 ASSERT_ALLOC( tag_buf, expected_tag_len );
369 io_msg_buf, tag_buf, expected_tag_len), output_ret );
372 ASSERT_COMPARE( tag_buf, expected_tag_len, expected_tag, expected_tag_len );
[all …]