/Linux-v5.4/net/mac80211/ |
D | aes_cmac.c | 33 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac() 34 crypto_shash_update(desc, data, data_len - CMAC_TLEN); in ieee80211_aes_cmac() 48 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256() 49 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256); in ieee80211_aes_cmac_256()
|
/Linux-v5.4/security/apparmor/ |
D | crypto.c | 46 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-v5.4/fs/crypto/ |
D | hkdf.c | 142 err = crypto_shash_update(desc, prev, HKDF_HASHLEN); in fscrypt_hkdf_expand() 147 err = crypto_shash_update(desc, prefix, sizeof(prefix)); in fscrypt_hkdf_expand() 151 err = crypto_shash_update(desc, info, infolen); in fscrypt_hkdf_expand()
|
/Linux-v5.4/security/integrity/evm/ |
D | evm_crypto.c | 172 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc() 175 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE); in hmac_add_misc() 221 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash() 238 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash() 344 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
|
/Linux-v5.4/crypto/asymmetric_keys/ |
D | verify_pefile.c | 251 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-v5.4/drivers/net/wireless/intersil/orinoco/ |
D | mic.c | 77 err = crypto_shash_update(desc, hdr, sizeof(hdr)); in orinoco_mic() 81 err = crypto_shash_update(desc, data, data_len); in orinoco_mic()
|
/Linux-v5.4/arch/powerpc/crypto/ |
D | crc-vpmsum_test.c | 86 crypto_shash_update(crct10dif_shash, data+offset, len); in crc_test_init() 97 crypto_shash_update(crc32c_shash, data+offset, len); in crc_test_init()
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_auth.c | 254 ret = crypto_shash_update(desc, &chap->id, 1); in chap_server_compute_md5() 260 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_md5() 364 ret = crypto_shash_update(desc, &id_as_uchar, 1); in chap_server_compute_md5() 370 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_md5()
|
/Linux-v5.4/fs/cifs/ |
D | cifsencrypt.c | 69 rc = crypto_shash_update(shash, in __cifs_calc_signature() 87 rc = crypto_shash_update(shash, kaddr, len); in __cifs_calc_signature() 131 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 542 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash() 562 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash() 582 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash() 637 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response() 752 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
|
D | smb2transport.c | 215 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 266 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 273 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 280 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 287 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 294 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 474 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
|
/Linux-v5.4/crypto/ |
D | hmac.c | 76 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()
|
D | shash.c | 110 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function 122 EXPORT_SYMBOL_GPL(crypto_shash_update); 168 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned() 247 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update() 276 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
|
/Linux-v5.4/security/integrity/ima/ |
D | ima_crypto.c | 369 rc = crypto_shash_update(shash, rbuf, rbuf_len); in ima_calc_file_hash_tfm() 491 rc = crypto_shash_update(shash, in ima_calc_field_array_hash_tfm() 501 rc = crypto_shash_update(shash, data_to_hash, datalen); in ima_calc_field_array_hash_tfm() 606 rc = crypto_shash_update(shash, buf, len); in calc_buffer_shash_tfm() 678 rc = crypto_shash_update(shash, d.digest, TPM_DIGEST_SIZE); in ima_calc_boot_aggregate_tfm()
|
/Linux-v5.4/drivers/net/ppp/ |
D | ppp_mppe.c | 134 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-v5.4/security/keys/ |
D | trusted.c | 107 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_rawhmac() 157 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_authhmac() 221 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac1() 225 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1() 235 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac1() 314 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac2() 318 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2() 329 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); in TSS_checkhmac2()
|
D | dh.c | 157 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-v5.4/lib/ |
D | libcrc32c.c | 47 err = crypto_shash_update(shash, address, length); in crc32c()
|
D | digsig.c | 242 crypto_shash_update(desc, data, datalen); in digsig_verify() 243 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
|
D | crc-t10dif.c | 72 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
|
/Linux-v5.4/fs/ubifs/ |
D | auth.c | 427 err = crypto_shash_update(shash, node + 8, ofs_hmac - 8); in ubifs_node_calc_hmac() 433 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac() 546 err = crypto_shash_update(shash, well_known_message, in ubifs_hmac_wkm()
|
/Linux-v5.4/drivers/infiniband/sw/rxe/ |
D | rxe.h | 80 err = crypto_shash_update(shash, next, len); in rxe_crc32()
|
/Linux-v5.4/drivers/infiniband/sw/siw/ |
D | siw_qp_tx.c | 255 if (crypto_shash_update(c_tx->mpa_crc_hd, in siw_qp_prepare_tx() 477 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 515 crypto_shash_update( in siw_tx_hdt() 520 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 530 crypto_shash_update( in siw_tx_hdt() 570 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 732 crypto_shash_update(c_tx->mpa_crc_hd, (u8 *)&c_tx->pkt, in siw_prepare_fpdu()
|
/Linux-v5.4/Documentation/crypto/ |
D | api-digest.rst | 35 …h_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shas…
|
/Linux-v5.4/drivers/crypto/ |
D | padlock-sha.c | 45 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update() 97 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup() 158 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha256_finup()
|
/Linux-v5.4/drivers/crypto/bcm/ |
D | util.c | 248 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()
|