Change `sha512crypt` and `__crypt_sha512` to coroutines to allow yielding during hash computations later in this patch series. Refs: scylladb/scylladb#26859
14 lines
271 B
C++
14 lines
271 B
C++
/*
|
|
* Copyright (C) 2025-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/future.hh>
|
|
|
|
seastar::future<const char *> __crypt_sha512(const char *key, const char *setting, char *output);
|