/dports/security/aws-c-auth/aws-c-auth-0.6.5/tests/ |
H A D | test_chunked_signing.c | 169 struct aws_byte_cursor chunk1_cursor = aws_byte_cursor_from_buf(&tester->chunk1); in s_chunked_signing_tester_init() 172 struct aws_byte_cursor chunk2_cursor = aws_byte_cursor_from_buf(&tester->chunk2); in s_chunked_signing_tester_init() 293 …aws_signable_new_chunk(allocator, tester.chunk1_stream, aws_byte_cursor_from_buf(&tester.last_sign… in s_sigv4_chunked_signing_test() 305 …aws_signable_new_chunk(allocator, tester.chunk2_stream, aws_byte_cursor_from_buf(&tester.last_sign… in s_sigv4_chunked_signing_test() 317 aws_signable_new_chunk(allocator, NULL, aws_byte_cursor_from_buf(&tester.last_signature)); in s_sigv4_chunked_signing_test() 396 aws_trim_padded_sigv4a_signature(aws_byte_cursor_from_buf(&tester.last_signature)); in s_sigv4a_chunked_signing_test() 421 …aws_signable_new_chunk(allocator, tester.chunk1_stream, aws_byte_cursor_from_buf(&tester.last_sign… in s_sigv4a_chunked_signing_test() 426 aws_trim_padded_sigv4a_signature(aws_byte_cursor_from_buf(&tester.last_signature)); in s_sigv4a_chunked_signing_test() 448 …chunk_signature_cursor = aws_trim_padded_sigv4a_signature(aws_byte_cursor_from_buf(&tester.last_si… in s_sigv4a_chunked_signing_test() 466 aws_signable_new_chunk(allocator, NULL, aws_byte_cursor_from_buf(&tester.last_signature)); in s_sigv4a_chunked_signing_test() [all …]
|
H A D | aws_imds_client_test.c | 318 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(resource); in s_get_resource_callback() 652 … ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_good_response); in s_imds_client_resource_request_success() 698 … ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_good_response); in s_imds_client_insecure_resource_request_success() 757 … ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_good_response); in s_imds_client_insecure_then_secure_resource_request_success() 828 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(resource); in s_multiple_request_get_resource_callback() 875 … ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_good_response); in s_imds_client_multiple_resource_requests_random_responses_finally_all_success() 992 ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_test_ami_id); in s_imds_client_get_ami_id_success() 1080 …ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&s_tester.resource), s_test_ancestor_am… in s_imds_client_get_ancestor_ami_ids_success() 1115 ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&buf), s_test_last_updated); in s_assert_get_iam_profile() 1239 ASSERT_CURSOR_VALUE_STRING_EQUALS(aws_byte_cursor_from_buf(&buf), s_pending_time); in s_assert_get_instance_info() [all …]
|
H A D | sigv4_signing_tests.c | 645 struct aws_byte_cursor pub_x_cursor = aws_byte_cursor_from_buf(&pub_x_buffer); in s_v4_test_context_parse_verification_key() 646 struct aws_byte_cursor pub_y_cursor = aws_byte_cursor_from_buf(&pub_y_buffer); in s_v4_test_context_parse_verification_key() 698 aws_byte_cursor_from_buf(&context->test_case_data.request), in s_v4_test_context_init() 1017 aws_byte_cursor_from_buf(&test_context->test_case_data.expected_string_to_sign), in s_check_query_authorization() 1148 aws_byte_cursor_from_buf(string_to_sign), in s_check_header_authorization() 1159 aws_byte_cursor_from_buf(string_to_sign), in s_check_header_authorization() 1171 …test_context->allocator, aws_byte_cursor_from_buf(expected_request_buffer), &expected_request, &bo… in s_check_signed_request() 1295 … allocator, aws_byte_cursor_from_buf(&test_context.test_case_data.expected_canonical_request)); in s_do_sigv4_test_canonical_only() 1321 aws_byte_cursor_from_buf(&test_context.test_case_data.expected_string_to_sign), in s_do_sigv4_test_canonical_only()
|
/dports/security/aws-c-auth/aws-c-auth-0.6.5/source/ |
H A D | aws_signing.c | 589 path_cursor = aws_byte_cursor_from_buf(&normalized_path); in s_append_canonical_path() 789 .value = aws_byte_cursor_from_buf(&state->access_credential_scope), in s_add_authorization_query_params() 799 .value = aws_byte_cursor_from_buf(&state->date), in s_add_authorization_query_params() 809 .value = aws_byte_cursor_from_buf(&state->signed_headers), in s_add_authorization_query_params() 1284 aws_byte_cursor_from_buf(&state->date))) { in s_build_canonical_stable_header_list() 1313 aws_byte_cursor_from_buf(&state->payload_hash))) { in s_build_canonical_stable_header_list() 1978 struct aws_byte_cursor date_cursor = aws_byte_cursor_from_buf(&date_buf); in s_compute_sigv4_signing_key() 1990 chained_key_cursor = aws_byte_cursor_from_buf(&output); in s_compute_sigv4_signing_key() 1996 chained_key_cursor = aws_byte_cursor_from_buf(&output); in s_compute_sigv4_signing_key() 2034 struct aws_byte_cursor key_cursor = aws_byte_cursor_from_buf(&key); in s_calculate_sigv4_signature_value() [all …]
|
H A D | key_derivation.c | 258 struct aws_byte_cursor k0_cursor = aws_byte_cursor_from_buf(k0); in s_aws_derive_ecc_private_key() 338 struct aws_byte_cursor secret_cursor = aws_byte_cursor_from_buf(&secret_buf); in aws_ecc_key_pair_new_ecdsa_p256_key_from_aws_credentials() 349 struct aws_byte_cursor fixed_input_cursor = aws_byte_cursor_from_buf(&fixed_input); in aws_ecc_key_pair_new_ecdsa_p256_key_from_aws_credentials() 358 struct aws_byte_cursor private_key_cursor = aws_byte_cursor_from_buf(&private_key_buf); in aws_ecc_key_pair_new_ecdsa_p256_key_from_aws_credentials()
|
H A D | credentials_provider_imds.c | 168 struct aws_byte_cursor role_cursor = aws_byte_cursor_from_buf(role); in s_on_get_role() 175 …impl->client, aws_byte_cursor_from_buf(&wrapped_user_data->role), s_on_get_credentials, user_data)… in s_on_get_role()
|
/dports/security/aws-c-cal/aws-c-cal-0.5.12/tests/ |
H A D | ecc_test.c | 146 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() 149 struct aws_byte_cursor signature_cur = aws_byte_cursor_from_buf(&signature_buf); in AWS_TEST_CASE() 251 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() 254 struct aws_byte_cursor signature_cur = aws_byte_cursor_from_buf(&signature_buf); in AWS_TEST_CASE() 311 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() 314 struct aws_byte_cursor signature_cur = aws_byte_cursor_from_buf(&signature_buf); in AWS_TEST_CASE() 401 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() 408 struct aws_byte_cursor signature_cur = aws_byte_cursor_from_buf(&signature_buf); in AWS_TEST_CASE() 472 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() 589 struct aws_byte_cursor hash_cur = aws_byte_cursor_from_buf(&hash_value); in AWS_TEST_CASE() [all …]
|
/dports/security/aws-c-cal/aws-c-cal-0.5.12/source/ |
H A D | ecc.c | 175 *pub_x = aws_byte_cursor_from_buf(&key_pair->pub_x); in aws_ecc_key_pair_get_public_key() 176 *pub_y = aws_byte_cursor_from_buf(&key_pair->pub_y); in aws_ecc_key_pair_get_public_key() 180 *private_d = aws_byte_cursor_from_buf(&key_pair->priv_d); in aws_ecc_key_pair_get_private_key() 329 struct aws_byte_cursor pub_x_cursor = aws_byte_cursor_from_buf(&pub_x_buffer); in aws_ecc_key_new_from_hex_coordinates() 330 struct aws_byte_cursor pub_y_cursor = aws_byte_cursor_from_buf(&pub_y_buffer); in aws_ecc_key_new_from_hex_coordinates()
|
/dports/devel/aws-c-common/aws-c-common-0.6.15/tests/ |
H A D | uuid_test.c | 82 struct aws_byte_cursor uuid_cur = aws_byte_cursor_from_buf(&uuid_buf); in AWS_TEST_CASE() 99 struct aws_byte_cursor uuid_cur = aws_byte_cursor_from_buf(&uuid_buf); in AWS_TEST_CASE() 115 struct aws_byte_cursor uuid_cur = aws_byte_cursor_from_buf(&uuid_buf); in AWS_TEST_CASE()
|
/dports/devel/aws-c-io/aws-c-io-0.10.12/tests/ |
H A D | read_write_test_handler.c | 49 struct aws_byte_cursor next_data_cursor = aws_byte_cursor_from_buf(&next_data); in s_rw_handler_process_read() 72 struct aws_byte_cursor next_data_cursor = aws_byte_cursor_from_buf(&next_data); in s_rw_handler_process_write_message() 182 struct aws_byte_cursor next_data_cursor = aws_byte_cursor_from_buf(&next_data); in rw_handler_trigger_read() 203 struct aws_byte_cursor write_buffer = aws_byte_cursor_from_buf(write_task_args->buffer); in s_rw_handler_write_task() 219 struct aws_byte_cursor write_buffer = aws_byte_cursor_from_buf(buffer); in rw_handler_write()
|
H A D | pipe_test.c | 356 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_write_once_task() 541 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_write_once_then_subscribe_task() 609 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_resubscribe_write_task() 670 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_readall_write_task() 841 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_write_in_simultaneous_chunks_task() 894 struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(&state->buffers.src); in s_write_then_clean_up_task()
|
H A D | stream_test.c | 77 struct aws_byte_cursor dest_cursor = aws_byte_cursor_from_buf(&read_buf); in s_do_simple_input_stream_test() 86 struct aws_byte_cursor result_cursor = aws_byte_cursor_from_buf(&result_buf); in s_do_simple_input_stream_test() 168 struct aws_byte_cursor read_buf_cursor = aws_byte_cursor_from_buf(&read_buf); in s_do_input_stream_seek_test()
|
/dports/devel/aws-c-io/aws-c-io-0.10.12/source/ |
H A D | pem_utils.c | 27 struct aws_byte_cursor pem_cursor = aws_byte_cursor_from_buf(pem); in aws_sanitize_pem() 89 struct aws_byte_cursor clean_pem_cursor = aws_byte_cursor_from_buf(&clean_pem_buf); in aws_sanitize_pem()
|
H A D | pki_utils.c | 161 struct aws_byte_cursor byte_cur = aws_byte_cursor_from_buf(byte_buf_ptr); in aws_decode_pem_to_buffer_list() 216 struct aws_byte_cursor file_cursor = aws_byte_cursor_from_buf(&raw_file_buffer); in aws_read_and_decode_pem_file_to_buffer_list()
|
/dports/devel/aws-c-s3/aws-c-s3-0.1.27/source/ |
H A D | s3_request_messages.c | 412 struct aws_byte_cursor buffer_byte_cursor = aws_byte_cursor_from_buf(byte_buf); in aws_s3_message_util_assign_body() 454 struct aws_byte_cursor md5_input = aws_byte_cursor_from_buf(input_buf); in aws_s3_message_util_add_content_md5_header() 462 struct aws_byte_cursor base64_input = aws_byte_cursor_from_buf(&md5_output_buf); in aws_s3_message_util_add_content_md5_header() 476 …if (aws_http_headers_set(headers, g_content_md5_header_name, aws_byte_cursor_from_buf(&base64_outp… in aws_s3_message_util_add_content_md5_header() 688 struct aws_byte_cursor new_request_path = aws_byte_cursor_from_buf(&request_path_buf); in aws_s3_message_util_set_multipart_request_path()
|
H A D | s3_auto_ranged_put.c | 461 …struct aws_byte_cursor buffer_byte_cursor = aws_byte_cursor_from_buf(&request->send_data.response_… in s_s3_auto_ranged_put_request_finished() 585 aws_byte_cursor_from_buf(&request->send_data.response_body); in s_s3_auto_ranged_put_request_finished() 600 aws_byte_cursor_from_buf(&etag_header_value_byte_buf)); in s_s3_auto_ranged_put_request_finished()
|
/dports/devel/aws-crt-cpp/aws-crt-cpp-0.17.2/source/mqtt/ |
H A D | MqttClient.cpp | 308 ByteCursor topicCur = aws_byte_cursor_from_buf(&topicBuf); in SetWill() 309 ByteCursor payloadCur = aws_byte_cursor_from_buf(&payload); in SetWill() 318 ByteCursor userNameCur = aws_byte_cursor_from_buf(&userNameBuf); in SetLogin() 500 ByteCursor topicFilterCur = aws_byte_cursor_from_buf(&topicFilterBuf); in Subscribe() 578 ByteCursor topicFilterCur = aws_byte_cursor_from_buf(&topicFilterBuf); in Subscribe() 635 ByteCursor topicFilterCur = aws_byte_cursor_from_buf(&topicFilterBuf); in Unsubscribe() 679 ByteCursor payloadCur = aws_byte_cursor_from_buf(&payload); in Publish()
|
/dports/devel/aws-c-compression/aws-c-compression-0.2.14/source/ |
H A D | huffman_testing.c | 52 struct aws_byte_cursor intermediate_cur = aws_byte_cursor_from_buf(&intermediate_buf); in huffman_test_transitive() 134 struct aws_byte_cursor intermediate_cur = aws_byte_cursor_from_buf(&intermediate_buf); in huffman_test_transitive_chunked()
|
/dports/devel/aws-c-common/aws-c-common-0.6.15/source/ |
H A D | file.c | 95 value->entry.path = aws_byte_cursor_from_buf(&value->path); in s_directory_iterator_directory_entry() 97 value->entry.relative_path = aws_byte_cursor_from_buf(&value->relative_path); in s_directory_iterator_directory_entry()
|
/dports/devel/aws-c-common/aws-c-common-0.6.15/verification/cbmc/proofs/aws_byte_cursor_from_buf/ |
H A D | Makefile | 11 PROOF_UID = aws_byte_cursor_from_buf
|
H A D | aws_byte_cursor_from_buf_harness.c | 24 struct aws_byte_cursor cur = aws_byte_cursor_from_buf(&buf); in aws_byte_cursor_from_buf_harness()
|
/dports/devel/aws-c-io/aws-c-io-0.10.12/source/darwin/ |
H A D | secure_transport_tls_channel_handler.c | 133 struct aws_byte_cursor message_cursor = aws_byte_cursor_from_buf(&message->message_data); in s_read_cb() 161 struct aws_byte_cursor buffer_cursor = aws_byte_cursor_from_buf(&buf); in s_write_cb() 1035 struct aws_byte_cursor cert_chain_cur = aws_byte_cursor_from_buf(&options->certificate); in s_tls_ctx_new() 1036 struct aws_byte_cursor private_key_cur = aws_byte_cursor_from_buf(&options->private_key); in s_tls_ctx_new() 1052 struct aws_byte_cursor pkcs12_blob_cur = aws_byte_cursor_from_buf(&options->pkcs12); in s_tls_ctx_new() 1053 struct aws_byte_cursor password_cur = aws_byte_cursor_from_buf(&options->pkcs12_password); in s_tls_ctx_new() 1068 struct aws_byte_cursor ca_cursor = aws_byte_cursor_from_buf(&options->ca_file); in s_tls_ctx_new()
|
/dports/devel/aws-c-common/aws-c-common-0.6.15/tests/fuzz/ |
H A D | hex_encoding_transitive.c | 35 struct aws_byte_cursor decode_input = aws_byte_cursor_from_buf(&encode_output); in LLVMFuzzerTestOneInput()
|
H A D | base64_encoding_transitive.c | 26 struct aws_byte_cursor to_decode = aws_byte_cursor_from_buf(&encode_output); in LLVMFuzzerTestOneInput()
|
/dports/devel/aws-c-http/aws-c-http-0.6.8/tests/fuzz/ |
H A D | fuzz_h2_decoder_correct.c | 91 header.name = aws_byte_cursor_from_buf(&buf); in s_generate_headers() 103 header.value = aws_byte_cursor_from_buf(&buf); in s_generate_headers() 492 struct aws_byte_cursor to_decode = aws_byte_cursor_from_buf(&frame_data); in LLVMFuzzerTestOneInput()
|