Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/net/mac80211/
H A Daes_cmac.c34 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()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dcrypto.c46 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()
/OK3568_Linux_fs/kernel/security/integrity/evm/
H A Devm_crypto.c170 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()
/OK3568_Linux_fs/kernel/fs/crypto/
H A Dhkdf.c143 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()
/OK3568_Linux_fs/kernel/crypto/asymmetric_keys/
H A Dverify_pefile.c251 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()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2transport.c274 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()
591 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
H A Dcifsencrypt.c69 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/
H A Dmic.c77 err = crypto_shash_update(desc, hdr, sizeof(hdr)); in orinoco_mic()
81 err = crypto_shash_update(desc, data, data_len); in orinoco_mic()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_auth.c334 ret = crypto_shash_update(desc, &chap->id, 1); in chap_server_compute_hash()
340 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_hash()
448 ret = crypto_shash_update(desc, &id_as_uchar, 1); in chap_server_compute_hash()
454 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_hash()
/OK3568_Linux_fs/kernel/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c88 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()
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima_crypto.c496 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()
/OK3568_Linux_fs/kernel/crypto/
H A Dhmac.c76 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()
H A Dshash.c121 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function
133 EXPORT_SYMBOL_GPL(crypto_shash_update);
179 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned()
274 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update()
303 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_mppe.c134 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()
/OK3568_Linux_fs/kernel/security/keys/trusted-keys/
H A Dtrusted_tpm1.c107 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()
/OK3568_Linux_fs/kernel/security/keys/
H A Ddh.c157 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()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dauth.c406 err = crypto_shash_update(shash, node + 8, ofs_hmac - 8); in ubifs_node_calc_hmac()
412 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac()
525 err = crypto_shash_update(shash, well_known_message, in ubifs_hmac_wkm()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c255 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()
540 crypto_shash_update( in siw_tx_hdt()
580 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
742 crypto_shash_update(c_tx->mpa_crc_hd, (u8 *)&c_tx->pkt, in siw_prepare_fpdu()
/OK3568_Linux_fs/kernel/lib/
H A Ddigsig.c242 crypto_shash_update(desc, data, datalen); in digsig_verify()
243 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
H A Dlibcrc32c.c47 err = crypto_shash_update(shash, address, length); in crc32c()
H A Dcrc-t10dif.c77 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpadlock-sha.c45 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe.h55 err = crypto_shash_update(shash, next, len); in rxe_crc32()
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Dapi-digest.rst35 …h_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shas…
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_fips14067 crypto_shash_update

1234