Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository

Switch branch/tag
  • go
  • src
  • crypto
  • ecdsa
  • ecdsa.go
Find file BlameHistoryPermalink
  • Adam Langley's avatar
    crypto/{ecdsa,rsa}: rename argument to PrivateKey.Sign. · 507ca082
    Adam Langley authored Oct 14, 2017
    The crypto.Signer interface takes pre-hased messages for ECDSA and RSA,
    but the argument in the implementations was called “msg”, not “digest”,
    which is confusing.
    
    This change renames them to help clarify the intended use.
    
    Change-Id: Ie2fb8753ca5280e493810d211c7c66223f94af88
    Reviewed-on: https://go-review.googlesource.com/70950
    
    Reviewed-by: default avatarFilippo Valsorda <hi@filippo.io>
    507ca082

Replace ecdsa.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7