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:
Michael G.A. Holland 2026-07-17 11:00:08 -07:00 committed by mergify[bot]
parent dc52b0c75b
commit 264f812b70
2 changed files with 5 additions and 0 deletions

View file

@ -647,6 +647,10 @@ MlDsaVerify (
return FALSE;
}
if ((ContextSize > 0) && (Context == NULL)) {
return FALSE;
}
Ctx = (KEY_CONTEXT *)MlDsaContext;
if (Ctx->EvpPkey == NULL) {
return FALSE;

View file

@ -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