Add digest data_len overflow checks and few other fixes