Commit 2b763d4
authored
Add COSE key and sign1 rendering. (#83)
Implement a subset of COSE data object rendering. Specifically:
- COSE_Key with support for EC keys with curves p256, p384, and ed25519.
- COSE_Sign1.
The COSE_Sign1 method also constructs a gather list that represents the
Sig_structure used for signing.
See RFC9052.1 parent 820d8c7 commit 2b763d4
File tree
4 files changed
+1244
-0
lines changed- include/nat20
- src/core
- test
4 files changed
+1244
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| 152 | + | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
| |||
0 commit comments