Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/block/drbd/
Ddrbd_nl.c2070 struct crypto_hash *cram_hmac_tfm; member
2111 rv = alloc_hash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()
2120 crypto_free_hash(crypto->cram_hmac_tfm); in free_crypto()
2216 crypto_free_hash(connection->cram_hmac_tfm); in drbd_adm_net_opts()
2217 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()
2340 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
Ddrbd_receiver.c1045 if (connection->cram_hmac_tfm) { in conn_connect()
4917 desc.tfm = connection->cram_hmac_tfm; in drbd_do_auth()
4920 rv = crypto_hash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()
4983 resp_size = crypto_hash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
Ddrbd_int.h739 struct crypto_hash *cram_hmac_tfm; member
Ddrbd_main.c2511 crypto_free_hash(connection->cram_hmac_tfm); in conn_free_crypto()
2519 connection->cram_hmac_tfm = NULL; in conn_free_crypto()