def generate_aead(self, nonce, key_handle):
        return pyhsm.aead_cmd.YHSM_Cmd_AEAD_Buffer_Generate(self.stick, nonce, key_handle).execute()
Ask YubiHSM to return an AEAD made of the contents of it's internal buffer
dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/base.py/YHSM.generate_aead