Searched refs:cram_hmac_tfm (Results 1 – 4 of 4) sorted by relevance
2317 struct crypto_shash *cram_hmac_tfm; member2358 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()2367 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()2463 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()2464 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()2610 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
881 if (connection->cram_hmac_tfm) { in conn_connect()5192 crypto_shash_descsize(connection->cram_hmac_tfm), in drbd_do_auth()5198 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()5200 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()5262 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
651 struct crypto_shash *cram_hmac_tfm; member
2446 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()2454 connection->cram_hmac_tfm = NULL; in conn_free_crypto()