From 6e9db598e32f4e54815d7d691d2527a73bd33899 Mon Sep 17 00:00:00 2001 From: Alexey Stratulat <alexey.stratulat@demlabs.net> Date: Mon, 15 Jul 2019 13:46:37 +0700 Subject: [PATCH] [+] Created a test for dap_enc_key. It checks the addition and removal of a key. --- test/dap_enc_key_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/dap_enc_key_test.py diff --git a/test/dap_enc_key_test.py b/test/dap_enc_key_test.py new file mode 100644 index 00000000..17a5476a --- /dev/null +++ b/test/dap_enc_key_test.py @@ -0,0 +1,11 @@ +import libdap_crypto_python_module as crypto + +print ("Start dap_enc_key_test") +print ("Crypto init") +crypto.init() +print ("Create KEY") +key = crypto.newKey(1) +print ("Dellete key") +crypto.delKey(key) +print ("Crypto deinit") +crypto.deinit -- GitLab