Commit 17337d9a authored by garciay's avatar garciay
Browse files

Comments some logs

parent 34a8250f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ module LibItsSecurity_Functions {
                        e_signature
                    );
                }
                log("v_toBeSignedSecuredMessage=", v_toBeSignedSecuredMessage);
//                log("v_toBeSignedSecuredMessage=", v_toBeSignedSecuredMessage);
                
                // Add additional header fields if any
                if (ispresent(p_headerFields) == true) {
@@ -258,17 +258,17 @@ module LibItsSecurity_Functions {
                }
                
                v_secPayload := bit2oct(encvalue(v_toBeSignedSecuredMessage));
                log("v_secPayload= ", v_secPayload);
//                log("v_secPayload= ", v_secPayload);
                
                // Calculate the hash of the SecuredMessage payload to be signed
                v_hash := f_hashWithSha256(v_secPayload);
                log("v_hash= ", v_hash);
//                log("v_hash= ", v_hash);
                
                // Signed payload
                v_signature := f_signWithEcdsaNistp256WithSha256(
                    v_hash
                );
                log("v_signature= ", v_signature);
//                log("v_signature= ", v_signature);
                
                p_securedMessage := md_secureMessage_profileCam( // See Clause 7.1   Security profile for CAMs
                    v_toBeSignedSecuredMessage.header_fields,