Home
last modified time | relevance | path

Searched refs:crypto_ahash_setkey (Results 1 – 16 of 16) sorted by relevance

/linux/Documentation/crypto/
H A Dapi-digest.rst17 :functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahash_reqsize crypto_ahash_statesize crypto_ahash_setkey crypto_ahash_finup crypto_ahash_final crypto_ahash_digest crypto_ahash_export crypto_ahash_import
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c98 err = crypto_ahash_setkey(tfm, Kc.data, Kc.len); in checksum_case()
1183 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc6803_encrypt_case()
1677 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc8009_encrypt_case()
H A Dgss_krb5_mech.c289 if (crypto_ahash_setkey(tfm, key->data, key->len)) { in gss_krb5_alloc_hash_v2()
/linux/net/ipv4/
H A Dtcp_ao.c29 if (crypto_ahash_setkey(crypto_ahash_reqtfm(hp->req), in tcp_ao_calc_traffic_key()
578 if (crypto_ahash_setkey(crypto_ahash_reqtfm(hp.req), tkey, tkey_len)) in tcp_ao_hash_hdr()
638 if (crypto_ahash_setkey(crypto_ahash_reqtfm(hp.req), tkey, tkey_len)) in tcp_ao_hash_skb()
1411 err = crypto_ahash_setkey(tfm, scratch, 16); in tcp_ao_parse_crypto()
1430 err = crypto_ahash_setkey(tfm, key->key, key->keylen); in tcp_ao_parse_crypto()
/linux/include/crypto/
H A Dhash.h457 * crypto_ahash_setkey - set key for cipher handle
467 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
/linux/crypto/
H A Dalgif_hash.c395 return crypto_ahash_setkey(private, key, keylen); in hash_setkey()
H A Dauthenc.c97 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
H A Dkrb5enc.c114 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in krb5enc_setkey()
H A Dccm.c102 return crypto_ahash_setkey(mac, key, keylen); in crypto_ccm_setkey()
H A Dgcm.c136 err = crypto_ahash_setkey(ghash, (u8 *)&data->hash, sizeof(be128)); in crypto_gcm_setkey()
H A Dtestmgr.c1499 err = do_setkey(crypto_ahash_setkey, tfm, vec->key, vec->ksize, in test_ahash_vec_cfg()
1733 vec->setkey_error = crypto_ahash_setkey( in generate_random_hash_testvec()
/linux/net/ipv6/
H A Dah6.c693 if (crypto_ahash_setkey(ahash, x->aalg->alg_key, in ah6_init_state()
/linux/drivers/crypto/starfive/
H A Djh7110-hash.c461 crypto_ahash_setkey(ctx->ahash_fbk, key, keylen); in starfive_hash_setkey()
/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c630 return crypto_ahash_setkey(ctx->fallback_tfm, key, keylen); in tegra_hmac_fallback_setkey()
/linux/drivers/crypto/
H A Datmel-sha.c2241 return crypto_ahash_setkey(tfm, key, keylen); in atmel_sha_authenc_setkey()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c2313 ret = crypto_ahash_setkey(ctx->fback, key, in safexcel_sha3_fbcheck()