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