xref: /linux/net/sunrpc/auth_gss/gss_krb5_internal.h (revision 2dbe0cac3cd6d747579b0b347145326eddfd4e5c)
17f675ca7SChuck Lever /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
27f675ca7SChuck Lever /*
37f675ca7SChuck Lever  * SunRPC GSS Kerberos 5 mechanism internal definitions
47f675ca7SChuck Lever  *
57f675ca7SChuck Lever  * Copyright (c) 2022 Oracle and/or its affiliates.
67f675ca7SChuck Lever  */
77f675ca7SChuck Lever 
87f675ca7SChuck Lever #ifndef _NET_SUNRPC_AUTH_GSS_KRB5_INTERNAL_H
97f675ca7SChuck Lever #define _NET_SUNRPC_AUTH_GSS_KRB5_INTERNAL_H
107f675ca7SChuck Lever 
117f675ca7SChuck Lever void krb5_make_confounder(u8 *p, int conflen);
127f675ca7SChuck Lever 
13*2dbe0cacSChuck Lever u32 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen,
14*2dbe0cacSChuck Lever 		      const struct xdr_buf *body, int body_offset,
15*2dbe0cacSChuck Lever 		      struct xdr_netobj *cksumout);
16*2dbe0cacSChuck Lever 
177f675ca7SChuck Lever #endif /* _NET_SUNRPC_AUTH_GSS_KRB5_INTERNAL_H */
18