Searched refs:cram_hmac_tfm (Results 1 – 4 of 4) sorted by relevance
2070 struct crypto_hash *cram_hmac_tfm; member2111 rv = alloc_hash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()2120 crypto_free_hash(crypto->cram_hmac_tfm); in free_crypto()2216 crypto_free_hash(connection->cram_hmac_tfm); in drbd_adm_net_opts()2217 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_net_opts()2340 connection->cram_hmac_tfm = crypto.cram_hmac_tfm; in drbd_adm_connect()
1046 if (connection->cram_hmac_tfm) { in conn_connect()4918 desc.tfm = connection->cram_hmac_tfm; in drbd_do_auth()4921 rv = crypto_hash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()4984 resp_size = crypto_hash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
740 struct crypto_hash *cram_hmac_tfm; member
2511 crypto_free_hash(connection->cram_hmac_tfm); in conn_free_crypto()2519 connection->cram_hmac_tfm = NULL; in conn_free_crypto()