Commit 84e8f31
committed
Reject host attempts to set keys in reserved ECC slots (117-132)
Host OKSETPRIV requests may only target user slots (RSA 1-4, ECC 101-116).
Reserved ECC slots 117-132 (HMAC 129/130, backup 131, derivation 128/132)
are provisioned by firmware via direct set_private() calls that bypass this
dispatch, so the guard does not affect internal provisioning.1 parent 0de93a5 commit 84e8f31
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
445 | 455 | | |
| 456 | + | |
446 | 457 | | |
447 | 458 | | |
448 | 459 | | |
| |||
0 commit comments