Searched refs:cram_hmac_tfm (Results 1 – 4 of 4) sorted by relevance
2285 struct crypto_shash *cram_hmac_tfm; member2326 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()2335 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()2431 crypto_free_shash(connection->cram_hmac_tfm); in drbd_adm_net_opts()2432 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()2578 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
1067 if (connection->cram_hmac_tfm) { in conn_connect()5372 crypto_shash_descsize(connection->cram_hmac_tfm), in drbd_do_auth()5378 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()5380 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()5442 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
715 struct crypto_shash *cram_hmac_tfm; member
2468 crypto_free_shash(connection->cram_hmac_tfm); in conn_free_crypto()2476 connection->cram_hmac_tfm = NULL; in conn_free_crypto()