def test_who_can_generate_simple(self):
        # Enabled flags 00000002 = YSM_AEAD_GENERATE
        # 00000002 - stored ok
        if self.hsm.version.ver < (1,0,4):
            raise unittest.SkipTest("Requires 1.0.4 or greater")
        this = lambda kh: self.hsm.generate_aead_simple(self.nonce, kh, self.secret)
        self.who_can(this, expected = [0x20000002], extra_khs = [0x1002, 0x20000002])
Test what key handles can generate a simple AEAD.
dataset/ETHPy150Open Yubico/python-pyhsm/test/test_aead.py/TestAEAD.test_who_can_generate_simple