[fabbione/kronosnet] e61787: [crypto] simplify lib init code and fix error hand...