Crypto: CtxFlow now uses an interface for additional steps. Add CTX step to handle paramgen. Remove redundant test. Overhaul of EVP update/initializer/final mechanics. Misc. updates for new API and refactoring EVPKeyGenOperation. Clean up of keygen_operaitons.ql.

This commit is contained in:
REDMOND\brodes
2025-06-09 15:07:00 -04:00
parent 98aae6a7bf
commit 4f2045bbdd
9 changed files with 266 additions and 143 deletions

View File

@@ -1,7 +0,0 @@
import cpp
import experimental.quantum.Language
import experimental.quantum.OpenSSL.Operations.EVPKeyGenOperation
from EVPKeyGenOperation keyGen, Crypto::KeyArtifactNode key
where keyGen = key.asElement().(Crypto::KeyArtifactOutputInstance).getCreator()
select keyGen, key, key.getAKnownAlgorithm()

View File

@@ -1,6 +1,6 @@
import cpp
import experimental.quantum.Language
import experimental.quantum.OpenSSL.Operations.EVPKeyGenOperation
import experimental.quantum.OpenSSL.OpenSSL
from Crypto::KeyGenerationOperationInstance n //KeyGenerationOperationNode n
select n, n.getOutputKeyArtifact(), n.getKeyArtifactOutputInstance() // , n.getAnAlgorithmOrGenericSource()
from Crypto::KeyGenerationOperationNode n
select n, n.getOutputKeyArtifact(), n.getAnAlgorithmOrGenericSource()