/linux-6.3-rc2/net/mac80211/ |
A D | aes_cmac.c | 35 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-6.3-rc2/drivers/nvme/target/ |
A D | auth.c | 338 ret = crypto_shash_update(shash, buf, 4); in nvmet_auth_host_hash() 342 ret = crypto_shash_update(shash, buf, 2); in nvmet_auth_host_hash() 346 ret = crypto_shash_update(shash, buf, 1); in nvmet_auth_host_hash() 349 ret = crypto_shash_update(shash, "HostHost", 8); in nvmet_auth_host_hash() 355 ret = crypto_shash_update(shash, buf, 1); in nvmet_auth_host_hash() 358 ret = crypto_shash_update(shash, ctrl->subsysnqn, in nvmet_auth_host_hash() 447 ret = crypto_shash_update(shash, buf, 4); in nvmet_auth_ctrl_hash() 451 ret = crypto_shash_update(shash, buf, 2); in nvmet_auth_ctrl_hash() 455 ret = crypto_shash_update(shash, buf, 1); in nvmet_auth_ctrl_hash() 461 ret = crypto_shash_update(shash, ctrl->subsysnqn, in nvmet_auth_ctrl_hash() [all …]
|
/linux-6.3-rc2/net/sunrpc/auth_gss/ |
A D | gss_krb5_keys.c | 403 ret = crypto_shash_update(desc, step->data, step->len); in krb5_cmac_Ki() 406 ret = crypto_shash_update(desc, (u8 *)&i, sizeof(i)); in krb5_cmac_Ki() 409 ret = crypto_shash_update(desc, constant->data, constant->len); in krb5_cmac_Ki() 412 ret = crypto_shash_update(desc, &zero, sizeof(zero)); in krb5_cmac_Ki() 415 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k)); in krb5_cmac_Ki() 541 ret = crypto_shash_update(desc, (u8 *)&one, sizeof(one)); in krb5_hmac_K1() 544 ret = crypto_shash_update(desc, label->data, label->len); in krb5_hmac_K1() 547 ret = crypto_shash_update(desc, &zero, sizeof(zero)); in krb5_hmac_K1() 550 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k)); in krb5_hmac_K1()
|
/linux-6.3-rc2/security/apparmor/ |
A 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-6.3-rc2/drivers/nvme/host/ |
A D | auth.c | 475 ret = crypto_shash_update(shash, buf, 4); in nvme_auth_dhchap_setup_host_response() 479 ret = crypto_shash_update(shash, buf, 2); in nvme_auth_dhchap_setup_host_response() 483 ret = crypto_shash_update(shash, buf, 1); in nvme_auth_dhchap_setup_host_response() 486 ret = crypto_shash_update(shash, "HostHost", 8); in nvme_auth_dhchap_setup_host_response() 489 ret = crypto_shash_update(shash, ctrl->opts->host->nqn, in nvme_auth_dhchap_setup_host_response() 493 ret = crypto_shash_update(shash, buf, 1); in nvme_auth_dhchap_setup_host_response() 560 ret = crypto_shash_update(shash, buf, 4); in nvme_auth_dhchap_setup_ctrl_response() 564 ret = crypto_shash_update(shash, buf, 2); in nvme_auth_dhchap_setup_ctrl_response() 568 ret = crypto_shash_update(shash, buf, 1); in nvme_auth_dhchap_setup_ctrl_response() 571 ret = crypto_shash_update(shash, "Controller", 10); in nvme_auth_dhchap_setup_ctrl_response() [all …]
|
/linux-6.3-rc2/fs/ksmbd/ |
A D | auth.c | 105 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), in ksmbd_gen_sess_key() 168 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash() 191 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash() 594 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu() 645 rc = crypto_shash_update(CRYPTO_CMACAES(ctx), in ksmbd_sign_smb3_pdu() 702 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key() 708 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 716 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key() 722 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 935 rc = crypto_shash_update(CRYPTO_SHA512(ctx), pi_hash, 64); in ksmbd_gen_preauth_integrity_hash() [all …]
|
/linux-6.3-rc2/fs/crypto/ |
A D | hkdf.c | 143 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-6.3-rc2/fs/cifs/ |
A D | cifsencrypt.c | 52 ret = crypto_shash_update(shash, p + off, len); in cifs_shash_bvec() 87 ret = crypto_shash_update(shash, kv[i].iov_base + start, len); in cifs_shash_kvec() 132 ret = crypto_shash_update(shash, p, len); in cifs_shash_xarray() 199 rc = crypto_shash_update(shash, in __cifs_calc_signature() 244 rc = crypto_shash_update(server->secmech.md5, in cifs_calc_signature() 578 rc = crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() 598 crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() 618 crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() 673 rc = crypto_shash_update(ses->server->secmech.hmacmd5, in CalcNTLMv2_response() 791 rc = crypto_shash_update(ses->server->secmech.hmacmd5, in setup_ntlmv2_rsp()
|
A D | smb2transport.c | 270 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 328 rc = crypto_shash_update(server->secmech.hmacsha256, i, 4); in generate_key() 334 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 340 rc = crypto_shash_update(server->secmech.hmacsha256, &zero, 1); in generate_key() 346 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 354 rc = crypto_shash_update(server->secmech.hmacsha256, L256, 4); in generate_key() 356 rc = crypto_shash_update(server->secmech.hmacsha256, L128, 4); in generate_key() 590 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
|
/linux-6.3-rc2/crypto/asymmetric_keys/ |
A 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-6.3-rc2/security/integrity/evm/ |
A 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() 262 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash() 289 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash() 399 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A 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-6.3-rc2/arch/powerpc/crypto/ |
A D | crc-vpmsum_test.c | 88 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-6.3-rc2/crypto/ |
A D | kdf_sp800108.c | 35 err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32)); in crypto_kdf108_ctr_generate() 40 err = crypto_shash_update(desc, info[i].iov_base, in crypto_kdf108_ctr_generate()
|
A D | hmac.c | 80 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey() 83 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey() 114 return crypto_shash_update(desc, data, nbytes); in hmac_update()
|
A D | shash.c | 111 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function 123 EXPORT_SYMBOL_GPL(crypto_shash_update); 169 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned() 264 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update() 293 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
|
A D | hctr2.c | 122 err = crypto_shash_update(shash, (u8 *)tweak_length_block, in hctr2_hash_tweaklen() 183 err = crypto_shash_update(hash_desc, req->iv, TWEAK_SIZE); in hctr2_hash_tweak() 211 err = crypto_shash_update(hash_desc, miter.addr, n); in hctr2_hash_message() 221 err = crypto_shash_update(hash_desc, padding, in hctr2_hash_message()
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_crypto.c | 496 rc = crypto_shash_update(shash, rbuf, rbuf_len); in ima_calc_file_hash_tfm() 606 rc = crypto_shash_update(shash, in ima_calc_field_array_hash_tfm() 616 rc = crypto_shash_update(shash, data_to_hash, datalen); in ima_calc_field_array_hash_tfm() 738 rc = crypto_shash_update(shash, buf, len); in calc_buffer_shash_tfm() 821 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm() 835 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm()
|
/linux-6.3-rc2/drivers/target/iscsi/ |
A D | iscsi_target_auth.c | 377 ret = crypto_shash_update(desc, &chap->id, 1); in chap_server_compute_hash() 383 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_hash() 520 ret = crypto_shash_update(desc, &id_as_uchar, 1); in chap_server_compute_hash() 526 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_hash()
|
/linux-6.3-rc2/drivers/net/ppp/ |
A 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-6.3-rc2/security/keys/trusted-keys/ |
A D | trusted_tpm1.c | 100 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-6.3-rc2/fs/ubifs/ |
A D | auth.c | 405 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-6.3-rc2/lib/ |
A D | digsig.c | 242 crypto_shash_update(desc, data, datalen); in digsig_verify() 243 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
|
A D | libcrc32c.c | 47 err = crypto_shash_update(shash, address, length); in crc32c()
|
/linux-6.3-rc2/drivers/nvme/common/ |
A D | auth.c | 279 ret = crypto_shash_update(shash, nqn, strlen(nqn)); in nvme_auth_transform_key() 282 ret = crypto_shash_update(shash, "NVMe-over-Fabrics", 17); in nvme_auth_transform_key() 378 ret = crypto_shash_update(desc, challenge, hlen); in nvme_auth_augmented_challenge()
|