mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
a30027b680
This splits up all the providers/common/der/*.c.in so the generated portion is on its own and all related DER writing routines are in their own files. This also ensures that the DIGEST consstants aren't reproduced in several files (resulting in symbol clashes). Finally, the production of OID macros is moved to the generated header files, allowing other similar macros, or DER constant arrays, to be built on top of them. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11868)
37 lines
1.6 KiB
Groff
37 lines
1.6 KiB
Groff
-- -------------------------------------------------------------------
|
|
-- From https://tools.ietf.org/html/rfc4055#section-2.1
|
|
|
|
id-sha1 OBJECT IDENTIFIER ::= { iso(1)
|
|
identified-organization(3) oiw(14)
|
|
secsig(3) algorithms(2) 26 }
|
|
|
|
-- -------------------------------------------------------------------
|
|
-- From https://tools.ietf.org/html/rfc5480#appendix-A
|
|
-- (OIDs for MD2 and MD5 are allowed only in EMSA-PKCS1-v1_5)
|
|
|
|
id-md2 OBJECT IDENTIFIER ::= {
|
|
iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
|
|
|
|
id-md5 OBJECT IDENTIFIER ::= {
|
|
iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
|
|
|
|
-- -------------------------------------------------------------------
|
|
-- From https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
|
|
|
|
id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
|
|
id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
|
|
id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
|
|
id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
|
|
id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
|
|
id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
|
|
id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
|
|
id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
|
|
id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
|
|
id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
|
|
id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
|
|
id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
|
|
id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
|
|
id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
|
|
id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
|
|
id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
|