Searched refs:cctx (Results 1 – 2 of 2) sorted by relevance
| /openbmc/u-boot/tools/ |
| H A D | mxsimage.c | 359 struct sb_cmd_ctx *cctx) in sb_encrypt_tag() argument 362 struct sb_command *cmd = &cctx->payload; in sb_encrypt_tag() 365 (uint8_t *)&cctx->c_payload, sizeof(*cmd)); in sb_encrypt_tag() 366 EVP_DigestUpdate(md_ctx, &cctx->c_payload, sizeof(*cmd)); in sb_encrypt_tag() 395 struct sb_cmd_ctx *cctx; in sb_encrypt_image() local 400 cctx = sctx->cmd_head; in sb_encrypt_image() 404 while (cctx) { in sb_encrypt_image() 405 ccmd = &cctx->payload; in sb_encrypt_image() 407 sb_encrypt_tag(ictx, cctx); in sb_encrypt_image() 412 sb_aes_crypt(ictx, cctx->data, cctx->data, in sb_encrypt_image() [all …]
|
| /openbmc/qemu/block/ |
| H A D | qcow2-threads.c | 203 ZSTD_CCtx *cctx = ZSTD_createCCtx(); in qcow2_zstd_compress() local 205 if (!cctx) { in qcow2_zstd_compress() 225 zstd_ret = ZSTD_compressStream2(cctx, &output, &input, ZSTD_e_end); in qcow2_zstd_compress() 240 ZSTD_freeCCtx(cctx); in qcow2_zstd_compress()
|