Reimplement EC, MAC, key creation logic + consumer

This commit is contained in:
Nicolas Will
2025-04-15 23:00:12 -04:00
parent b9d0abda63
commit 1958c192ec
4 changed files with 834 additions and 471 deletions

View File

@@ -5,7 +5,7 @@
import experimental.Quantum.Language
from
Crypto::CipherOperationNode op, Crypto::KeyOperationAlgorithmNode a,
Crypto::KeyOperationNode op, Crypto::KeyOperationAlgorithmNode a,
Crypto::ModeOfOperationAlgorithmNode m, Crypto::PaddingAlgorithmNode p,
Crypto::NonceArtifactNode nonce, Crypto::KeyArtifactNode k
where
@@ -15,4 +15,4 @@ where
nonce = op.getANonce() and
k = op.getAKey()
select op, op.getKeyOperationSubtype(), a, a.getRawAlgorithmName(), m, m.getRawAlgorithmName(), p,
p.getRawAlgorithmName(), nonce, k, k.getSourceElement()
p.getRawAlgorithmName(), nonce, k