Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-crypt.c1572 char *cipher_api = NULL; in crypt_ctr_cipher() local
1629 cipher_api = kmalloc(CRYPTO_MAX_ALG_NAME, GFP_KERNEL); in crypt_ctr_cipher()
1630 if (!cipher_api) in crypt_ctr_cipher()
1633 ret = snprintf(cipher_api, CRYPTO_MAX_ALG_NAME, in crypt_ctr_cipher()
1636 kfree(cipher_api); in crypt_ctr_cipher()
1641 ret = crypt_alloc_tfms(cc, cipher_api); in crypt_ctr_cipher()
1720 kfree(cipher_api); in crypt_ctr_cipher()