Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_nl.c2298 struct crypto_shash *cram_hmac_tfm; member
2339 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()
2348 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()
2444 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()
2445 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()
2591 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
H A Ddrbd_receiver.c1069 if (connection->cram_hmac_tfm) { in conn_connect()
5386 crypto_shash_descsize(connection->cram_hmac_tfm), in drbd_do_auth()
5392 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()
5394 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()
5456 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
H A Ddrbd_int.h647 struct crypto_shash *cram_hmac_tfm; member
H A Ddrbd_main.c2480 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()
2488 connection->cram_hmac_tfm = NULL; in conn_free_crypto()