Home
last modified time | relevance | path

Searched refs:inp_size (Results 1 – 7 of 7) sorted by relevance

/system/extras/verity/fec/
Dimage.h57 uint64_t inp_size; member
96 if (unlikely(offset >= ctx->inp_size)) { in image_get_interleaved_byte()
108 if (unlikely(offset >= ctx->inp_size)) { in image_set_interleaved_byte()
Dimage.cpp75 ctx->inp_size = size; in calculate_rounds()
76 ctx->blocks = fec_div_round_up(ctx->inp_size, FEC_BLOCKSIZE); in calculate_rounds()
120 INFO("allocating %" PRIu64 " bytes of memory\n", ctx->inp_size); in file_image_load()
123 ctx->input = new uint8_t[ctx->inp_size]; in file_image_load()
129 memset(ctx->input, 0, ctx->inp_size); in file_image_load()
184 if (!android::base::WriteFully(fd, ctx->output, ctx->inp_size)) { in image_save()
261 calculate_rounds(p->inp_size, ctx); in image_ecc_load()
305 f->inp_size = ctx->inp_size; in image_ecc_save()
Dmain.cpp139 printf("%" PRIu64 "\n", fec_ecc_get_size(ctx.inp_size, ctx.roots)); in print_size()
332 ctx.inp_size = parse_arg(optarg, "print-fec-size", UINT64_MAX); in main()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp406 size_t inp_size = input.size(); in update() local
412 if (ser_size + inp_size > TRUSTY_KEYMASTER_SEND_BUF_SIZE) { in update()
413 inp_size = TRUSTY_KEYMASTER_SEND_BUF_SIZE - ser_size; in update()
415 request.input.Reinitialize(input.data(), inp_size); in update()
/system/extras/libfec/include/fec/
Dio.h51 uint64_t inp_size; member
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp553 size_t inp_size = input.size(); in update() local
559 if (ser_size + inp_size > TRUSTY_KEYMASTER_SEND_BUF_SIZE) { in update()
560 inp_size = TRUSTY_KEYMASTER_SEND_BUF_SIZE - ser_size; in update()
562 request.input.Reinitialize(input.data(), inp_size); in update()
/system/extras/libfec/
Dfec_open.cpp149 f->data_size = header.inp_size; in parse_ecc_header()
160 f->ecc.start = header.inp_size; in parse_ecc_header()