Home
last modified time | relevance | path

Searched refs:cram_hmac_tfm (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
H A 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()
H A 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()
H A Ddrbd_main.c2516 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()
2524 connection->cram_hmac_tfm = NULL; in conn_free_crypto()
H A Ddrbd_int.h719 struct crypto_shash *cram_hmac_tfm; member
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_nl.c2307 struct crypto_shash *cram_hmac_tfm; member
2348 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()
2357 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()
2453 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()
2454 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()
2600 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_main.c2480 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()
2488 connection->cram_hmac_tfm = NULL; in conn_free_crypto()
H A Ddrbd_int.h649 struct crypto_shash *cram_hmac_tfm; member

Completed in 42 milliseconds