Searched refs:cram_hmac_tfm (Results 1 – 4 of 4) sorted by relevance
2308 struct crypto_shash *cram_hmac_tfm; member2364 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()2373 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()2469 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()2470 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()2616 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
1076 if (connection->cram_hmac_tfm) { in conn_connect()5242 SHASH_DESC_ON_STACK(desc, connection->cram_hmac_tfm); in drbd_do_auth()5255 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()5258 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()5321 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
2562 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()2570 connection->cram_hmac_tfm = NULL; in conn_free_crypto()
726 struct crypto_shash *cram_hmac_tfm; member