log("f_http_build_inner_ec_request: Public encryption key: ",v_public_enc_key);
log("f_http_build_inner_ec_request: Public encryption key comp: ",v_compressed_enc_key_mode);
p_salt:=vc_eaWholeHash256;// IEEE 1609.2: If the encryption key was obtained from a certificate c, P1 is SHA-256 (c), where c is the COER encoding of the certificate, canonicalized per 6.4.3.
log("f_http_build_inner_ec_request_with_wrong_parameters: Public encryption key: ",v_public_enc_key);
log("f_http_build_inner_ec_request_with_wrong_parameters: Public encryption key comp: ",v_compressed_enc_key_mode);
p_salt:=vc_eaWholeHash256;// IEEE 1609.2: If the encryption key was obtained from a certificate c, P1 is SHA-256 (c), where c is the COER encoding of the certificate, canonicalized per 6.4.3.
if(PICS_SECPKI_REENROLMENT==false){// This is the first enrolment, we used Factory keys
log("*** f_http_build_invalid_enrolment_request: Public encryption key: ",v_public_enc_key);
log("*** f_http_build_invalid_enrolment_request: Public encryption key comp: ",v_compressed_enc_key_mode);
p_salt:=vc_eaWholeHash256;// IEEE 1609.2: If the encryption key was obtained from a certificate c, P1 is SHA-256 (c), where c is the COER encoding of the certificate, canonicalized per 6.4.3.
if(PICS_SECPKI_REENROLMENT==false){// This is the first enrolment, we used Factory keys