2.7 KiB
2.7 KiB
Payment Simulation Recipe Candidates
This list targets software-only development and testing environments.
Frame And Transport Simulation
- Length-prefix builder/parser pairs for command and response replay.
- Status code mutation recipes (success/error branch testing).
- Header-length fuzzing recipes for parser hardening.
TR-31 Simulation
- Header mutation recipes (usage, mode, exportability, optional block counts).
- Optional-block truncation and malformed-length negative tests.
- Prefix-normalization recipes (
Rprefix handling). - Create TR-31 key block recipes for symmetric test keys and round-trip parse validation.
TR-34 Simulation
- Envelope section split/rebuild recipes.
- ASN.1 length corruption tests.
- Signature-length mismatch recipes.
KCV And Key Lifecycle Simulation
- KCV cross-check recipes across TDES, AES-CMAC, and HMAC methods.
- Variant-mask simulation for derived key classes.
- Deterministic fixed-vector recipes for regression checks.
ECDH Simulation
- Static keypair handshake vectors.
- Shared-info permutations in Concat KDF.
- Curve mismatch and malformed key negative tests.
DUKPT Simulation
- IPEK derivation from known BDK/KSN vectors.
- Counter progression replay across KSN ranges.
- Variant-mask output sets for transaction classes.
EMV/Scheme-Level Candidate Recipes
- ARQC generation checks for AES-CMAC profiles with fixed session keys and known CDOL payloads.
- ARPC generation checks for AES-CMAC response profiles with explicit ARC/CSU/proprietary-data assembly.
- Tag concatenation and canonical ordering checks.
- Session derivation input normalization checks.
- Cryptogram preimage assembly validation recipes.
- PAN parser and network classifier recipes for Visa (
4, typically 13/16/19 digits), Mastercard (51-55,2221-2720, 16 digits), American Express (34,37, 15 digits), and Discover (6011,644-649,65, and622126-622925, typically 16-19 digits), including Luhn validation and issuer-range explanation.
AWS Payment Cryptography Candidate Recipes
EncryptDataandDecryptDataparity vectors for AES, TDES, and RSA.ReEncryptDataparity vectors for decrypt-then-encrypt workflows.GenerateMacandVerifyMacparity vectors across HMAC, CMAC, ISO9797, DUKPT, AS2805, and EMV MAC profiles.VerifyAuthRequestCryptogrampreimage-validation recipes for the implemented AES-CMAC EMV profiles.- DUKPT derivation-plus-cipher recipes for AWS derived-key lab testing.
- ECDH plus wrap/unwrap plus TR-31 inspection recipes for
TranslateKeyMaterialinteroperability debugging. - Remaining gap-tracking recipes for encrypted PIN translation, richer EMV session derivation, and fuller TR-31/TR-34 generation flows.