Searched refs:rounds (Results 1 - 10 of 10) sorted by relevance
/system/extras/libfec/include/fec/ |
H A D | ecc.h | 44 /* rounds up x to the nearest multiple of y */ 51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds) argument 53 return (offset / rsn) + (offset % rsn) * rounds * FEC_BLOCKSIZE;
|
H A D | io.h | 67 uint64_t rounds; member in struct:fec_ecc_metadata
|
/system/extras/verity/fec/ |
H A D | image.h | 59 uint64_t rounds; member in struct:image 94 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds); 106 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds);
|
H A D | image.cpp | 78 ctx->rounds = fec_div_round_up(ctx->blocks, ctx->rs_n); 194 assert(ctx->rounds > 0); /* image_load should be called first */ 197 ctx->fec_size = ctx->rounds * ctx->roots * FEC_BLOCKSIZE; 365 assert(ctx->rounds > 0); 367 if ((uint64_t)threads > ctx->rounds) { 368 threads = (int)ctx->rounds; 383 uint64_t end = ctx->rounds * ctx->rs_n * FEC_BLOCKSIZE; 385 fec_div_round_up(ctx->rounds * FEC_BLOCKSIZE, threads);
|
H A D | main.cpp | 200 INFO("\trounds: %" PRIu64 "\n", ctx.rounds); 249 INFO("\trounds: %" PRIu64 "\n", ctx.rounds);
|
/system/extras/verity/fec/tests/ |
H A D | fec.py | 37 rounds = int(math.ceil(float(blocks) / (255 - roots))) 39 max_errors = int(math.floor(rounds * roots / 2)) * blocksize
|
/system/extras/libfec/ |
H A D | fec_open.cpp | 152 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); 155 (uint32_t)f->ecc.rounds * f->ecc.roots * FEC_BLOCKSIZE) { 486 data->rounds = f->ecc.rounds;
|
H A D | fec_private.h | 73 uint64_t rounds; member in struct:ecc_info
|
H A D | fec_read.cpp | 115 uint64_t rsb = offset - (offset / (e->rounds * FEC_BLOCKSIZE)) * 116 e->rounds * FEC_BLOCKSIZE; 126 e->rounds);
|
/system/keymaster/ |
H A D | ocb.c | 373 int rounds; member in struct:__anon1776 375 #define ROUNDS(ctx) ((ctx)->rounds) 379 (z)->rounds = y / 32 + 6; \ 384 (z)->rounds = y / 32 + 6; \ 420 int rounds; member in struct:__anon1778 422 #define ROUNDS(ctx) ((ctx)->rounds) 530 key->rounds = 6 + bits / 32; 539 dkey->rounds = i;
|
Completed in 75 milliseconds