Commit 0589813c authored by garciay's avatar garciay
Browse files

STF507 week#11:

.  Implement additional TPs
.  Review of the PICS, TSS&TPs & PIXITs documents
parent a4f9a6a5
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -388,10 +388,10 @@ module LibItsSecurity_Functions {
                    p_protocolVersion,
                    p_protocolVersion,
                    v_trailerSize
                    v_trailerSize
                );
                );
                log("m_toBeSignedSecuredMessage_wrong_protocol=", v_toBeSignedSecuredMessage);
//                log("m_toBeSignedSecuredMessage_wrong_protocol=", v_toBeSignedSecuredMessage);
                
                
                v_secPayload := bit2oct(encvalue(v_toBeSignedSecuredMessage));
                v_secPayload := bit2oct(encvalue(v_toBeSignedSecuredMessage));
                log("v_secPayload=", v_secPayload);
//                log("v_secPayload=", v_secPayload);
                
                
                // Signed payload
                // Signed payload
                if (ispresent(p_certificateName) and (valueof(p_certificateName) != cc_taCert_A)) {
                if (ispresent(p_certificateName) and (valueof(p_certificateName) != cc_taCert_A)) {
@@ -407,7 +407,7 @@ module LibItsSecurity_Functions {
                    v_secPayload, 
                    v_secPayload, 
                    v_privateKey 
                    v_privateKey 
                );
                );
                log("v_signature=", v_signature);
//                log("v_signature=", v_signature);
                
                
//                log("p_trailerStatus=", p_trailerStatus);
//                log("p_trailerStatus=", p_trailerStatus);
                if (p_trailerStatus == 0) { // No signature
                if (p_trailerStatus == 0) { // No signature