threefish512_ctx_t tfctx;
while(length_b>UBI512_BLOCKSIZE){
ubi512_nextBlock(ctx, block);
block = (uint8_t*)block + UBI512_BLOCKSIZE_B;
length_b -= UBI512_BLOCKSIZE;
}
threefish512_ctx_t tfctx;
while(length_b>UBI512_BLOCKSIZE){
ubi512_nextBlock(ctx, block);
block = (uint8_t*)block + UBI512_BLOCKSIZE_B;
length_b -= UBI512_BLOCKSIZE;
}