[TLUL] Add ecc calculation functions
[TLUL] Add ecc calculation functions

Signed-off-by: Jacob Levy <57317008739bda624200879251c2a07202f9dc7d@opentitan.org>

lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan