密码算法的OID查阅

一、OID 命名结构

1. 纯模式(Pure Mode)

直接对原始消息签名,OID 格式为:

xml 复制代码
id-slh-dsa-<hash-family>-<security-level><variant>

其中:

  • <hash-family>sha2shake
  • <security-level>128192256
  • <variant>s(small,优化签名长度)或 f(fast,优化签名/密钥生成速度)

示例:

  • id-slh-dsa-sha2-128s
  • id-slh-dsa-shake-256f

这些 OID 隶属于 nistAlgorithms(2.16.840.1.101.3.4.3) 下的 sigAlgs(20--31) 范围。

2. 预哈希模式(Hashed Mode)

先对消息进行指定哈希,再对摘要签名,OID 格式为:

python 复制代码
id-hash-slh-dsa-<hash-family>-<security-level><variant>-with-<prehash-alg>

其中 <prehash-alg> 必须与安全级别匹配:

  • 128 位安全 → SHA-256 或 SHAKE128
  • 192 位安全 → SHA-384 或 SHAKE192
  • 256 位安全 → SHA-512 或 SHAKE256

示例:

  • id-hash-slh-dsa-sha2-128s-with-sha256
  • id-hash-slh-dsa-shake-256f-with-shake256

这些 OID 隶属于 nistAlgorithms.sigAlgs(2.16.840.1.101.3.4.3)35--46 范围。


二、完整 OID 列表(按安全级别分类)

SLH-DSA算法

SLH-DSA(Stateless Hash-Based Digital Signature Algorithm)是 NIST 在 FIPS 205 标准中正式标准化的后量子数字签名算法,其 OID(对象标识符)由 NIST CSOR(Computer Security Objects Registry) 分配,用于在 X.509 PKI、CMS 等密码协议中唯一标识不同参数组合和工作模式。

安全级别 模式 哈希家族 变体 OID 名称 示例 OID(十进制点分格式)
128 Pure sha2 s id-slh-dsa-sha2-128s 2.16.840.1.101.3.4.3.20
128 Pure sha2 f id-slh-dsa-sha2-128f 2.16.840.1.101.3.4.3.21
128 Pure shake s id-slh-dsa-shake-128s 2.16.840.1.101.3.4.3.22
128 Pure shake f id-slh-dsa-shake-128f 2.16.840.1.101.3.4.3.23
192 Pure sha2 s id-slh-dsa-sha2-192s 2.16.840.1.101.3.4.3.24
192 Pure sha2 f id-slh-dsa-sha2-192f 2.16.840.1.101.3.4.3.25
192 Pure shake s id-slh-dsa-shake-192s 2.16.840.1.101.3.4.3.26
192 Pure shake f id-slh-dsa-shake-192f 2.16.840.1.101.3.4.3.27
256 Pure sha2 s id-slh-dsa-sha2-256s 2.16.840.1.101.3.4.3.28
256 Pure sha2 f id-slh-dsa-sha2-256f 2.16.840.1.101.3.4.3.29
256 Pure shake s id-slh-dsa-shake-256s 2.16.840.1.101.3.4.3.30
256 Pure shake f id-slh-dsa-shake-256f 2.16.840.1.101.3.4.3.31
128 Prehash sha2 s id-hash-slh-dsa-sha2-128s-with-sha256 2.16.840.1.101.3.4.3.35
128 Prehash sha2 f id-hash-slh-dsa-sha2-128f-with-sha256 2.16.840.1.101.3.4.3.36
128 Prehash shake s id-hash-slh-dsa-shake-128s-with-shake128 2.16.840.1.101.3.4.3.37
128 Prehash shake f id-hash-slh-dsa-shake-128f-with-shake128 2.16.840.1.101.3.4.3.38
192 Prehash sha2 s id-hash-slh-dsa-sha2-192s-with-sha384 2.16.840.1.101.3.4.3.39
192 Prehash sha2 f id-hash-slh-dsa-sha2-192f-with-sha384 2.16.840.1.101.3.4.3.40
192 Prehash shake s id-hash-slh-dsa-shake-192s-with-shake192 2.16.840.1.101.3.4.3.41
192 Prehash shake f id-hash-slh-dsa-shake-192f-with-shake192 2.16.840.1.101.3.4.3.42
256 Prehash sha2 s id-hash-slh-dsa-sha2-256s-with-sha512 2.16.840.1.101.3.4.3.43
256 Prehash sha2 f id-hash-slh-dsa-sha2-256f-with-sha512 2.16.840.1.101.3.4.3.44
256 Prehash shake s id-hash-slh-dsa-shake-256s-with-shake256 2.16.840.1.101.3.4.3.45
256 Prehash shake f id-hash-slh-dsa-shake-256f-with-shake256 2.16.840.1.101.3.4.3.46

三、参考资料

相关推荐
啊森要自信18 小时前
CANN ops-cv:AI 硬件端视觉算法推理训练的算子性能调优与实战应用详解
人工智能·算法·cann
仟濹19 小时前
算法打卡day2 (2026-02-07 周五) | 算法: DFS | 3_卡码网99_计数孤岛_DFS
算法·深度优先
驭渊的小故事19 小时前
简单模板笔记
数据结构·笔记·算法
YuTaoShao19 小时前
【LeetCode 每日一题】1653. 使字符串平衡的最少删除次数——(解法一)前后缀分解
算法·leetcode·职场和发展
VT.馒头19 小时前
【力扣】2727. 判断对象是否为空
javascript·数据结构·算法·leetcode·职场和发展
goodluckyaa19 小时前
LCR 006. 两数之和 II - 输入有序数组
算法
孤狼warrior19 小时前
YOLO目标检测 一千字解析yolo最初的摸样 模型下载,数据集构建及模型训练代码
人工智能·python·深度学习·算法·yolo·目标检测·目标跟踪
Σίσυφος190020 小时前
PCL法向量估计 之 RANSAC 平面估计法向量
算法·机器学习·平面
xhbaitxl20 小时前
算法学习day39-动态规划
学习·算法·动态规划
I_LPL20 小时前
day23 代码随想录算法训练营 回溯专题2
算法·hot100·回溯算法·求职面试