Lines Matching full:cd
35 * @param[in] cd - crypt device handle.
48 virtual int cryptFormat(struct crypt_device* cd, const char* type,
56 * @param[in] cd - crypt device handle.
67 struct crypt_device* cd, int keyslotOld, int keyslotNew,
74 * @param[in] cd - crypt device handle.
85 struct crypt_device* cd, int keyslot, const char* volumeKey,
92 * @param[in] cd - crypt device handle.
98 virtual int cryptLoad(struct crypt_device* cd, const char* requestedType,
104 * @param[in] cd - crypt device handle.
115 struct crypt_device* cd, const char* name, int keyslot,
121 * @param[in] cd - crypt device handle, can be NULL.
126 virtual int cryptDeactivate(struct crypt_device* cd, const char* name) = 0;
131 * @param[in] cd - crypt device handle, can not be NULL.
136 virtual int cryptKeyslotDestroy(struct crypt_device* cd, int keyslot) = 0;
152 * @param cd crypt device handle
157 virtual crypt_keyslot_info cryptKeySlotStatus(struct crypt_device* cd,
182 int cryptFormat(struct crypt_device* cd, const char* type, in cryptFormat() argument
187 return crypt_format(cd, type, cipher, cipherMode, uuid, volumeKey, in cryptFormat()
192 struct crypt_device* cd, int keyslotOld, int keyslotNew, in cryptKeyslotChangeByPassphrase() argument
197 cd, keyslotOld, keyslotNew, passphrase, passphraseSize, in cryptKeyslotChangeByPassphrase()
201 int cryptKeyslotAddByVolumeKey(struct crypt_device* cd, int keyslot, in cryptKeyslotAddByVolumeKey() argument
207 cd, keyslot, volumeKey, volumeKeySize, passphrase, passphraseSize); in cryptKeyslotAddByVolumeKey()
210 int cryptLoad(struct crypt_device* cd, const char* requestedType, in cryptLoad() argument
213 return crypt_load(cd, requestedType, params); in cryptLoad()
217 struct crypt_device* cd, const char* name, int keyslot, in cryptActivateByPassphrase() argument
220 return crypt_activate_by_passphrase(cd, name, keyslot, passphrase, in cryptActivateByPassphrase()
224 int cryptDeactivate(struct crypt_device* cd, const char* name) override in cryptDeactivate() argument
226 return crypt_deactivate(cd, name); in cryptDeactivate()
229 int cryptKeyslotDestroy(struct crypt_device* cd, const int keyslot) override in cryptKeyslotDestroy() argument
231 return crypt_keyslot_destroy(cd, keyslot); in cryptKeyslotDestroy()
239 crypt_keyslot_info cryptKeySlotStatus(struct crypt_device* cd, in cryptKeySlotStatus() argument
242 return crypt_keyslot_status(cd, keyslot); in cryptKeySlotStatus()
300 * @param[in] cd - pointer to crypt_device*, to be freed
302 static void cryptFree(struct crypt_device*&& cd) in cryptFree() argument
304 crypt_free(cd); in cryptFree()