TF_UNIT_TYPE usctr[TF_NR_BLOCK_UNITS];
TF_UNIT_TYPE *uctr = ctr;
+ data_to_words(uctr, TF_BLOCK_SIZE);
+
memset(usctr, 0, TF_BLOCK_SIZE);
memcpy(usctr, sctr, sctrsz > TF_BLOCK_SIZE ? TF_BLOCK_SIZE : sctrsz);
+ data_to_words(usctr, TF_BLOCK_SIZE);
+
ctr_add(uctr, TF_NR_BLOCK_UNITS, usctr, TF_NR_BLOCK_UNITS);
- data_to_words(uctr, TF_BLOCK_SIZE);
memset(usctr, 0, TF_BLOCK_SIZE);
}