]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/libcrypt-util.h
ci: enable arm64 runner for build/unit jobs
[thirdparty/systemd.git] / src / shared / libcrypt-util.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
42f3b2f9
LP
2#pragma once
3
69a283c5 4#include "forward.h"
42f3b2f9
LP
5
6int make_salt(char **ret);
a937ce2d
ZJS
7int hash_password_full(const char *password, void **cd_data, int *cd_size, char **ret);
8static inline int hash_password(const char *password, char **ret) {
9 return hash_password_full(password, NULL, NULL, ret);
10}
8f796e40 11bool looks_like_hashed_password(const char *s);
2ae297fe
ZJS
12int test_password_one(const char *hashed_password, const char *password);
13int test_password_many(char **hashed_password, const char *password);