mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-12 20:09:33 -07:00
GNUTLS doesn't know how to perform I/O on anything other than plain FDs, so the TLS session provides it with some I/O callbacks. The GNUTLS API design requires these callbacks to return a unix errno value, which means we're currently loosing the useful QEMU "Error" object. This changes the I/O callbacks in QEMU to stash the "Error" object in the QCryptoTLSSession class, and fetch it when seeing an I/O error returned from GNUTLS, thus preserving useful error messages. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> |
||
|---|---|---|
| .. | ||
| aes-round.h | ||
| aes.h | ||
| afsplit.h | ||
| akcipher.h | ||
| block.h | ||
| cipher.h | ||
| clmul.h | ||
| desrfb.h | ||
| hash.h | ||
| hmac.h | ||
| init.h | ||
| ivgen.h | ||
| pbkdf.h | ||
| random.h | ||
| secret.h | ||
| secret_common.h | ||
| secret_keyring.h | ||
| sm4.h | ||
| tls-cipher-suites.h | ||
| tlscreds.h | ||
| tlscredsanon.h | ||
| tlscredspsk.h | ||
| tlscredsx509.h | ||
| tlssession.h | ||
| xts.h | ||