aboutsummaryrefslogtreecommitdiff
path: root/crypto
AgeCommit message (Expand)AuthorFilesLines
2019-12-20Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell1-8/+5
2019-12-18crypto: Fix certificate file error handling crash bugMarkus Armbruster1-1/+1
2019-12-17stubs: replace stubs with lnot if applicablePaolo Bonzini1-2/+1
2019-12-17crypto: move common bits for all emulators to libqemuutilPaolo Bonzini1-7/+5
2019-10-28crypto: add support for nettle's native XTS implDaniel P. Berrangé1-0/+18
2019-10-28crypto: add support for gcrypt's native XTS implDaniel P. Berrangé2-34/+65
2019-09-26qcrypto-luks: more rigorous header checkingMaxim Levitsky1-0/+52
2019-09-26qcrypto-luks: simplify the math used for keyslot locationsMaxim Levitsky1-23/+40
2019-09-26qcrypto-luks: extract store key functionMaxim Levitsky1-123/+181
2019-09-26qcrypto-luks: extract check and parse headerMaxim Levitsky1-98/+125
2019-09-26qcrypto-luks: extract store and load headerMaxim Levitsky1-62/+93
2019-09-26qcrypto-luks: purge unused error codes from open callbackMaxim Levitsky1-32/+13
2019-09-26qcrypto-luks: use the parsed encryption settings in QCryptoBlockLUKSMaxim Levitsky1-90/+79
2019-09-26qcrypto-luks: pass keyslot index rather that pointer to the keyslotMaxim Levitsky1-3/+3
2019-09-26qcrypto-luks: simplify masterkey and masterkey lengthMaxim Levitsky1-23/+21
2019-09-26qcrypto-luks: don't overwrite cipher_mode in headerMaxim Levitsky1-3/+6
2019-09-26qcrypto-luks: rename some fields in QCryptoBlockLUKSHeaderMaxim Levitsky1-44/+47
2019-08-22crypto: use auto cleanup for many stack variablesDaniel P. Berrangé8-133/+65
2019-08-22glib: bump min required glib library version to 2.48Daniel P. Berrangé1-5/+0
2019-07-19crypto: Fix LGPL information in the file headersThomas Huth38-38/+38
2019-07-19crypto: fix function signatures for nettle 2.7 vs 3Daniel P. Berrangé2-7/+22
2019-07-19crypto: switch to modern nettle AES APIsDaniel P. Berrangé1-35/+183
2019-06-12Normalize position of header guardMarkus Armbruster3-13/+10
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-1/+0
2019-06-12Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster5-0/+5
2019-05-22crypto: Change the qcrypto_random_bytes buffer type to void*Richard Henderson3-4/+4
2019-05-22crypto: Use getrandom for qcrypto_random_bytesRichard Henderson1-5/+32
2019-05-22crypto: Use O_CLOEXEC in qcrypto_random_initRichard Henderson1-2/+2
2019-05-22crypto: Do not fail for EINTR during qcrypto_random_bytesRichard Henderson1-21/+15
2019-05-22crypto: Reverse code blocks in random-platform.cRichard Henderson1-18/+17
2019-05-22build: Link user-only with crypto random number objectsRichard Henderson1-5/+6
2019-03-22trace-events: Shorten file names in commentsMarkus Armbruster1-5/+5
2019-03-21crypto/block: remove redundant struct packing to fix build with gcc 9Greg Kurz1-2/+2
2019-02-26authz: delete existing ACL implementationDaniel P. Berrange2-19/+18
2019-02-05crypto: finish removing TABsPaolo Bonzini2-504/+504
2019-01-30Don't talk about the LGPL if the file is licensed under the GPLThomas Huth1-6/+5
2019-01-11remove space-tab sequencesPaolo Bonzini1-14/+14
2018-12-12crypto: support multiple threads accessing one QCryptoBlockVladimir Sementsov-Ogievskiy4-41/+163
2018-12-12crypto/block: introduce qcrypto_block_*crypt_helper functionsVladimir Sementsov-Ogievskiy4-16/+54
2018-12-12crypto/block: rename qcrypto_block_*crypt_helperVladimir Sementsov-Ogievskiy4-81/+83
2018-12-12crypto/block: refactor qcrypto_block_*crypt_helper functionsVladimir Sementsov-Ogievskiy1-50/+31
2018-12-12crypto/block-luks: fix memory leak in qcrypto_block_luks_createVladimir Sementsov-Ogievskiy1-0/+3
2018-11-19io: return 0 for EOF in TLS session read after shutdownDaniel P. Berrangé1-0/+3
2018-11-05crypto: initialize sector size even when opening with no IO flagDaniel P. Berrangé1-0/+2
2018-10-24crypto: annotate xts_tweak_encdec as inlineableDaniel P. Berrangé1-5/+5
2018-10-24crypto: convert xts_mult_x to use xts_uint128 typeDaniel P. Berrangé1-12/+28
2018-10-24crypto: convert xts_tweak_encdec to use xts_uint128 typeDaniel P. Berrangé1-26/+58
2018-10-24crypto: introduce a xts_uint128 data typeDaniel P. Berrangé1-20/+26
2018-10-24crypto: remove code duplication in tweak encrypt/decryptDaniel P. Berrangé1-49/+15
2018-10-19crypto: require nettle >= 2.7.1 for building QEMUDaniel P. Berrangé1-2/+2