aboutsummaryrefslogtreecommitdiff
path: root/crypto/block-luks.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-14qapi crypto: Elide redundant has_FOO in generated CMarkus Armbruster1-8/+8
2022-10-27crypto: quote algorithm names in error messagesDaniel P. Berrangé1-3/+3
2022-10-27crypto: split off helpers for converting LUKS header endianessDaniel P. Berrangé1-32/+47
2022-10-27crypto: split LUKS header definitions off into fileDaniel P. Berrangé1-93/+1
2022-10-27crypto: check that LUKS PBKDF2 iterations count is non-zeroDaniel P. Berrangé1-0/+11
2022-10-27crypto: strengthen the check for key slots overlapping with LUKS headerDaniel P. Berrangé1-1/+1
2022-10-27crypto: validate that LUKS payload doesn't overlap with headerDaniel P. Berrangé1-0/+7
2022-10-27crypto: enforce that key material doesn't overlap with LUKS headerDaniel P. Berrangé1-0/+8
2022-10-27crypto: enforce that LUKS stripes is always a fixed valueDaniel P. Berrangé1-2/+3
2022-10-27crypto: sanity check that LUKS header strings are NUL-terminatedDaniel P. Berrangé1-0/+18
2022-07-12crypto: Make block callbacks return 0 on successAlberto Faria1-4/+4
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