Searched refs:sctx (Results 1 – 2 of 2) sorted by relevance
/u-boot/tools/ |
A D | mxsimage.c | 337 sctx = sctx->sect; in sb_encrypt_sb_sections_header() 422 sctx = sctx->sect; in sb_encrypt_image() 720 sctx = calloc(1, sizeof(*sctx)); in sb_build_section() 1372 sctx = sctx->sect; in sb_postfill_image_header() 1444 sctx = sctx->sect; in sb_fixup_sections_and_tags() 1955 sctx = calloc(1, sizeof(*sctx)); in sb_verify_sections_cmds() 2013 sctx = sctx->sect; in sb_verify_sections_cmds() 2154 sctx = sctx->sect; in sb_free_image() 2270 sctx = sctx->sect; in sb_build_image() 2285 sctx = sctx->sect; in sb_build_image() [all …]
|
/u-boot/lib/ |
A D | sha512.c | 209 sctx->count[0] += len; in sha512_base_do_update() 210 if (sctx->count[0] < len) in sha512_base_do_update() 211 sctx->count[1]++; in sha512_base_do_update() 219 memcpy(sctx->buf + partial, data, p); in sha512_base_do_update() 223 sha512_block_fn(sctx, sctx->buf, 1); in sha512_base_do_update() 230 sha512_block_fn(sctx, data, blocks); in sha512_base_do_update() 236 memcpy(sctx->buf + partial, data, len); in sha512_base_do_update() 245 sctx->buf[partial++] = 0x80; in sha512_base_do_finalize() 250 sha512_block_fn(sctx, sctx->buf, 1); in sha512_base_do_finalize() 254 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_base_do_finalize() [all …]
|
Completed in 64 milliseconds