Searched refs:cipher_mode (Results 1 – 3 of 3) sorted by relevance
/qemu/tests/unit/ |
H A D | test-crypto-block.c | 82 .cipher_mode = QCRYPTO_CIPHER_MODE_CBC, 96 .cipher_mode = QCRYPTO_CIPHER_MODE_CBC, 116 QCryptoCipherMode cipher_mode; member 132 .cipher_mode = QCRYPTO_CIPHER_MODE_CBC, 145 .cipher_mode = QCRYPTO_CIPHER_MODE_XTS, 160 .cipher_mode = QCRYPTO_CIPHER_MODE_CBC, 412 char *offset = hdr->cipher_mode + strlen(hdr->cipher_mode); in luks_bad_null_term_cipher_mode() 413 memset(offset, ' ', sizeof(hdr->cipher_mode) - (offset - hdr->cipher_mode)); in luks_bad_null_term_cipher_mode() 458 memcpy(hdr->cipher_mode, "", 1); in luks_bad_cipher_mode_empty() 465 memcpy(hdr->cipher_mode, "xfs", 4); in luks_bad_cipher_mode_unknown() [all …]
|
/qemu/crypto/ |
H A D | block-luks.c | 128 QCryptoCipherMode cipher_mode; member 499 if (!memchr(luks->header.cipher_mode, '\0', in qcrypto_block_luks_check_header() 594 g_autofree char *cipher_mode = g_strdup(luks->header.cipher_mode); in qcrypto_block_luks_parse_header() local 606 ivgen_name = strchr(cipher_mode, '-'); in qcrypto_block_luks_parse_header() 609 luks->header.cipher_mode); in qcrypto_block_luks_parse_header() 630 luks->cipher_mode = qcrypto_block_luks_cipher_mode_lookup(cipher_mode, in qcrypto_block_luks_parse_header() 789 luks->cipher_mode, in qcrypto_block_luks_store_key() 1313 const char *cipher_mode; in qcrypto_block_luks_create() local 1348 luks->cipher_mode = luks_opts.cipher_mode; in qcrypto_block_luks_create() 1387 cipher_mode = QCryptoCipherMode_str(luks_opts.cipher_mode); in qcrypto_block_luks_create() [all …]
|
H A D | block-luks-priv.h | 110 char cipher_mode[QCRYPTO_BLOCK_LUKS_CIPHER_MODE_LEN]; member
|