Home
last modified time | relevance | path

Searched refs:crypto_shash_update (Results 1 – 25 of 69) sorted by relevance

123

/linux/net/mac80211/
A Daes_cmac.c35 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac()
39 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac()
40 crypto_shash_update(desc, data + 8, data_len - 8 - CMAC_TLEN); in ieee80211_aes_cmac()
42 crypto_shash_update(desc, data, data_len - CMAC_TLEN); in ieee80211_aes_cmac()
58 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256()
62 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac_256()
63 crypto_shash_update(desc, data + 8, in ieee80211_aes_cmac_256()
66 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256); in ieee80211_aes_cmac_256()
/linux/fs/ksmbd/
A Dauth.c104 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), in ksmbd_gen_sess_key()
167 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash()
190 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash()
560 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu()
611 rc = crypto_shash_update(CRYPTO_CMACAES(ctx), in ksmbd_sign_smb3_pdu()
667 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key()
673 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key()
681 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key()
687 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key()
897 rc = crypto_shash_update(CRYPTO_SHA512(ctx), pi_hash, 64); in ksmbd_gen_preauth_integrity_hash()
[all …]
/linux/security/apparmor/
A Dcrypto.c46 error = crypto_shash_update(desc, (u8 *) data, len); in aa_calc_hash()
83 error = crypto_shash_update(desc, (u8 *) &le32_version, 4); in aa_calc_profile_hash()
86 error = crypto_shash_update(desc, (u8 *) start, len); in aa_calc_profile_hash()
/linux/fs/crypto/
A Dhkdf.c143 err = crypto_shash_update(desc, prev, HKDF_HASHLEN); in fscrypt_hkdf_expand()
148 err = crypto_shash_update(desc, prefix, sizeof(prefix)); in fscrypt_hkdf_expand()
152 err = crypto_shash_update(desc, info, infolen); in fscrypt_hkdf_expand()
/linux/crypto/asymmetric_keys/
A Dverify_pefile.c251 ret = crypto_shash_update(desc, pebuf, ctx->image_checksum_offset); in pefile_digest_pe_contents()
256 ret = crypto_shash_update(desc, pebuf + tmp, in pefile_digest_pe_contents()
262 ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp); in pefile_digest_pe_contents()
291 ret = crypto_shash_update(desc, in pefile_digest_pe_contents()
304 ret = crypto_shash_update(desc, in pefile_digest_pe_contents()
/linux/security/integrity/evm/
A Devm_crypto.c175 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc()
178 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE); in hmac_add_misc()
255 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash()
288 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash()
402 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
/linux/fs/cifs/
A Dcifsencrypt.c56 rc = crypto_shash_update(shash, in __cifs_calc_signature()
74 rc = crypto_shash_update(shash, kaddr, len); in __cifs_calc_signature()
118 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
448 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
468 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
488 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
543 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response()
663 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
A Dsmb2transport.c268 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature()
326 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
333 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
340 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
347 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
356 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
359 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
587 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
/linux/drivers/net/wireless/intersil/orinoco/
A Dmic.c77 err = crypto_shash_update(desc, hdr, sizeof(hdr)); in orinoco_mic()
81 err = crypto_shash_update(desc, data, data_len); in orinoco_mic()
/linux/arch/powerpc/crypto/
A Dcrc-vpmsum_test.c88 crypto_shash_update(crct10dif_shash, data+offset, len); in crc_test_init()
99 crypto_shash_update(crc32c_shash, data+offset, len); in crc_test_init()
/linux/drivers/target/iscsi/
A Discsi_target_auth.c334 ret = crypto_shash_update(desc, &chap->id, 1); in chap_server_compute_hash()
340 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_hash()
448 ret = crypto_shash_update(desc, &id_as_uchar, 1); in chap_server_compute_hash()
454 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_hash()
/linux/crypto/
A Dhmac.c76 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey()
79 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey()
110 return crypto_shash_update(desc, data, nbytes); in hmac_update()
A Dshash.c121 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function
133 EXPORT_SYMBOL_GPL(crypto_shash_update);
179 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned()
274 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update()
303 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
/linux/security/integrity/ima/
A Dima_crypto.c495 rc = crypto_shash_update(shash, rbuf, rbuf_len); in ima_calc_file_hash_tfm()
605 rc = crypto_shash_update(shash, in ima_calc_field_array_hash_tfm()
615 rc = crypto_shash_update(shash, data_to_hash, datalen); in ima_calc_field_array_hash_tfm()
737 rc = crypto_shash_update(shash, buf, len); in calc_buffer_shash_tfm()
820 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm()
834 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm()
/linux/security/keys/trusted-keys/
A Dtrusted_tpm1.c100 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_rawhmac()
150 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_authhmac()
214 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac1()
218 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
228 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac1()
307 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac2()
311 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
322 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac2()
/linux/drivers/net/ppp/
A Dppp_mppe.c134 crypto_shash_update(state->sha1, state->master_key, in get_new_key_from_sha()
136 crypto_shash_update(state->sha1, sha_pad->sha_pad1, in get_new_key_from_sha()
138 crypto_shash_update(state->sha1, state->session_key, in get_new_key_from_sha()
140 crypto_shash_update(state->sha1, sha_pad->sha_pad2, in get_new_key_from_sha()
/linux/fs/ubifs/
A Dauth.c405 err = crypto_shash_update(shash, node + 8, ofs_hmac - 8); in ubifs_node_calc_hmac()
411 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac()
524 err = crypto_shash_update(shash, well_known_message, in ubifs_hmac_wkm()
/linux/security/keys/
A Ddh.c157 err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32)); in kdf_ctr()
167 err = crypto_shash_update(desc, tmpbuffer, in kdf_ctr()
178 err = crypto_shash_update(desc, src, slen); in kdf_ctr()
/linux/lib/
A Ddigsig.c242 crypto_shash_update(desc, data, datalen); in digsig_verify()
243 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
A Dlibcrc32c.c47 err = crypto_shash_update(shash, address, length); in crc32c()
A Dcrc-t10dif.c77 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
/linux/drivers/infiniband/sw/siw/
A Dsiw_qp_tx.c255 if (crypto_shash_update(c_tx->mpa_crc_hd, in siw_qp_prepare_tx()
484 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
524 crypto_shash_update( in siw_tx_hdt()
530 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
540 crypto_shash_update( in siw_tx_hdt()
580 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
742 crypto_shash_update(c_tx->mpa_crc_hd, (u8 *)&c_tx->pkt, in siw_prepare_fpdu()
/linux/drivers/crypto/
A Dpadlock-sha.c46 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update()
98 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup()
159 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha256_finup()
/linux/Documentation/crypto/
A Dapi-digest.rst35 …h_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shas…
/linux/drivers/crypto/bcm/
A Dutil.c248 rc = crypto_shash_update(&sdesc->shash, data1, data1_len); in do_shash()
254 rc = crypto_shash_update(&sdesc->shash, data2, data2_len); in do_shash()

Completed in 37 milliseconds

123