/Linux-v4.19/net/mac80211/ |
D | aes_cmac.c | 36 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/ |
D | crypto.c | 51 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/ |
D | evm_crypto.c | 174 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/ |
D | verify_pefile.c | 255 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/ |
D | mic.c | 80 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/ |
D | smb2transport.c | 215 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()
|
D | cifsencrypt.c | 68 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()
|
D | smbencrypt.c | 136 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()
|
D | smb2misc.c | 803 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/ |
D | crc-vpmsum_test.c | 93 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/ |
D | iscsi_target_auth.c | 263 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/ |
D | ima_crypto.c | 377 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/ |
D | hmac.c | 83 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()
|
D | shash.c | 107 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/ |
D | trusted.c | 109 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()
|
D | dh.c | 162 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/ |
D | libcrc32c.c | 53 err = crypto_shash_update(shash, address, length); in crc32c()
|
D | digsig.c | 246 crypto_shash_update(desc, data, datalen); in digsig_verify() 247 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
|
D | crc-t10dif.c | 37 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
|
/Linux-v4.19/drivers/net/ppp/ |
D | ppp_mppe.c | 140 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/ |
D | rxe.h | 84 err = crypto_shash_update(shash, next, len); in rxe_crc32()
|
/Linux-v4.19/Documentation/crypto/ |
D | api-digest.rst | 35 …h_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shas…
|
/Linux-v4.19/drivers/crypto/ |
D | padlock-sha.c | 52 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/ |
D | util.c | 300 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/ |
D | ghash.c | 135 return crypto_shash_update(&dctx->fallback_desc, src, in p8_ghash_update()
|