Searched refs:crypto_shash_update (Results 1 - 25 of 73) sorted by relevance

123

/linux-master/net/mac80211/
H A Daes_cmac.c35 crypto_shash_update(desc, aad, AAD_LEN);
39 crypto_shash_update(desc, zero, 8);
40 crypto_shash_update(desc, data + 8, data_len - 8 - CMAC_TLEN);
42 crypto_shash_update(desc, data, data_len - CMAC_TLEN);
58 crypto_shash_update(desc, aad, AAD_LEN);
62 crypto_shash_update(desc, zero, 8);
63 crypto_shash_update(desc, data + 8,
66 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256);
/linux-master/security/apparmor/
H A Dcrypto.c46 error = crypto_shash_update(desc, (u8 *) data, len);
83 error = crypto_shash_update(desc, (u8 *) &le32_version, 4);
86 error = crypto_shash_update(desc, (u8 *) start, len);
/linux-master/fs/crypto/
H A Dhkdf.c143 err = crypto_shash_update(desc, prev, HKDF_HASHLEN);
148 err = crypto_shash_update(desc, prefix, sizeof(prefix));
152 err = crypto_shash_update(desc, info, infolen);
/linux-master/lib/
H A Dlibcrc32c.c47 err = crypto_shash_update(shash, address, length);
H A Dcrc-t10dif.c77 err = crypto_shash_update(&desc.shash, buffer, len);
H A Dcrc64-rocksoft.c71 err = crypto_shash_update(&desc.shash, buffer, len);
H A Ddigsig.c242 crypto_shash_update(desc, data, datalen);
243 crypto_shash_update(desc, sig, sizeof(*sh));
/linux-master/drivers/nvme/target/
H A Dauth.c336 ret = crypto_shash_update(shash, challenge, shash_len);
340 ret = crypto_shash_update(shash, buf, 4);
344 ret = crypto_shash_update(shash, buf, 2);
348 ret = crypto_shash_update(shash, buf, 1);
351 ret = crypto_shash_update(shash, "HostHost", 8);
354 ret = crypto_shash_update(shash, ctrl->hostnqn, strlen(ctrl->hostnqn));
357 ret = crypto_shash_update(shash, buf, 1);
360 ret = crypto_shash_update(shash, ctrl->subsysnqn,
446 ret = crypto_shash_update(shash, challenge, shash_len);
450 ret = crypto_shash_update(shas
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c319 ret = crypto_shash_update(desc, step->data, step->len);
322 ret = crypto_shash_update(desc, (u8 *)&i, sizeof(i));
325 ret = crypto_shash_update(desc, constant->data, constant->len);
328 ret = crypto_shash_update(desc, &zero, sizeof(zero));
331 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k));
457 ret = crypto_shash_update(desc, (u8 *)&one, sizeof(one));
460 ret = crypto_shash_update(desc, label->data, label->len);
463 ret = crypto_shash_update(desc, &zero, sizeof(zero));
466 ret = crypto_shash_update(desc, (u8 *)&k, sizeof(k));
/linux-master/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c88 crypto_shash_update(crct10dif_shash, data+offset, len);
99 crypto_shash_update(crc32c_shash, data+offset, len);
/linux-master/crypto/
H A Dkdf_sp800108.c35 err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32));
40 err = crypto_shash_update(desc, info[i].iov_base,
H A Djitterentropy-kcapi.c137 crypto_shash_update(desc, intermediary,
148 ret = crypto_shash_update(desc, intermediary, sizeof(intermediary));
162 ret = crypto_shash_update(hash_state_desc, (u8 *)&time,
180 crypto_shash_update(hash_state_desc, jent_block,
H A Dsm2.c236 err = crypto_shash_update(desc, zero, pbytes - inlen) ?:
237 crypto_shash_update(desc, in, inlen);
240 err = crypto_shash_update(desc, in + inlen - pbytes, pbytes);
242 err = crypto_shash_update(desc, in, inlen);
300 err = crypto_shash_update(desc, entl, 2);
304 err = crypto_shash_update(desc, SM2_DEFAULT_USERID,
H A Dhmac.c69 crypto_shash_update(shash, ipad, bs) ?:
72 crypto_shash_update(shash, opad, bs) ?:
105 return crypto_shash_update(desc, data, nbytes);
/linux-master/security/integrity/evm/
H A Devm_crypto.c172 crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc));
175 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE);
262 crypto_shash_update(desc, (const u8 *)req_xattr_value,
289 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size);
404 crypto_shash_update(desc, xattr->value, xattr->value_len);
/linux-master/drivers/nvme/host/
H A Dauth.c468 ret = crypto_shash_update(shash, challenge, chap->hash_len);
472 ret = crypto_shash_update(shash, buf, 4);
476 ret = crypto_shash_update(shash, buf, 2);
480 ret = crypto_shash_update(shash, buf, 1);
483 ret = crypto_shash_update(shash, "HostHost", 8);
486 ret = crypto_shash_update(shash, ctrl->opts->host->nqn,
490 ret = crypto_shash_update(shash, buf, 1);
493 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn,
553 ret = crypto_shash_update(shash, challenge, chap->hash_len);
557 ret = crypto_shash_update(shas
[all...]
/linux-master/fs/smb/server/
H A Dauth.c105 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx),
168 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx),
191 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx),
266 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), construct, len);
602 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx),
653 rc = crypto_shash_update(CRYPTO_CMACAES(ctx),
710 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4);
716 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx),
724 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1);
730 rc = crypto_shash_update(CRYPTO_HMACSHA25
[all...]
/linux-master/crypto/asymmetric_keys/
H A Dverify_pefile.c255 ret = crypto_shash_update(desc, pebuf, ctx->image_checksum_offset);
260 ret = crypto_shash_update(desc, pebuf + tmp,
266 ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp);
295 ret = crypto_shash_update(desc,
308 ret = crypto_shash_update(desc,
/linux-master/fs/smb/client/
H A Dcifsencrypt.c52 ret = crypto_shash_update(shash, p + off, len);
87 ret = crypto_shash_update(shash, kv[i].iov_base + start, len);
132 ret = crypto_shash_update(shash, p, len);
199 rc = crypto_shash_update(shash,
244 rc = crypto_shash_update(server->secmech.md5,
578 rc = crypto_shash_update(ses->server->secmech.hmacmd5,
598 crypto_shash_update(ses->server->secmech.hmacmd5,
618 crypto_shash_update(ses->server->secmech.hmacmd5,
673 rc = crypto_shash_update(ses->server->secmech.hmacmd5,
791 rc = crypto_shash_update(se
[all...]
H A Dsmb2transport.c287 rc = crypto_shash_update(shash, iov[0].iov_base,
345 rc = crypto_shash_update(server->secmech.hmacsha256, i, 4);
351 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len);
357 rc = crypto_shash_update(server->secmech.hmacsha256, &zero, 1);
363 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len);
371 rc = crypto_shash_update(server->secmech.hmacsha256, L256, 4);
373 rc = crypto_shash_update(server->secmech.hmacsha256, L128, 4);
616 rc = crypto_shash_update(shash, iov[0].iov_base,
/linux-master/security/integrity/ima/
H A Dima_crypto.c496 rc = crypto_shash_update(shash, rbuf, rbuf_len);
606 rc = crypto_shash_update(shash,
616 rc = crypto_shash_update(shash, data_to_hash, datalen);
738 rc = crypto_shash_update(shash, buf, len);
821 rc = crypto_shash_update(shash, d.digest,
835 rc = crypto_shash_update(shash, d.digest,
/linux-master/drivers/net/ppp/
H A Dppp_mppe.c134 crypto_shash_update(state->sha1, state->master_key,
136 crypto_shash_update(state->sha1, sha_pad->sha_pad1,
138 crypto_shash_update(state->sha1, state->session_key,
140 crypto_shash_update(state->sha1, sha_pad->sha_pad2,
/linux-master/drivers/target/iscsi/
H A Discsi_target_auth.c377 ret = crypto_shash_update(desc, &chap->id, 1);
379 pr_err("crypto_shash_update() failed for id\n");
383 ret = crypto_shash_update(desc, (char *)&auth->password,
386 pr_err("crypto_shash_update() failed for password\n");
520 ret = crypto_shash_update(desc, &id_as_uchar, 1);
522 pr_err("crypto_shash_update() failed for id\n");
526 ret = crypto_shash_update(desc, auth->password_mutual,
529 pr_err("crypto_shash_update() failed for"
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c100 ret = crypto_shash_update(&sdesc->shash, data, dlen);
150 ret = crypto_shash_update(&sdesc->shash, data, dlen);
214 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result,
218 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal,
228 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen);
307 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result,
311 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal,
322 ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen);
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_icrc.c52 err = crypto_shash_update(shash, next, len);

Completed in 552 milliseconds

123