Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
ab98e7bf
Commit
ab98e7bf
authored
Jan 10, 2019
by
Yann Garcia
Browse files
Add patch for TITAN COER encoding/decoding
parent
c69adb9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
etc/AtsPki/AtsPki.cfg
View file @
ab98e7bf
...
...
@@ -131,7 +131,7 @@ system.utPort.params := "UT_PKI/UDP(dst_ip=172.23.0.1,dst_port=8000)"
[EXECUTE]
#ItsPki_TestCases.TC_SEC_PKI_ITSS_ENR_BV_01
#ItsPki_TestCases.TC_SEC_PKI_ITSS_ENR_BV_02
#
ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_01
ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_01
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_02
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_03
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_04
...
...
@@ -143,7 +143,7 @@ system.utPort.params := "UT_PKI/UDP(dst_ip=172.23.0.1,dst_port=8000)"
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_10
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_11
#ItsPki_TestCases.TC_SEC_PKI_SND_EA_BV_12
ItsPki_TestCases.TC_SEC_PKI_SND_EA_AA_BV_01
#
ItsPki_TestCases.TC_SEC_PKI_SND_EA_AA_BV_01
#ItsPki_TestCases.TC_SEC_PKI_SND_AA_BV_01
[MAIN_CONTROLLER]
...
...
LibIts
@
edf2b238
Compare
560b4607
...
edf2b238
Subproject commit
560b4607a3769990ed4de39d1882c861c83f04a3
Subproject commit
edf2b2382575158a73e454e06382f4983efe000c
ttcn/TestCodec/TestCodec_Pki.ttcn
View file @
ab98e7bf
...
...
@@ -99,7 +99,7 @@ module TestCodec_Pki {
// Create InnerEcRequest request
v_innerEcRequest
:=
valueof
(
m_innerEcRequest
(
"TODO"
,
char2oct
(
"TODO"
)
,
m_publicKeys
(
v_certificate
.
toBeSigned
.
verifyKeyIndicator
.
verificationKey
,
v_certificate
.
toBeSigned
.
encryptionKey
...
...
@@ -182,7 +182,7 @@ module TestCodec_Pki {
// Secure InnerEcRequestSignedForPoP message
v_inner_ec_request_signed_for_pop_msg
:=
encvalue
(
m_etsiTs102941Data_inner_ec_request_signed_for_pop
(
v_inner_ec_request_signed_for_pop
));
if
(
f_build_pki_secured_request_message
(
v_private_key
,
valueof
(
m_signerIdentifier_self
),
int2oct
(
0
,
8
),
v_publicKeyCompressed
,
v_compressedMode
,
''
O
,
bit2oct
(
v_inner_ec_request_signed_for_pop_msg
),
v_ieee1609dot2_signed_and_encrypted_data
,
v_aes_sym_key
,
v_encrypted_sym_key
,
v_authentication_vector
,
v_nonce
,
v_request_hash
)
==
false
)
{
if
(
f_build_pki_secured_request_message
_signed_with_pop
(
v_private_key
,
valueof
(
m_signerIdentifier_self
),
int2oct
(
0
,
8
),
v_publicKeyCompressed
,
v_compressedMode
,
''
O
,
bit2oct
(
v_inner_ec_request_signed_for_pop_msg
),
v_ieee1609dot2_signed_and_encrypted_data
,
v_aes_sym_key
,
v_encrypted_sym_key
,
v_authentication_vector
,
v_nonce
,
v_request_hash
)
==
false
)
{
setverdict
(
fail
,
"Failed to secure InnerEcRequest message"
);
stop
;
}
...
...
@@ -571,7 +571,7 @@ module TestCodec_Pki {
setverdict
(
fail
,
"f_generate_inner_ec_request"
);
stop
;
}
v_ret
:=
f_generate_ec_certificate
(
v_private_key
,
v_inner_ec_request
,
v_ec_certificate
);
v_ret
:=
f_generate_ec_certificate
(
v_private_key
,
v_ec_certificate
);
if
(
v_ret
==
true
)
{
setverdict
(
pass
);
}
else
{
...
...
@@ -634,7 +634,7 @@ module TestCodec_Pki {
setverdict
(
fail
,
"f_generate_inner_ec_request"
);
stop
;
}
v_ret
:=
f_generate_ec_certificate
(
v_private_key
,
v_inner_ec_request
,
v_ec_certificate
);
v_ret
:=
f_generate_ec_certificate
(
v_private_key
,
v_ec_certificate
);
if
(
v_ret
==
true
)
{
setverdict
(
pass
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment