]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] crypto/rsa: add SHA-224 hash prefix
authorRuss Cox <rsc@golang.org>
Wed, 13 Jun 2012 20:24:03 +0000 (16:24 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 13 Jun 2012 20:24:03 +0000 (16:24 -0400)
commiteae44968e3ffafe7bd15c451fdfc541638a6700f
treea7a9b7882e934151394d2c84a2635b9b8bcadef4
parentf5a5f17847a695964c4afb94425e8c8b8bd11773
[release-branch.go1] crypto/rsa: add SHA-224 hash prefix

««« backport c6213d8a9118
crypto/rsa: add SHA-224 hash prefix

http://www.rsa.com/rsalabs/node.asp?id=2125:

NOTE: A new OID has been defined for the combination
of the v1.5 signature scheme and the SHA-224 hash function:
        sha224WithRSAEncryption OBJECT IDENTIFIER ::=
Like the other sha*WithRSAEncryption OIDs in PKCS #1 v2.1,
this OID has NULL parameters.
The DigestInfo encoding for SHA-224 (see Section 9.2, Note 1) is:
        (0x)30 2d 30 0d 06 09 60 86 48 01 65 03 04 02 04 05 00 04 1c || H

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/6208076

»»»
src/pkg/crypto/rsa/pkcs1v15.go