-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Case is related to key deserialisation when a key is created using properties (parameters).
Minimal code snipped is:
OSSL_PARAM params[] = {
OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PRIV_KEY, priv, priv_len),
OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, pub, pub_len),
OSSL_PARAM_END
};
int selection = OSSL_KEYMGMT_SELECT_KEYPAIR;
...
EVP_PKEY_fromdata(ctx, pkeyp, selection, params)
...The defect is that OQS provider fail to create key. Tested with ML-DSA and SLH-DSA keys.
This is not an issue in OpenSSL (>=3.5) default provider.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working