# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use # this file except in compliance with the License. A copy of the License is # located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing permissions and # limitations under the License. ######### # if Makefile.local exists, use it. This provides a way to override the defaults sinclude ../Makefile.local #otherwise, use the default values include ../Makefile.local_default include ../Makefile.string ######### # Local vars # Values are chosen for performance. Increasing them does not improve coverage. MAX_TABLE_SIZE ?= 1 # In OBJ_txt2nid, this value unwinds strcmp(s, "prime256v1") PRIME_STRING_LEN=10 ######### PROOF_UID = default_cmm_generate_enc_materials HARNESS_ENTRY = $(PROOF_UID)_harness HARNESS_FILE = $(HARNESS_ENTRY).c CBMCFLAGS += DEFINES += -DMAX_TABLE_SIZE=$(MAX_TABLE_SIZE) PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/byte_buf.c PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/common.c PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/encoding.c PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/error.c PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/hash_table.c PROJECT_SOURCES += $(CBMC_ROOT)/aws-c-common/source/string.c PROJECT_SOURCES += $(PROOF_SOURCE)/openssl/bn_override.c PROJECT_SOURCES += $(PROOF_SOURCE)/openssl/ec_override.c PROJECT_SOURCES += $(PROOF_SOURCE)/openssl/evp_override.c PROJECT_SOURCES += $(PROOF_SOURCE)/openssl/objects_override.c PROJECT_SOURCES += $(SRCDIR)/source/cipher.c PROJECT_SOURCES += $(SRCDIR)/source/cipher_openssl.c PROJECT_SOURCES += $(SRCDIR)/source/default_cmm.c PROJECT_SOURCES += $(SRCDIR)/source/edk.c PROJECT_SOURCES += $(SRCDIR)/source/header.c PROJECT_SOURCES += $(SRCDIR)/source/keyring_trace.c PROJECT_SOURCES += $(SRCDIR)/source/materials.c PROOF_SOURCES += $(COMMON_PROOF_SOURCE)/make_common_data_structures.c PROOF_SOURCES += $(COMMON_PROOF_SOURCE)/proof_allocators.c PROOF_SOURCES += $(COMMON_PROOF_SOURCE)/utils.c PROOF_SOURCES += $(COMMON_PROOF_STUB)/aws_hash_table_no_slots_override.c PROOF_SOURCES += $(COMMON_PROOF_STUB)/aws_string_destroy_override.c PROOF_SOURCES += $(COMMON_PROOF_STUB)/error.c PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE) PROOF_SOURCES += $(PROOF_SOURCE)/cbmc_invariants.c PROOF_SOURCES += $(PROOF_SOURCE)/make_common_data_structures.c PROOF_SOURCES += $(PROOF_STUB)/aws_base64_encode.c PROOF_SOURCES += $(PROOF_STUB)/on_encrypt_stub.c UNWINDSET += strcmp.0:$(call addone,$(PRIME_STRING_LEN)) ########### include ../Makefile.common