Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_nl.c2363 struct crypto_shash *cram_hmac_tfm; member
2404 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()
2413 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()
2509 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()
2510 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()
2656 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
Ddrbd_receiver.c1065 if (connection->cram_hmac_tfm) { in conn_connect()
5434 crypto_shash_descsize(connection->cram_hmac_tfm), in drbd_do_auth()
5440 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()
5442 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()
5505 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
Ddrbd_int.h719 struct crypto_shash *cram_hmac_tfm; member
Ddrbd_main.c2516 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()
2524 connection->cram_hmac_tfm = NULL; in conn_free_crypto()