aboutsummaryrefslogtreecommitdiff
path: root/crypto/block-luks.c
AgeCommit message (Expand)AuthorFilesLines
2021-01-28qapi: Use QAPI_LIST_APPEND in trivial casesEric Blake1-6/+3
2020-07-06qcrypto/luks: implement encryption key managementMaxim Levitsky1-4/+412
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é1-52/+22
2019-07-19crypto: Fix LGPL information in the file headersThomas Huth1-1/+1
2019-03-21crypto/block: remove redundant struct packing to fix build with gcc 9Greg Kurz1-2/+2
2018-12-12crypto: support multiple threads accessing one QCryptoBlockVladimir Sementsov-Ogievskiy1-12/+10
2018-12-12crypto/block: introduce qcrypto_block_*crypt_helper functionsVladimir Sementsov-Ogievskiy1-8/+6
2018-12-12crypto/block: rename qcrypto_block_*crypt_helperVladimir Sementsov-Ogievskiy1-22/+22
2018-12-12crypto/block-luks: fix memory leak in qcrypto_block_luks_createVladimir Sementsov-Ogievskiy1-0/+3
2018-06-01crypto: use local path for local headersMichael S. Tsirkin1-1/+1
2017-10-06block: convert qcrypto_block_encrypt|decrypt to take bytes offsetDaniel P. Berrange1-4/+8
2017-10-06crypto: expose encryption sector size in APIsDaniel P. Berrange1-2/+4
2017-09-04qapi: Change data type of the FOO_lookup generated for enum FOOMarc-André Lureau1-4/+4
2017-09-04qapi: Mechanically convert FOO_lookup[...] to FOO_str(...)Markus Armbruster1-6/+6
2017-09-04qapi: Generate FOO_str() macro for QAPI enum FOOMarkus Armbruster1-1/+0
2017-09-04crypto: Use qapi_enum_parse() in qcrypto_block_luks_name_lookup()Markus Armbruster1-12/+7
2017-07-11block: pass option prefix down to crypto layerDaniel P. Berrange1-2/+6
2017-05-09crypto: move 'opaque' parameter to (nearly) the end of parameter listDaniel P. Berrange1-5/+8
2017-04-24crypto: Make errp the last parameter of functionsFam Zheng1-12/+9
2016-09-23crypto: Switch to QEMU UUID APIFam Zheng1-19/+7
2016-09-19crypto: increase default pbkdf2 time for luks to 2 secondsDaniel P. Berrange1-1/+1
2016-09-19crypto: remove bogus /= 2 for pbkdf iterationsDaniel P. Berrange1-4/+0
2016-09-19crypto: use correct derived key size when timing pbkdfDaniel P. Berrange1-0/+2
2016-09-19crypto: make PBKDF iterations configurable for LUKS formatDaniel P. Berrange1-0/+24
2016-09-19crypto: use uint64_t for pbkdf iteration count parametersDaniel P. Berrange1-21/+31
2016-07-26crypto: add support for querying parameters for block encryptionDaniel P. Berrange1-0/+67
2016-07-04crypto: fix handling of iv generator hash defaultsDaniel P. Berrange1-0/+21
2016-06-07crypto: Use DIV_ROUND_UPLaurent Vivier1-4/+2
2016-05-19qemu-common: stop including qemu/bswap.h from qemu-common.hPaolo Bonzini1-0/+1
2016-03-22include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster1-0/+1
2016-03-17crypto: implement the LUKS block encryption formatDaniel P. Berrange1-0/+1328