Searched refs:ciphermode (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-crypt.c | 2286 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher() argument 2298 cc->cipher_tfm.tfms[i] = crypto_alloc_skcipher(ciphermode, 0, in crypt_alloc_tfms_skcipher() 2312 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_skcipher() 2317 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead() argument 2325 cc->cipher_tfm.tfms_aead[0] = crypto_alloc_aead(ciphermode, 0, in crypt_alloc_tfms_aead() 2333 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_aead() 2338 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms() argument 2341 return crypt_alloc_tfms_aead(cc, ciphermode); in crypt_alloc_tfms() 2343 return crypt_alloc_tfms_skcipher(cc, ciphermode); in crypt_alloc_tfms()
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | dm-crypt.c | 2354 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher() argument 2366 cc->cipher_tfm.tfms[i] = crypto_alloc_skcipher(ciphermode, 0, in crypt_alloc_tfms_skcipher() 2380 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_skcipher() 2385 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead() argument 2393 cc->cipher_tfm.tfms_aead[0] = crypto_alloc_aead(ciphermode, 0, in crypt_alloc_tfms_aead() 2401 DMDEBUG_LIMIT("%s using implementation \"%s\"", ciphermode, in crypt_alloc_tfms_aead() 2406 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms() argument 2409 return crypt_alloc_tfms_aead(cc, ciphermode); in crypt_alloc_tfms() 2411 return crypt_alloc_tfms_skcipher(cc, ciphermode); in crypt_alloc_tfms()
|