DIGESTS.asn1 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. -- From https://tools.ietf.org/html/rfc4055#section-2.1
  9. id-sha1 OBJECT IDENTIFIER ::= { iso(1)
  10. identified-organization(3) oiw(14)
  11. secsig(3) algorithms(2) 26 }
  12. -- -------------------------------------------------------------------
  13. -- From https://tools.ietf.org/html/rfc5480#appendix-A
  14. -- (OIDs for MD2 and MD5 are allowed only in EMSA-PKCS1-v1_5)
  15. id-md2 OBJECT IDENTIFIER ::= {
  16. iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
  17. id-md5 OBJECT IDENTIFIER ::= {
  18. iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
  19. -- -------------------------------------------------------------------
  20. -- From https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
  21. id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
  22. id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
  23. id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
  24. id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
  25. id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
  26. id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
  27. id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
  28. id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
  29. id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
  30. id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
  31. id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
  32. id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
  33. id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
  34. id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
  35. id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
  36. id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}