With the KEM API, some algo offers input validation for its length, but not other algos. It's not consistent from the viewpoint of its users.
Adding length check consistently might be better.