Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-crypt.c2889 char *start, *end, *mac_alg = NULL; in crypt_ctr_auth_cipher() local
2900 mac_alg = kzalloc(end - start + 1, GFP_KERNEL); in crypt_ctr_auth_cipher()
2901 if (!mac_alg) in crypt_ctr_auth_cipher()
2903 strncpy(mac_alg, start, end - start); in crypt_ctr_auth_cipher()
2905 mac = crypto_alloc_ahash(mac_alg, 0, CRYPTO_ALG_ALLOCATES_MEMORY); in crypt_ctr_auth_cipher()
2906 kfree(mac_alg); in crypt_ctr_auth_cipher()