diff options
author | Jack Lloyd <[email protected]> | 2017-08-04 15:22:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-04 15:22:33 -0400 |
commit | 87fcd69b587ccd60c5f248b40003cf9a0a558a53 (patch) | |
tree | c558cab7be5e591a36d74c3f8948c018a1c89bb7 /src/tests/test_pubkey.h | |
parent | 58b1f7cc90b3e5c8a4bbff7adf2c001db0ef4d21 (diff) |
Add SM2 encryption scheme
This is a contribution from Ribose Inc (@riboseinc)
Diffstat (limited to 'src/tests/test_pubkey.h')
-rw-r--r-- | src/tests/test_pubkey.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_pubkey.h b/src/tests/test_pubkey.h index 5d1b2cd99..5d8536496 100644 --- a/src/tests/test_pubkey.h +++ b/src/tests/test_pubkey.h @@ -121,6 +121,12 @@ class PK_Encryption_Decryption_Test : public PK_Test { return "Raw"; } + + virtual Botan::RandomNumberGenerator* test_rng(const std::vector<uint8_t>& nonce) const + { + return new Fixed_Output_RNG(nonce); + } + private: Test::Result run_one_test(const std::string& header, const VarMap& vars) override final; }; |