Searched refs:sha256_update (Results 1 – 11 of 11) sorted by relevance
| /linux/security/apparmor/ |
| H A D | crypto.c | 50 sha256_update(&sctx, (u8 *)&le32_version, 4); in aa_calc_profile_hash() 51 sha256_update(&sctx, (u8 *)start, len); in aa_calc_profile_hash()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 479 sha256_update(&sctx, (u8 *)&c, sizeof(c)); in tpm2_KDFe() 481 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe() 483 sha256_update(&sctx, str, strlen(str)+1); in tpm2_KDFe() 484 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe() 485 sha256_update(&sctx, pt_v, EC_PT_SZ); in tpm2_KDFe() 690 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session() 702 sha256_update(&sctx, auth->name[i], ret); in tpm_buf_fill_hmac_session() 706 sha256_update(&sctx, (u8 *)&h, 4); in tpm_buf_fill_hmac_session() 710 sha256_update(&sctx, &buf->data[offset_s], in tpm_buf_fill_hmac_session() 829 sha256_update(&sctx, (u8 *)&head->return_code, in tpm_buf_check_hmac_response() [all …]
|
| /linux/fs/verity/ |
| H A D | hash_algs.c | 79 sha256_update(&ctx.sha256, padded_salt, padded_salt_size); in fsverity_prepare_hash_state() 117 sha256_update(&ctx.sha256, data, params->block_size); in fsverity_hash_block()
|
| /linux/arch/s390/purgatory/ |
| H A D | purgatory.c | 25 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
|
| /linux/arch/riscv/purgatory/ |
| H A D | purgatory.c | 29 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
|
| /linux/arch/x86/purgatory/ |
| H A D | purgatory.c | 34 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
|
| /linux/crypto/ |
| H A D | sha256.c | 145 sha256_update(SHA256_CTX(desc), data, len); in crypto_sha256_update()
|
| /linux/include/crypto/ |
| H A D | sha2.h | 353 static inline void sha256_update(struct sha256_ctx *ctx, in sha256_update() function
|
| /linux/kernel/ |
| H A D | kexec_file.c | 849 sha256_update(&sctx, ksegment->kbuf, ksegment->bufsz); in kexec_calculate_store_digests() 861 sha256_update(&sctx, zero_buf, bytes); in kexec_calculate_store_digests()
|
| /linux/lib/crypto/ |
| H A D | sha256.c | 267 sha256_update(&ctx, data, len); in sha256()
|
| /linux/drivers/md/ |
| H A D | dm-verity-target.c | 131 sha256_update(ctx, data, len); in verity_hash() 1380 sha256_update(v->initial_hashstate.sha256, in verity_setup_salt_and_hashstate()
|