Searched refs:rounds (Results 1 – 10 of 10) sorted by relevance
/system/extras/verity/fec/ |
D | image.h | 59 uint64_t rounds; member 94 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds); in image_get_interleaved_byte() 106 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds); in image_set_interleaved_byte()
|
D | image.cpp | 78 ctx->rounds = fec_div_round_up(ctx->blocks, ctx->rs_n); in calculate_rounds() 194 assert(ctx->rounds > 0); /* image_load should be called first */ in image_ecc_new() 197 ctx->fec_size = ctx->rounds * ctx->roots * FEC_BLOCKSIZE; in image_ecc_new() 365 assert(ctx->rounds > 0); in image_process() 367 if ((uint64_t)threads > ctx->rounds) { in image_process() 368 threads = (int)ctx->rounds; in image_process() 383 uint64_t end = ctx->rounds * ctx->rs_n * FEC_BLOCKSIZE; in image_process() 385 fec_div_round_up(ctx->rounds * FEC_BLOCKSIZE, threads); in image_process()
|
D | main.cpp | 200 INFO("\trounds: %" PRIu64 "\n", ctx.rounds); in encode() 249 INFO("\trounds: %" PRIu64 "\n", ctx.rounds); in decode()
|
/system/extras/libfec/include/fec/ |
D | ecc.h | 51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds) in fec_ecc_interleave() argument 53 return (offset / rsn) + (offset % rsn) * rounds * FEC_BLOCKSIZE; in fec_ecc_interleave()
|
D | io.h | 66 uint64_t rounds; member
|
/system/extras/verity/fec/tests/ |
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/ |
D | fec_open.cpp | 151 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header() 154 (uint32_t)f->ecc.rounds * f->ecc.roots * FEC_BLOCKSIZE) { in parse_ecc_header() 485 data->rounds = f->ecc.rounds; in fec_ecc_get_metadata()
|
D | fec_read.cpp | 113 uint64_t rsb = offset - (offset / (e->rounds * FEC_BLOCKSIZE)) * in __ecc_read() 114 e->rounds * FEC_BLOCKSIZE; in __ecc_read() 124 e->rounds); in __ecc_read()
|
D | fec_private.h | 73 uint64_t rounds; member
|
/system/keymaster/ |
D | ocb.c | 372 int rounds; member 374 #define ROUNDS(ctx) ((ctx)->rounds) 378 (z)->rounds = y / 32 + 6; \ 383 (z)->rounds = y / 32 + 6; \ 419 int rounds; member 421 #define ROUNDS(ctx) ((ctx)->rounds) 529 key->rounds = 6 + bits / 32; in AES_set_encrypt_key() 538 dkey->rounds = i; in AES_set_decrypt_key_fast()
|