xref: /freebsd/crypto/openssl/providers/common/der/DIGESTS.asn1 (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1-- Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
2--
3-- Licensed under the Apache License 2.0 (the "License").  You may not use
4-- this file except in compliance with the License.  You can obtain a copy
5-- in the file LICENSE in the source distribution or at
6-- https://www.openssl.org/source/license.html
7
8-- -------------------------------------------------------------------
9-- From https://tools.ietf.org/html/rfc4055#section-2.1
10
11id-sha1  OBJECT IDENTIFIER  ::=  { iso(1)
12                     identified-organization(3) oiw(14)
13                     secsig(3) algorithms(2) 26 }
14
15-- -------------------------------------------------------------------
16-- From https://tools.ietf.org/html/rfc5480#appendix-A
17-- (OIDs for MD2 and MD5 are allowed only in EMSA-PKCS1-v1_5)
18
19id-md2  OBJECT IDENTIFIER ::= {
20  iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
21
22id-md5  OBJECT IDENTIFIER ::= {
23  iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
24
25-- -------------------------------------------------------------------
26-- From https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
27
28id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
29id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
30id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
31id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
32id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
33id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
34id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
35id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
36id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
37id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
38id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
39id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
40id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
41id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
42id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
43id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
44