Commit 36aa1e2e authored by garciay's avatar garciay
Browse files

Add Brainpool Security support

parent 2e52e3c8
Loading
Loading
Loading
Loading
+28 −19
Original line number Diff line number Diff line
@@ -70,13 +70,13 @@ Comp2.geoNetworkingPort.params := "GN(ll_address=F8CAB808391A,latitude=43551050,
system.btpPort.params := "BTP(type=btpB,dst_port=2000,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_cam.pcap,filter=and ether proto 0x8947,frame_offset=0)"

# CAM port
system.camPort.params := "CAM/BTP(type=btpA,dst_port=2001,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_cam.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"
system.camPort.params := "CAM/BTP(type=btpA,dst_port=2001,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,deviceMode=1,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_cam.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"

# DENM port
system.denmPort.params := "DENM/BTP(type=btpB,dst_port=2002,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_denm.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"
system.denmPort.params := "DENM/BTP(type=btpB,dst_port=2002,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,deviceMode=1,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_denm.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"

# IVIM port
system.ivimPort.params := "IVIM/BTP(type=btpB,dst_port=2005,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_ivim.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"
system.ivimPort.params := "IVIM/BTP(type=btpB,dst_port=2005,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,deviceMode=1,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_ivim.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"

# GeoNetworking UpperTester port based on UDP 
system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192.168.156.4,src_port=12345)/ETH(mac_src=026f8338c1e5,mac_dst=0A0027000011,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and udp port 12346)"
@@ -194,28 +194,37 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_IVIM.tc_Ivim_UtIvimTermination

# Security tests
# Functions
TestCodec_SecuredFuntions.tc_sha256_1
TestCodec_SecuredFuntions.tc_sha384_1
TestCodec_SecuredFuntions.tc_f_generate_key_pair_1
TestCodec_SecuredFuntions.tc_f_generate_key_pair_2
TestCodec_SecuredFuntions.tc_f_generate_key_pair_3
TestCodec_SecuredFuntions.tc_f_signWithEcdsaNistp256WithSha256_1
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_1
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_2
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_3
TestCodec_SecuredFuntions.tc_f_signWithEcdsaBrainpoolp256WithSha256_1
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_1
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_2
TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_3
# Security Functions
#TestCodec_SecuredFuntions.tc_sha256_1
#TestCodec_SecuredFuntions.tc_sha384_1
#TestCodec_SecuredFuntions.tc_f_generate_key_pair_1
#TestCodec_SecuredFuntions.tc_f_generate_key_pair_2
#TestCodec_SecuredFuntions.tc_f_generate_key_pair_3
#TestCodec_SecuredFuntions.tc_f_signWithEcdsaNistp256WithSha256_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_2
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaNistp256WithSha256_3
#TestCodec_SecuredFuntions.tc_f_signWithEcdsaBrainpoolp256WithSha256_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_2
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp256WithSha256_3
#TestCodec_SecuredFuntions.tc_f_signWithEcdsaBrainpoolp384WithSha384_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp384WithSha384_1
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp384WithSha384_2
#TestCodec_SecuredFuntions.tc_f_verifyWithEcdsaBrainpoolp384WithSha384_3
# Certificates
TestCodec_Certificates.tc_at_certificate_sha256_1
TestCodec_Certificates.tc_at_certificate_sha256_2
TestCodec_Certificates.tc_root_certificate_sha256_1
#TestCodec_Certificates.tc_root_certificate_sha256_2
#TestCodec_Certificates.tc_root_certificate_sha384_1
#TestCodec_Certificates.tc_at_certificate_sha256_1
#TestCodec_Certificates.tc_at_certificate_sha256_2
#TestCodec_Certificates.tc_certificate_asn1c_1
# Secured messages
#TestCodec_SecuredMessages.tc_ssp_cam
#TestCodec_SecuredMessages.tc_ssp_denm
#TestCodec_SecuredMessages.tc_secured_message_unsecured
#TestCodec_SecuredMessages.tc_secured_message_signed
#TestCodec_SecuredMessages.tc_secured_message_signed_1

[MAIN_CONTROLLER]
# The options herein control the behavior of MC.