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