signing: fix clang errors

  • remove logical comparison warning
  • transform gcc's nested to static function
  • change most of signing functions to static

Co-authored-by: @Bust3D

Merge request reports

Loading