Searched refs:QCryptoBlockLUKSHeader (Results 1 – 3 of 3) sorted by relevance
342 typedef const char *(*LuksHeaderDoBadStuff)(QCryptoBlockLUKSHeader *hdr);351 QCryptoBlockLUKSHeader hdr; in test_luks_bad_header()437 static const char *luks_bad_cipher_xts_size(QCryptoBlockLUKSHeader *hdr) in luks_bad_cipher_xts_size()444 static const char *luks_bad_cipher_cbc_size(QCryptoBlockLUKSHeader *hdr) in luks_bad_cipher_cbc_size()466 static const char *luks_bad_ivgen_separator(QCryptoBlockLUKSHeader *hdr) in luks_bad_ivgen_separator()473 static const char *luks_bad_ivgen_name_empty(QCryptoBlockLUKSHeader *hdr) in luks_bad_ivgen_name_empty()501 static const char *luks_bad_hash_spec_empty(QCryptoBlockLUKSHeader *hdr) in luks_bad_hash_spec_empty()515 static const char *luks_bad_stripes(QCryptoBlockLUKSHeader *hdr) in luks_bad_stripes()529 static const char *luks_bad_key_overlap_key(QCryptoBlockLUKSHeader *hdr) in luks_bad_key_overlap_key()550 static const char *luks_bad_key_iterations(QCryptoBlockLUKSHeader *hdr) in luks_bad_key_iterations()[all …]
46 typedef struct QCryptoBlockLUKSHeader QCryptoBlockLUKSHeader; typedef99 struct QCryptoBlockLUKSHeader { struct139 qcrypto_block_luks_to_disk_endian(QCryptoBlockLUKSHeader *hdr); argument141 qcrypto_block_luks_from_disk_endian(QCryptoBlockLUKSHeader *hdr);
119 QEMU_BUILD_BUG_ON(sizeof(struct QCryptoBlockLUKSHeader) != 592);123 QCryptoBlockLUKSHeader header;241 const QCryptoBlockLUKSHeader *luks_header = (const void *)buf; in qcrypto_block_luks_has_format()243 if (buf_size >= offsetof(QCryptoBlockLUKSHeader, cipher_name) && in qcrypto_block_luks_has_format()364 qcrypto_block_luks_to_disk_endian(QCryptoBlockLUKSHeader *hdr) in qcrypto_block_luks_to_disk_endian()386 qcrypto_block_luks_from_disk_endian(QCryptoBlockLUKSHeader *hdr) in qcrypto_block_luks_from_disk_endian()418 g_autofree QCryptoBlockLUKSHeader *hdr_copy = NULL; in qcrypto_block_luks_store_header()421 hdr_copy = g_new0(QCryptoBlockLUKSHeader, 1); in qcrypto_block_luks_store_header()422 memcpy(hdr_copy, &luks->header, sizeof(QCryptoBlockLUKSHeader)); in qcrypto_block_luks_store_header()