Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/mac80211/
Daes_cmac.c36 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac()
37 crypto_shash_update(desc, data, data_len - CMAC_TLEN); in ieee80211_aes_cmac()
51 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256()
52 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256); in ieee80211_aes_cmac_256()
/Linux-v4.19/security/apparmor/
Dcrypto.c51 error = crypto_shash_update(desc, (u8 *) data, len); in aa_calc_hash()
89 error = crypto_shash_update(desc, (u8 *) &le32_version, 4); in aa_calc_profile_hash()
92 error = crypto_shash_update(desc, (u8 *) start, len); in aa_calc_profile_hash()
/Linux-v4.19/security/integrity/evm/
Devm_crypto.c174 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc()
177 crypto_shash_update(desc, &inode->i_sb->s_uuid.b[0], in hmac_add_misc()
224 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash()
241 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash()
347 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
/Linux-v4.19/crypto/asymmetric_keys/
Dverify_pefile.c255 ret = crypto_shash_update(desc, pebuf, ctx->image_checksum_offset); in pefile_digest_pe_contents()
260 ret = crypto_shash_update(desc, pebuf + tmp, in pefile_digest_pe_contents()
266 ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp); in pefile_digest_pe_contents()
295 ret = crypto_shash_update(desc, in pefile_digest_pe_contents()
308 ret = crypto_shash_update(desc, in pefile_digest_pe_contents()
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/
Dmic.c80 err = crypto_shash_update(desc, hdr, sizeof(hdr)); in orinoco_mic()
84 err = crypto_shash_update(desc, data, data_len); in orinoco_mic()
/Linux-v4.19/fs/cifs/
Dsmb2transport.c215 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature()
265 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
272 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
279 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
286 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
293 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
473 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
Dcifsencrypt.c68 rc = crypto_shash_update(shash, in __cifs_calc_signature()
86 rc = crypto_shash_update(shash, kaddr, len); in __cifs_calc_signature()
130 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
536 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
556 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
576 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
631 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response()
746 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
Dsmbencrypt.c136 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()
Dsmb2misc.c803 rc = crypto_shash_update(&d->shash, ses->preauth_sha_hash, in smb311_update_preauth_hash()
811 rc = crypto_shash_update(&d->shash, in smb311_update_preauth_hash()
/Linux-v4.19/arch/powerpc/crypto/
Dcrc-vpmsum_test.c93 crypto_shash_update(crct10dif_shash, data+offset, len); in crc_test_init()
104 crypto_shash_update(crc32c_shash, data+offset, len); in crc_test_init()
/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.c263 ret = crypto_shash_update(desc, &chap->id, 1); in chap_server_compute_md5()
269 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_md5()
373 ret = crypto_shash_update(desc, &id_as_uchar, 1); in chap_server_compute_md5()
379 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_md5()
/Linux-v4.19/security/integrity/ima/
Dima_crypto.c377 rc = crypto_shash_update(shash, rbuf, rbuf_len); in ima_calc_file_hash_tfm()
474 rc = crypto_shash_update(shash, in ima_calc_field_array_hash_tfm()
484 rc = crypto_shash_update(shash, data_to_hash, datalen); in ima_calc_field_array_hash_tfm()
590 rc = crypto_shash_update(shash, buf, len); in calc_buffer_shash_tfm()
662 rc = crypto_shash_update(shash, pcr_i, TPM_DIGEST_SIZE); in ima_calc_boot_aggregate_tfm()
/Linux-v4.19/crypto/
Dhmac.c83 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey()
86 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey()
122 return crypto_shash_update(desc, data, nbytes); in hmac_update()
Dshash.c107 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function
119 EXPORT_SYMBOL_GPL(crypto_shash_update);
159 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned()
239 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update()
268 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
/Linux-v4.19/security/keys/
Dtrusted.c109 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_rawhmac()
156 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_authhmac()
216 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac1()
220 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
230 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac1()
308 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac2()
312 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
323 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac2()
Ddh.c162 err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32)); in kdf_ctr()
172 err = crypto_shash_update(desc, tmpbuffer, in kdf_ctr()
183 err = crypto_shash_update(desc, src, slen); in kdf_ctr()
/Linux-v4.19/lib/
Dlibcrc32c.c53 err = crypto_shash_update(shash, address, length); in crc32c()
Ddigsig.c246 crypto_shash_update(desc, data, datalen); in digsig_verify()
247 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
Dcrc-t10dif.c37 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
/Linux-v4.19/drivers/net/ppp/
Dppp_mppe.c140 crypto_shash_update(state->sha1, state->master_key, in get_new_key_from_sha()
142 crypto_shash_update(state->sha1, sha_pad->sha_pad1, in get_new_key_from_sha()
144 crypto_shash_update(state->sha1, state->session_key, in get_new_key_from_sha()
146 crypto_shash_update(state->sha1, sha_pad->sha_pad2, in get_new_key_from_sha()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe.h84 err = crypto_shash_update(shash, next, len); in rxe_crc32()
/Linux-v4.19/Documentation/crypto/
Dapi-digest.rst35 …h_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shas…
/Linux-v4.19/drivers/crypto/
Dpadlock-sha.c52 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update()
106 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup()
168 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha256_finup()
/Linux-v4.19/drivers/crypto/bcm/
Dutil.c300 rc = crypto_shash_update(&sdesc->shash, data1, data1_len); in do_shash()
306 rc = crypto_shash_update(&sdesc->shash, data2, data2_len); in do_shash()
/Linux-v4.19/drivers/crypto/vmx/
Dghash.c135 return crypto_shash_update(&dctx->fallback_desc, src, in p8_ghash_update()

12