Searched refs:sha256_ctx (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/include/ |
| H A D | sha2_impl.h | 57 struct sha256_ctx { struct 71 void sha256_init(struct sha256_ctx *ctx); argument 72 void sha256_update(struct sha256_ctx *ctx, const unsigned char *message, 74 void sha256_final(struct sha256_ctx *ctx, unsigned char *digest); 78 void sha256_transf(struct sha256_ctx *ctx, const unsigned char *message,
|
| /OK3568_Linux_fs/u-boot/tools/rockchip/ |
| H A D | sha2.h | 111 } sha256_ctx; typedef 127 sha256_ctx ctx256[1]; 133 void sha256_compile(sha256_ctx ctx[1]); 136 void sha256_begin(sha256_ctx ctx[1]); 137 void sha256_hash(sha256_ctx ctx[1], const unsigned char data[], unsigned long len); 138 void sha256_end(sha256_ctx ctx[1], unsigned char hval[]);
|
| H A D | sha2.c | 266 void sha256_begin(sha256_ctx ctx[1]) in sha256_begin() 279 void sha256_compile(sha256_ctx ctx[1]) in sha256_compile() 317 void sha256_hash(sha256_ctx ctx[1], const unsigned char data[], in sha256_hash() 350 void sha256_end(sha256_ctx ctx[1], unsigned char hval[]) in sha256_end() 396 sha256_ctx cx[1]; in sha256()
|
| H A D | trust_merger.c | 502 sha256_ctx ctx; in bl3xHash256()
|
| /OK3568_Linux_fs/u-boot/lib/avb/libavb/ |
| H A D | avb_vbmeta_image.c | 41 AvbSHA256Ctx sha256_ctx; in avb_vbmeta_image_verify() local 182 sha256_ctx.tot_len = sizeof(AvbVBMetaImageHeader) + in avb_vbmeta_image_verify() 184 avb_sha256_init(&sha256_ctx); in avb_vbmeta_image_verify() 186 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify() 188 &sha256_ctx, auxiliary_block, h.auxiliary_data_block_size); in avb_vbmeta_image_verify() 189 computed_hash = avb_sha256_final(&sha256_ctx); in avb_vbmeta_image_verify()
|
| H A D | avb_slot_verify.c | 399 AvbSHA256Ctx sha256_ctx; in load_and_verify_hash_partition() local 408 sha256_ctx.tot_len = hash_desc.salt_len + image_size_to_hash; in load_and_verify_hash_partition() 409 avb_sha256_init(&sha256_ctx); in load_and_verify_hash_partition() 410 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition() 411 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition() 412 digest = avb_sha256_final(&sha256_ctx); in load_and_verify_hash_partition()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/ |
| H A D | sha2_impl.c | 118 void sha256_transf(struct sha256_ctx *ctx, const unsigned char *message, in sha256_transf() 316 struct sha256_ctx ctx = { }; in sha256() 323 void sha256_init(struct sha256_ctx *ctx) in sha256_init() 345 void sha256_update(struct sha256_ctx *ctx, const unsigned char *message, in sha256_update() 383 void sha256_final(struct sha256_ctx *ctx, unsigned char *digest) in sha256_final() 482 sha256_transf((struct sha256_ctx *)ctx, ctx->block, 1); in sha224_update() 483 sha256_transf((struct sha256_ctx *)ctx, shifted_message, block_nb); in sha224_update() 517 sha256_transf((struct sha256_ctx *)ctx, ctx->block, block_nb); in sha224_final()
|
| /OK3568_Linux_fs/buildroot/package/cdrkit/ |
| H A D | 0002-define-__THROW-to-avoid-build-issue-with-musl.patch | 29 struct sha256_ctx
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/ |
| H A D | 0001-define-__THROW-to-avoid-build-issue-with-musl.patch | 29 struct sha256_ctx
|
| /OK3568_Linux_fs/buildroot/package/meson-tools/ |
| H A D | 0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch | 41 SHA256_Update(&sha256_ctx, buf + hdr.first_offset, hdr.block_size);
|