| /rk3399_rockchip-uboot/tools/rockchip/ |
| H A D | loaderimage.c | 326 sha256_update(&ctx, (void *)buf + sizeof(second_loader_hdr), size); in main() 328 sha256_update(&ctx, (void *)&hdr.version, 8); in main() 330 sha256_update(&ctx, (void *)&hdr.loader_load_addr, in main() 332 sha256_update(&ctx, (void *)&hdr.loader_load_size, in main() 334 sha256_update(&ctx, (void *)&hdr.hash_len, sizeof(hdr.hash_len)); in main()
|
| H A D | resource_tool.c | 477 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length) in sha256_update() function 535 sha256_update(ctx, sha256_padding, padn); in sha256_finish() 536 sha256_update(ctx, msglen, 8); in sha256_finish() 558 sha256_update(&ctx, input, ilen); in sha256_csum()
|
| H A D | trust_merger.c | 518 sha256_update(&ctx, pData + nHasHashSize, nHashSize); in bl3xHash256()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | rpmb.c | 178 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in rpmb_hmac() 179 sha256_update(&ctx, buff, len); in rpmb_hmac() 186 sha256_update(&ctx, k_opad, SHA256_BLOCK_SIZE); in rpmb_hmac() 189 sha256_update(&ctx, output, RPMB_SZ_MAC); in rpmb_hmac()
|
| /rk3399_rockchip-uboot/include/u-boot/ |
| H A D | sha256.h | 24 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length);
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | sha256.c | 227 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length) in sha256_update() function 302 sha256_update(ctx, sha256_padding, padn); in sha256_finish() 303 sha256_update(ctx, msglen, 8); in sha256_finish() 329 sha256_update(&ctx, input, ilen); in sha256_csum() 361 sha256_update(&ctx, curr, chunk); in sha256_csum_wd() 366 sha256_update(&ctx, input, ilen); in sha256_csum_wd()
|
| /rk3399_rockchip-uboot/drivers/ufs/ |
| H A D | ufs-rockchip-rpmb.c | 182 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in ufs_rpmb_hmac() 185 sha256_update(&ctx, frames_in[i].data, RPMB_DATA_HAM_SIZE); in ufs_rpmb_hmac() 193 sha256_update(&ctx, k_opad, SHA256_BLOCK_SIZE); in ufs_rpmb_hmac() 196 sha256_update(&ctx, output, UFS_RPMB_KEY_SZ); in ufs_rpmb_hmac()
|
| /rk3399_rockchip-uboot/lib/avb/rk_avb_user/ |
| H A D | rk_avb_ops_user.c | 719 sha256_update(&ctx, in rk_avb_write_perm_attr() 749 sha256_update(&ctx, (const uint8_t *)pbuf, in rk_avb_write_perm_attr()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | hash.c | 73 sha256_update((sha256_context *)ctx, buf, size); in hash_update_sha256()
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_sha256.c | 49 sha256_update(&ctx->sha256ctx, data, len); in avb_sha256_update()
|
| /rk3399_rockchip-uboot/cmd/mvebu/ |
| H A D | bubt.c | 599 sha256_update(&hash256_text, buff, image_size_to_hash); in check_image_header()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | rkcommon.c | 305 sha256_update(&ctx, buf, size); in do_sha256_hash()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_fastboot.c | 1923 sha256_update(&ctx, in cb_oem_perm_attr() 1953 sha256_update(&ctx, (const uint8_t *)CONFIG_FASTBOOT_BUF_ADDR, in cb_oem_perm_attr() 2260 sha256_update(&ctx, (const uint8_t *)CONFIG_FASTBOOT_BUF_ADDR, in cb_oem()
|