Added cast of CC_LONG to digest functions input data length