mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
CryptoPkg/BaseCryptLib: ML-DSA updates
Include validation check for Context and ContextSize in signature function. Updated ReadMe to show ML-DSA support Signed-off-by: Michael G.A. Holland <michael.holland@intel.com>
This commit is contained in:
parent
dc52b0c75b
commit
264f812b70
2 changed files with 5 additions and 0 deletions
|
|
@ -647,6 +647,10 @@ MlDsaVerify (
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if ((ContextSize > 0) && (Context == NULL)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Ctx = (KEY_CONTEXT *)MlDsaContext;
|
||||
if (Ctx->EvpPkey == NULL) {
|
||||
return FALSE;
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ also configured.
|
|||
| Ec | N | N | | | C-Full | C-Full | |
|
||||
| Camellia | N | N | | | C-Full | C-Full | |
|
||||
| EdDsa | N | N | | | C-Full | C-Full | |
|
||||
| MlDsa | N | N | | | C-Full | C-Full | |
|
||||
|
||||
## Platform Configuration of Cryptographic Services
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue