Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmb2transport.c189 crypto_shash_update( in smb2_calc_signature()
194 crypto_shash_update( in smb2_calc_signature()
210 crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in smb2_calc_signature()
257 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_smb3signingkey()
264 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_smb3signingkey()
271 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_smb3signingkey()
278 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_smb3signingkey()
285 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_smb3signingkey()
360 crypto_shash_update( in smb3_calc_signature()
365 crypto_shash_update( in smb3_calc_signature()
[all …]
Dcifsencrypt.c100 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
120 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
124 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
139 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
535 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
555 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
575 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
630 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response()
769 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
Dsmbencrypt.c161 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()
Dlink.c85 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash()
/linux-4.4.14/security/integrity/evm/
Devm_crypto.c114 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc)); in hmac_add_misc()
116 crypto_shash_update(desc, inode->i_sb->s_uuid, in hmac_add_misc()
153 crypto_shash_update(desc, (const u8 *)req_xattr_value, in evm_calc_hmac_or_hash()
168 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash()
230 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
/linux-4.4.14/security/apparmor/
Dcrypto.c55 error = crypto_shash_update(&desc.shash, (u8 *) &le32_version, 4); in aa_calc_profile_hash()
58 error = crypto_shash_update(&desc.shash, (u8 *) start, len); in aa_calc_profile_hash()
/linux-4.4.14/crypto/asymmetric_keys/
Dverify_pefile.c255 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()
Dpkcs7_verify.c108 ret = crypto_shash_update(desc, &tag, 1); in pkcs7_digest()
/linux-4.4.14/crypto/
Dhmac.c82 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey()
85 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey()
121 return crypto_shash_update(desc, data, nbytes); in hmac_update()
Dshash.c98 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() function
110 EXPORT_SYMBOL_GPL(crypto_shash_update);
150 return crypto_shash_update(desc, data, len) ?: in shash_finup_unaligned()
227 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_update()
256 crypto_shash_update(desc, walk.data, nbytes); in shash_ahash_finup()
400 nbytes = crypto_shash_update(desc, walk.data, nbytes); in shash_compat_update()
Ddrbg.c1677 crypto_shash_update(&sdesc->shash, input->buf, input->len); in drbg_kcapi_hash()
/linux-4.4.14/security/integrity/ima/
Dima_crypto.c397 rc = crypto_shash_update(shash, rbuf, rbuf_len); in ima_calc_file_hash_tfm()
482 rc = crypto_shash_update(shash, in ima_calc_field_array_hash_tfm()
492 rc = crypto_shash_update(shash, data_to_hash, datalen); in ima_calc_field_array_hash_tfm()
552 rc = crypto_shash_update(shash, pcr_i, TPM_DIGEST_SIZE); in ima_calc_boot_aggregate_tfm()
/linux-4.4.14/fs/btrfs/
Dhash.c42 err = crypto_shash_update(shash, address, length); in btrfs_crc32c()
/linux-4.4.14/lib/
Dlibcrc32c.c52 err = crypto_shash_update(shash, address, length); in crc32c()
Ddigsig.c234 crypto_shash_update(desc, data, datalen); in digsig_verify()
235 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
Dcrc-t10dif.c37 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update()
/linux-4.4.14/security/keys/
Dtrusted.c108 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_rawhmac()
155 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_authhmac()
215 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac1()
219 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
229 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-4.4.14/drivers/md/
Ddm-verity.c294 r = crypto_shash_update(desc, v->salt, v->salt_size); in verity_verify_level()
301 r = crypto_shash_update(desc, data, 1 << v->hash_dev_block_bits); in verity_verify_level()
308 r = crypto_shash_update(desc, v->salt, v->salt_size); in verity_verify_level()
395 r = crypto_shash_update(desc, v->salt, v->salt_size); in verity_verify_io()
411 r = crypto_shash_update(desc, page + bv.bv_offset, len); in verity_verify_io()
424 r = crypto_shash_update(desc, v->salt, v->salt_size); in verity_verify_io()
Ddm-crypt.c548 r = crypto_shash_update(desc, lmk->seed, LMK_SEED_SIZE); in crypt_iv_lmk_one()
554 r = crypto_shash_update(desc, data + 16, 16 * 31); in crypt_iv_lmk_one()
563 r = crypto_shash_update(desc, (u8 *)buf, sizeof(buf)); in crypt_iv_lmk_one()
700 r = crypto_shash_update(desc, &buf[i * 4], 4); in crypt_iv_tcw_whitening()
/linux-4.4.14/drivers/crypto/
Dpadlock-sha.c52 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update()
107 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup()
173 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha256_finup()
Dmv_cesa.c417 crypto_shash_update(shash, req_ctx->buffer, in mv_hash_final_fallback()
830 crypto_shash_update(shash, ipad, bs) ? : in mv_hash_setkey()
833 crypto_shash_update(shash, opad, bs) ? : in mv_hash_setkey()
Domap-sham.c965 crypto_shash_update(shash, bctx->opad, bs) ?: in omap_sham_finish_hmac()
/linux-4.4.14/drivers/crypto/vmx/
Dghash.c138 return crypto_shash_update(&dctx->fallback_desc, src, in p8_ghash_update()
/linux-4.4.14/include/crypto/
Dhash.h840 int crypto_shash_update(struct shash_desc *desc, const u8 *data,
/linux-4.4.14/kernel/
Dkexec_file.c605 ret = crypto_shash_update(desc, ksegment->kbuf, in kexec_calculate_store_digests()
620 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c188 if (crypto_shash_update(shash, ipad, block_size)) in qat_alg_do_precomputes()
220 if (crypto_shash_update(shash, opad, block_size)) in qat_alg_do_precomputes()
/linux-4.4.14/include/linux/
Djbd2.h1488 err = crypto_shash_update(&desc.shash, address, length); in jbd2_chksum()
/linux-4.4.14/fs/ext4/
Dext4.h2004 err = crypto_shash_update(&desc.shash, address, length); in ext4_chksum()