IIRC that restriction was only via the EVP interfaces. The low level API doesn't even know what digest you used, it just gets some bytes.