/kernel/linux/linux-5.10/net/mac80211/ |
H A D | aes_cmac.c | 34 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac() 38 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac() 39 crypto_shash_update(desc, data + 8, data_len - 8 - CMAC_TLEN); in ieee80211_aes_cmac() 41 crypto_shash_update(desc, data, data_len - CMAC_TLEN); in ieee80211_aes_cmac() 57 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256() 61 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac_256() 62 crypto_shash_update(desc, data + 8, in ieee80211_aes_cmac_256() 65 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256); in ieee80211_aes_cmac_256()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | auth.c | 334 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash() 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() 352 ret = crypto_shash_update(shash, ctrl->hostnqn, strlen(ctrl->hostnqn)); 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() 443 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash() 447 ret = crypto_shash_update(shas in nvmet_auth_ctrl_hash() [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H 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()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H 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()
|
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 319 ret = crypto_shash_update(desc, step->data, step->len); in krb5_cmac_Ki() 322 ret = crypto_shash_update(desc, (u8 *)&i, sizeof(i)); in krb5_cmac_Ki() 325 ret = crypto_shash_update(desc, constant->data, constant->len); in krb5_cmac_Ki() 328 ret = crypto_shash_update(desc, &zero, sizeof(zero)); in krb5_cmac_Ki() 331 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k)); in krb5_cmac_Ki() 457 ret = crypto_shash_update(desc, (u8 *)&one, sizeof(one)); in krb5_hmac_K1() 460 ret = crypto_shash_update(desc, label->data, label->len); in krb5_hmac_K1() 463 ret = crypto_shash_update(desc, &zero, sizeof(zero)); in krb5_hmac_K1() 466 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k)); in krb5_hmac_K1()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H 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()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H 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()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | jitterentropy-kcapi.c | 126 crypto_shash_update(desc, intermediary, in jent_hash_time() 137 ret = crypto_shash_update(desc, intermediary, sizeof(intermediary)); in jent_hash_time() 151 ret = crypto_shash_update(hash_state_desc, (u8 *)&time, in jent_hash_time() 169 crypto_shash_update(hash_state_desc, jent_block, in jent_read_random_block()
|
H A D | sm2.c | 236 err = crypto_shash_update(desc, zero, pbytes - inlen) ?: in sm2_z_digest_update() 237 crypto_shash_update(desc, in, inlen); in sm2_z_digest_update() 240 err = crypto_shash_update(desc, in + inlen - pbytes, pbytes); in sm2_z_digest_update() 242 err = crypto_shash_update(desc, in, inlen); in sm2_z_digest_update() 300 err = crypto_shash_update(desc, entl, 2); in sm2_compute_z_digest() 304 err = crypto_shash_update(desc, SM2_DEFAULT_USERID, in sm2_compute_z_digest()
|
H 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()
|
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | auth.c | 471 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response() 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() 496 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response() 556 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_ctrl_response() 560 ret = crypto_shash_update(shas in nvme_auth_dhchap_setup_ctrl_response() [all...] |
/kernel/linux/linux-5.10/security/integrity/evm/ |
H A D | evm_crypto.c | 170 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc() 173 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE); in hmac_add_misc() 219 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash() 236 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash() 342 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
|
/kernel/linux/linux-6.6/security/integrity/evm/ |
H 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() 404 crypto_shash_update(desc, xattr->value, xattr->value_len); in evm_init_hmac()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H 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() 264 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), construct, len); in ksmbd_auth_ntlmv2() 600 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu() 651 rc = crypto_shash_update(CRYPTO_CMACAES(ctx), in ksmbd_sign_smb3_pdu() 708 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key() 714 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 722 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key() 728 rc = crypto_shash_update(CRYPTO_HMACSHA25 in generate_key() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H 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(se in setup_ntlmv2_rsp() [all...] |
H A D | smb2transport.c | 285 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 343 rc = crypto_shash_update(server->secmech.hmacsha256, i, 4); in generate_key() 349 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 355 rc = crypto_shash_update(server->secmech.hmacsha256, &zero, 1); in generate_key() 361 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 369 rc = crypto_shash_update(server->secmech.hmacsha256, L256, 4); in generate_key() 371 rc = crypto_shash_update(server->secmech.hmacsha256, L128, 4); in generate_key() 614 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
H 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()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A 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()
|
/kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
H 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()
|
/kernel/linux/linux-6.6/arch/powerpc/crypto/ |
H 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()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2transport.c | 274 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 330 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 337 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 344 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 351 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 360 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 363 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key() 590 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
|
H A 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()
|