Home
last modified time | relevance | path

Searched refs:ciphermode (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-crypt.c1763 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher() argument
1775 cc->cipher_tfm.tfms[i] = crypto_alloc_skcipher(ciphermode, 0, 0); in crypt_alloc_tfms_skcipher()
1788 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_skcipher()
1793 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead() argument
1801 cc->cipher_tfm.tfms_aead[0] = crypto_alloc_aead(ciphermode, 0, 0); in crypt_alloc_tfms_aead()
1808 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_aead()
1813 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms() argument
1816 return crypt_alloc_tfms_aead(cc, ciphermode); in crypt_alloc_tfms()
1818 return crypt_alloc_tfms_skcipher(cc, ciphermode); in crypt_alloc_tfms()