Commit 07a951cd authored by YannGarcia's avatar YannGarcia
Browse files

Start validation of AtsPki; Add missing AcSecurity primitive implementation in Facilities

parent 3cf4b64d
Loading
Loading
Loading
Loading
+65 −65

File changed.

Preview size limit exceeded, changes collapsed.

+18 −6
Original line number Original line Diff line number Diff line
@@ -3179,10 +3179,12 @@ module ItsCam_TpFunctions {
             * @desc    TP Function for TC_CAM_MSP_SSP_BV_XX
             * @desc    TP Function for TC_CAM_MSP_SSP_BV_XX
             * @param p_certName Certificate to be used to sign the CAM message
             * @param p_certName Certificate to be used to sign the CAM message
             * @param p_camMsg   CAM value template to be sent to IUT
             * @param p_camMsg   CAM value template to be sent to IUT
             * @param p_discarded Set to true if the message shallbe discarded
             */
             */
            function f_CAM_MSP_SSP_BV_XX(
            function f_CAM_MSP_SSP_BV_XX(
                in charstring p_certName,
                in charstring p_certName,
                in template (value) CAM p_camMsg
                in template (value) CAM p_camMsg,
                in boolean p_discarded := true
            ) runs on ItsCam {
            ) runs on ItsCam {
                
                
                // Local variables
                // Local variables
@@ -3222,12 +3224,22 @@ module ItsCam_TpFunctions {
                    // empty on purpose 
                    // empty on purpose 
                }
                }
                if(i < lengthof(vc_utEvents)) {
                if(i < lengthof(vc_utEvents)) {
                    if (p_discarded == false) {
                        log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
                    } else {
                        log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***");
                        log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
                    }
                    }
                }
                else {
                else {
                    log("*** " & testcasename() & ": PASS: CAM was transmitted to upper layer ***");
                    if (p_discarded) {
                        log("*** " & testcasename() & ": PASS: CAM was not transmitted to upper layer ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
                    } else {
                        log("*** " & testcasename() & ": FAIL: CAM was not transmitted to upper layer ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
                    }
                }
                }
                
                
                // Postamble
                // Postamble