Module Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLtE AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num body Print Str Return NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys N/A unittest N/A pyhsm N/A test_common TestUtil N/A N/A test_common YHSM_TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A test_common YHSM_TestCase setUp self N/A test_using_disabled_keyhandle N/A N/A self N/A N/A N/A  Test using a disabled key handle.  N/A N/A N/A N/A N/A N/A self hsm version have_keydisable N/A N/A None N/A N/A N/A res N/A N/A N/A self hsm aes_ecb_encrypt 8193 klartext N/A N/A N/A self fail N/A Expected YSM_FUNCTION_DISABLED, got %s res N/A N/A N/A N/A N/A pyhsm exception YHSM_CommandFailed N/A e N/A N/A N/A N/A self assertEquals N/A e status N/A N/A pyhsm defines YSM_FUNCTION_DISABLED N/A test_keystore_unlock N/A N/A self N/A N/A N/A  Test locking and then unlocking keystore.  N/A N/A N/A N/A N/A self hsm version ver N/A 0 9 8 N/A N/A Test for known bug in 0.9.8 disabled. N/A None N/A cleartext reference N/A nonce N/A N/A 010203040506 decode hex N/A res_before N/A N/A N/A self hsm generate_aead_simple nonce 8192 cleartext N/A N/A N/A res N/A N/A N/A self hsm key_storage_unlock N/A A 8 N/A N/A N/A self fail N/A Expected YSM_MISMATCH/YSM_KEY_STORAGE_LOCKED, got %s res N/A N/A N/A N/A N/A pyhsm exception YHSM_CommandFailed N/A e N/A N/A N/A N/A N/A N/A self hsm version have_key_store_decrypt N/A N/A N/A N/A self assertEquals N/A e status N/A N/A pyhsm defines YSM_MISMATCH N/A N/A N/A N/A self assertEquals N/A e status N/A N/A pyhsm defines YSM_KEY_STORAGE_LOCKED N/A N/A N/A res N/A N/A N/A self hsm generate_aead_simple nonce 8192 cleartext N/A N/A N/A self fail N/A Expected YSM_KEY_STORAGE_LOCKED, got %s (before lock: %s) N/A N/A N/A N/A res data encode hex N/A N/A N/A res_before data encode hex N/A N/A N/A N/A N/A pyhsm exception YHSM_CommandFailed N/A e N/A N/A N/A N/A self assertEquals N/A e status N/A N/A pyhsm defines YSM_KEY_STORAGE_LOCKED N/A N/A N/A self assertTrue N/A N/A N/A self hsm key_storage_unlock N/A N/A N/A test_common HsmPassphrase decode hex N/A res_after N/A N/A N/A self hsm generate_aead_simple nonce 8192 cleartext N/A N/A N/A self assertEquals N/A res_before data N/A res_after data N/A N/A