Searched refs:cipherMode (Results 1 – 4 of 4) sorted by relevance
/dflybsd-src/contrib/cryptsetup/luks/ |
H A D | keyencryption.c | 90 static char *_error_hint(char *cipherName, char *cipherMode, size_t keyLength) in _error_hint() argument 107 if (!strncmp(cipherMode, "xts", 3) && (keyLength != 256 && keyLength != 512)) in _error_hint() 109 else if (!strncmp(cipherMode, "xts", 3) && kernel_minor < 24) in _error_hint() 111 if (!strncmp(cipherMode, "lrw", 3) && (keyLength != 256 && keyLength != 512)) in _error_hint() 113 else if (!strncmp(cipherMode, "lrw", 3) && kernel_minor < 20) in _error_hint() 142 asprintf(&dmCipherSpec,"%s-%s",hdr->cipherName, hdr->cipherMode) == -1) { in LUKS_endec_template() 156 _error_hint(hdr->cipherName, hdr->cipherMode, keyLength * 8)); in LUKS_endec_template()
|
H A D | luks.h | 49 char cipherMode[LUKS_CIPHERMODE_L]; member 89 const char *cipherMode,
|
H A D | keymanage.c | 423 const char *cipherName, const char *cipherMode, const char *hashSpec, in LUKS_generate_phdr() argument 449 strncpy(header->cipherMode,cipherMode,LUKS_CIPHERMODE_L); in LUKS_generate_phdr() 457 header->version, header->hashSpec ,header->cipherName, header->cipherMode, in LUKS_generate_phdr()
|
/dflybsd-src/contrib/cryptsetup/lib/ |
H A D | setup.c | 740 char cipherMode[LUKS_CIPHERMODE_L]; in crypt_luksFormat() local 750 r = parse_into_name_and_mode(options->cipher, cipherName, cipherMode); in crypt_luksFormat() 774 r = crypt_format(cd, CRYPT_LUKS1, cipherName, cipherMode, in crypt_luksFormat() 1986 log_std(cd, "Cipher mode: \t%s\n", cd->hdr.cipherMode); in crypt_dump() 2041 return cd->hdr.cipherMode; in crypt_get_cipher_mode()
|