Commit 569e43f
authored
With the current way we implement expanded key support, this currently
needs to be fallible, and since `KeyExport` is infallible we have to
panic.
Perhaps we can make a separate type which contains only `dk_pke` and `z`
like `ExpandedDecapsulationKey` so we can ensure `DecapsulationKey`
always has the seed.
For now, this at least lets us have an impl of `KeyExport`, even if
having a panicking condition is not ideal.
1 parent 2f96158 commit 569e43f
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
199 | 214 | | |
200 | 215 | | |
201 | 216 | | |
| |||
0 commit comments