def METHOD_NAME(self, backend, subtests):
    vectors = _load_all_params(
        os.path.join("hashes", "SHAKE"),
        ["SHAKE128VariableOut.rsp"],
        load_nist_vectors,
    )
    for vector in vectors:
        with subtests.test():
            output_length = int(vector["outputlen"]) // 8
            msg = binascii.unhexlify(vector["msg"])
            shake = hashes.SHAKE128(digest_size=output_length)
            m = hashes.Hash(shake, backend=backend)
            m.update(msg)
            assert m.finalize() == binascii.unhexlify(vector["output"])