Home
last modified time | relevance | path

Searched refs:hmac_key (Results 1 – 4 of 4) sorted by relevance

/linux/net/ceph/
H A Dcrypto.c87 hmac_sha256_preparekey(&key->hmac_key, key->key, key->len); in ceph_crypto_key_prepare()
182 memzero_explicit(&key->hmac_key, sizeof(key->hmac_key)); in ceph_crypto_key_destroy()
450 hmac_sha256(&key->hmac_key, buf, buf_len, hmac); in ceph_hmac_sha256()
H A Dmessenger_v2.c725 hmac_sha256_preparekey(&con->v2.hmac_key, session_key, session_key_len); in setup_crypto()
797 hmac_sha256_init(&ctx, &con->v2.hmac_key); in con_hmac_sha256()
3807 memzero_explicit(&con->v2.hmac_key, sizeof(con->v2.hmac_key)); in ceph_con_v2_reset_protocol()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c314 char hmac_key[SHA256_BLOCK_SIZE]; member
1337 memcpy(req_ctx->key_buffer, ctx->hmac_key, in artpec6_crypto_prepare_hash()
2242 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_hash_set_key()
2250 tfm_ctx->hmac_key); in artpec6_crypto_hash_set_key()
2254 memcpy(tfm_ctx->hmac_key, key, keylen); in artpec6_crypto_hash_set_key()
2433 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_ahash_exit()
/linux/include/linux/ceph/
H A Dmessenger.h416 struct hmac_sha256_key hmac_key; /* post-auth signature */ member