Home
last modified time | relevance | path

Searched refs:gsec_test_bias_random_uint32 (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/test/core/tsi/alts/crypt/
Dgsec_test_util.cc43 uint32_t gsec_test_bias_random_uint32(uint32_t max_length) { in gsec_test_bias_random_uint32() function
65 offset = gsec_test_bias_random_uint32(static_cast<uint32_t>(source_len)); in gsec_test_copy_and_alter_random_byte()
Dgsec_test_util.h51 uint32_t gsec_test_bias_random_uint32(uint32_t max_length);
Daes_gcm_test.cc52 *output_length = gsec_test_bias_random_uint32(kTestMaxSlices) + 1; in gsec_randomly_slice()
58 gsec_test_bias_random_uint32(static_cast<uint32_t>(input_length)); in gsec_randomly_slice()
216 aad_length = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_encrypt_decrypt()
217 message_length = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_encrypt_decrypt()
394 aad_lengths[ind] = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_multiple_encrypt_decrypt()
395 message_lengths[ind] = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_multiple_encrypt_decrypt()
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc33 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_random_seal_unseal()
69 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_multiple_random_seal_unseal()
135 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_corrupted_unseal()
208 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_unsync_seal_unseal()
268 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_input_sanity_check()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_test.cc57 size_t slice_count = gsec_test_bias_random_uint32(kMaxSlices) + 1; in create_random_slice_buffer()
59 size_t slice_length = gsec_test_bias_random_uint32(kMaxSliceLength) + 1; in create_random_slice_buffer()
106 gsec_test_bias_random_uint32(static_cast<uint32_t>(sb->length)); in alter_random_byte()
Dalts_zero_copy_grpc_protector_test.cc180 gsec_test_bias_random_uint32( in seal_unseal_small_buffer()
212 uint32_t channel_size = gsec_test_bias_random_uint32(static_cast<uint32_t>( in seal_unseal_large_buffer()
Dalts_iovec_record_protocol_test.cc65 *output_length = gsec_test_bias_random_uint32(kMaxSlices) + 1; in randomly_slice()
69 gsec_test_bias_random_uint32(static_cast<uint32_t>(input_length)); in randomly_slice()
82 gsec_test_bias_random_uint32(static_cast<uint32_t>(buf_length)); in alter_random_byte()
167 var->data_length = gsec_test_bias_random_uint32(kMaxDataSize) + 1; in alts_iovec_record_protocol_test_var_create()