Linux Audio

Check our new training course

Embedded Linux training

Mar 10-20, 2025, special US time zones
Register
Loading...
Note: File does not exist in v4.17.
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * The ASB.1/BER parsing code is derived from ip_nat_snmp_basic.c which was in
 4 * turn derived from the gxsnmp package by Gregory McLean & Jochen Friedrich
 5 *
 6 * Copyright (c) 2000 RP Internet (www.rpi.net.au).
 7 * Copyright (C) 2018 Samsung Electronics Co., Ltd.
 8 */
 9
10#ifndef __ASN1_H__
11#define __ASN1_H__
12
13int ksmbd_decode_negTokenInit(unsigned char *security_blob, int length,
14			      struct ksmbd_conn *conn);
15int ksmbd_decode_negTokenTarg(unsigned char *security_blob, int length,
16			      struct ksmbd_conn *conn);
17int build_spnego_ntlmssp_neg_blob(unsigned char **pbuffer, u16 *buflen,
18				  char *ntlm_blob, int ntlm_blob_len);
19int build_spnego_ntlmssp_auth_blob(unsigned char **pbuffer, u16 *buflen,
20				   int neg_result);
21#endif /* __ASN1_H__ */