]> Git Repo - J-u-boot.git/blame - include/crypt.h
eficonfig: set EFICONFIG_ENTRY_NUM_MAX to INT_MAX - 1
[J-u-boot.git] / include / crypt.h
CommitLineData
26dd9936
SJ
1/* SPDX-License-Identifier: GPL-2.0+ */
2/* Copyright (C) 2020 Steffen Jaeckel <[email protected]> */
3
4/**
5 * Compare should with the processed passphrase.
6 *
7 * @should The crypt-style string to compare against
8 * @passphrase The plaintext passphrase
9 * @equal Pointer to an int where the result is stored
10 * '0' = unequal
11 * '1' = equal
185f812c 12 * Return: 0 on success, error code of errno else
26dd9936 13 */
29bbe71c 14int crypt_compare(const char *should, const char *passphrase, int *equal);
This page took 0.078953 seconds and 4 git commands to generate.