Subclass of LMI_EncryptionFormatCapabilities
LMI_LUKSFormatCapabilities specifies combination of property values, which can be used to create a LUKS format using LMI_LUKSConfigurationService.
string[] OtherChainModes
Array of names of supported encryption modes which have value “Other” in ChainModes property.
uint16[] Ciphers
Array of supported encryption block ciphers.
ValueMap Values 0 Blowfish 1 Serpent 2 AES 65535 Other
string[] OtherCiphers
Array of names of supported block ciphers for ciphers which have value “Other” in Ciphers property. Not every combination of Cipher and ChainMode is allowed. All possible combinations can be retrieved by GetSupportedChainModes() method.
string[] OtherESSIVHashAlhorithms
Array of names of other hash algorithms to derive initial vector in “ESSIV” mode, which have value “Other” in ESSIVHashAlhorithms property.
uint16[] ESSIVHashAlhorithms
Array of supported hash algorithms used to derive initial vector in “ESSIV” mode.
ValueMap Values 0 SHA256 1 SHA1 2 MD5 3 Other
uint16[] IVModes
Array of supported initialization vector modes.
ValueMap Values 0 Plain 1 Plain64 2 ESSIV 3 BENBI 4 Null 5 LMK 65535 Other
uint16[] ChainModes
Array of supported encryption modes.
ValueMap Values 0 CTR 1 CBC 2 ECB 3 XTR 4 LRW 5 PCBC 65535 Other
uint32 GetSupportedChainModes (uint16 Cipher, string OtherCipher, uint16[] ChainModes, string[] OtherChainModes, uint16[] KeySizeMin, uint16[] KeySizeMax)
Discover all encryption modes which are supported for given block cipher. Minimum and maximum key sizes are also returned.
Parameters
- IN uint16 Cipher
Encryption block cipher.
ValueMap Values 0 Blowfish 1 Serpent 2 AES 65535 Other - IN string OtherCipher
- Name of other encryption block cipher if Cipher property has value of “Other”.
- OUT uint16[] ChainModes
Array of supported encryption modes for given cipher.
ValueMap Values 0 CTR 1 CBC 2 ECB 3 XTR 4 LRW 5 PCBC 65535 Other - OUT string[] OtherChainModes
- Array of names of supported encryption modes which have value “Other” in ChainModes parameter.
- OUT uint16[] KeySizeMin
- Array of integers specifying the minimum key size in bytes corresponding to given block cipher and entry in ChainModes parameter.
- OUT uint16[] KeySizeMax
- Array of integers specifying the maximum key size in bytes corresponding to given block cipher and entry in ChainModes parameter.