NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Functions | Variables
Authentication

Functions for handling authentication. More...

+ Collaboration diagram for Authentication:

Classes

struct  tds_answer
 
struct  names_blob_prefix_t
 
struct  tds_ntlm_auth
 
struct  mpz_t
 
struct  asn1_der_iterator
 
struct  rsa_public_key
 

Macros

#define HAVE_GMP   1
 
#define mpz_powm(w, n, e, m)    gcry_mpi_powm((w)->num, (n)->num, (e)->num, (m)->num);
 
#define mpz_init(n)   do { (n)->num = NULL; } while(0)
 
#define mpz_clear(n)   gcry_mpi_release((n)->num)
 
#define HAVE_NETTLE   1
 
#define dumpl(b, l)   tdsdump_dump_buf(TDS_DBG_INFO1, #b, b, l)
 
#define dump(b)   dumpl(b, sizeof(b))
 
#define hash_func   sha1
 
#define HAVE_GMP   1
 
#define mpz_powm(w, n, e, m)    gcry_mpi_powm((w)->num, (n)->num, (e)->num, (m)->num);
 
#define mpz_init(n)   do { (n)->num = NULL; } while(0)
 
#define mpz_clear(n)   gcry_mpi_release((n)->num)
 
#define HAVE_NETTLE   1
 
#define dumpl(b, l)   tdsdump_dump_buf(TDS_DBG_INFO1, #b, b, l)
 
#define dump(b)   dumpl(b, sizeof(b))
 
#define hash_func   sha1
 

Typedefs

typedef struct tds_answer TDSANSWER
 
typedef struct tds_ntlm_auth TDSNTLMAUTH
 
typedef void nettle_random_func(void *ctx, size_t len, uint8_t *out)
 
typedef struct tds_answer TDSANSWER
 
typedef struct tds_ntlm_auth TDSNTLMAUTH
 
typedef void nettle_random_func(void *ctx, size_t len, uint8_t *out)
 

Enumerations

enum  asn1_iterator_result {
  ASN1_ITERATOR_ERROR , ASN1_ITERATOR_PRIMITIVE , ASN1_ITERATOR_CONSTRUCTED , ASN1_ITERATOR_END ,
  ASN1_ITERATOR_ERROR , ASN1_ITERATOR_PRIMITIVE , ASN1_ITERATOR_CONSTRUCTED , ASN1_ITERATOR_END
}
 
enum  { ASN1_SEQUENCE = ASN1_TAG_SEQUENCE }
 
enum  { hash_len = 20 }
 
enum  { key_size_max = 1024 }
 
enum  asn1_iterator_result {
  ASN1_ITERATOR_ERROR , ASN1_ITERATOR_PRIMITIVE , ASN1_ITERATOR_CONSTRUCTED , ASN1_ITERATOR_END ,
  ASN1_ITERATOR_ERROR , ASN1_ITERATOR_PRIMITIVE , ASN1_ITERATOR_CONSTRUCTED , ASN1_ITERATOR_END
}
 
enum  { ASN1_SEQUENCE = ASN1_TAG_SEQUENCE }
 
enum  { hash_len = 20 }
 
enum  { key_size_max = 1024 }
 

Functions

static TDSRET tds_answer_challenge (TDSSOCKET *tds, TDSLOGIN *login, const unsigned char *challenge, TDS_UINT *flags, const unsigned char *names_blob, TDS_INT names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
 Crypt a given password using schema required for NTLMv1 or NTLM2 authentication. More...
 
static void tds_encrypt_answer (const unsigned char *hash, const unsigned char *challenge, unsigned char *answer)
 
static void tds_convert_key (const unsigned char *key_56, DES_KEY *ks)
 
static void convert_to_upper (char *buf, size_t len)
 
static size_t convert_to_usc2le_string (TDSSOCKET *tds, const char *s, size_t len, char *out)
 
static TDSRET make_ntlm_hash (TDSSOCKET *tds, const char *passwd, unsigned char ntlm_hash[16])
 
static TDSRET make_ntlm_v2_hash (TDSSOCKET *tds, const char *passwd, unsigned char ntlm_v2_hash[16])
 
static unsigned char * make_lm_v2_response (const unsigned char ntlm_v2_hash[16], const unsigned char *client_data, TDS_INT client_data_len, const unsigned char challenge[8])
 
static TDSRET tds_answer_challenge_ntlmv2 (TDSSOCKET *tds, TDSLOGIN *login, const unsigned char *challenge, TDS_UINT *flags, const unsigned char *names_blob, TDS_INT names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
 
static TDSRET tds7_send_auth (TDSSOCKET *tds, const unsigned char *challenge, TDS_UINT flags, const unsigned char *names_blob, TDS_INT names_blob_len)
 
static TDSRET tds_ntlm_free (TDSCONNECTION *conn, TDSAUTHENTICATION *tds_auth)
 
static void unix_to_nt_time (TDS_UINT8 *nt, struct timeval *tv)
 put a 8 byte filetime from a time_t This takes GMT as input More...
 
static void fill_names_blob_prefix (names_blob_prefix_t *prefix)
 
static TDSRET tds_ntlm_handle_next (TDSSOCKET *tds, struct tds_authentication *auth, size_t len)
 
TDSAUTHENTICATION * tds_ntlm_get_auth (TDSSOCKET *tds)
 Build a NTLMSPP packet to send to server. More...
 
void tds5_negotiate_set_msg_type (TDSSOCKET *tds, TDSAUTHENTICATION *tds_auth, unsigned msg_type)
 
TDSAUTHENTICATION * tds5_negotiate_get_auth (TDSSOCKET *tds)
 
static void nettle_mpz_set_str_256_u (mpz_t x, unsigned length, const uint8_t *s)
 
static void nettle_mpz_get_str_256 (unsigned length, uint8_t *s, const mpz_t x)
 
static enum asn1_iterator_result asn1_der_iterator_next (struct asn1_der_iterator *der)
 
static enum asn1_iterator_result asn1_der_iterator_first (struct asn1_der_iterator *der, int size, const void *der_buf)
 
static void rsa_public_key_init (struct rsa_public_key *key)
 
static void rsa_public_key_clear (struct rsa_public_key *key)
 
static int rsa_public_key_from_der_iterator (struct rsa_public_key *key, unsigned key_bits, struct asn1_der_iterator *der)
 
static void sha1 (uint8_t *hash, const void *data, size_t len)
 
static void rnd_func (void *ctx, size_t len, uint8_t *out)
 
static void memxor (uint8_t *dest, const uint8_t *src, size_t len)
 
static void mgf_mask (uint8_t *dest, size_t dest_len, const uint8_t *mask, size_t mask_len)
 
static int oaep_encrypt (size_t key_size, void *random_ctx, nettle_random_func *random, size_t length, const uint8_t *message, mpz_t m)
 
static int rsa_encrypt_oaep (const struct rsa_public_key *key, void *random_ctx, nettle_random_func *random, size_t length, const uint8_t *message, mpz_t gibberish)
 
static void * tds5_rsa_encrypt (const void *key, size_t key_len, const void *nonce, size_t nonce_len, const char *pwd, size_t *em_size)
 
static const BIGNUM * rsa_get_n (const RSA *rsa)
 
static TDSRET tds_answer_challenge (TDSSOCKET *tds, TDSLOGIN *login, const unsigned char *challenge, uint32_t *flags, const unsigned char *names_blob, int names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
 Crypt a given password using schema required for NTLMv1 or NTLM2 authentication. More...
 
static unsigned char * make_lm_v2_response (const unsigned char ntlm_v2_hash[16], const unsigned char *client_data, int client_data_len, const unsigned char challenge[8])
 
static TDSRET tds_answer_challenge_ntlmv2 (TDSSOCKET *tds, TDSLOGIN *login, const unsigned char *challenge, uint32_t *flags, const unsigned char *names_blob, int names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
 
static TDSRET tds7_send_auth (TDSSOCKET *tds, const unsigned char *challenge, uint32_t flags, const unsigned char *names_blob, int names_blob_len)
 
static void unix_to_nt_time (uint64_t *nt, struct timeval *tv)
 put a 8 byte filetime from a time_t This takes GMT as input More...
 
static int oaep_encrypt (size_t key_size, size_t length, const uint8_t *message, mpz_t m)
 
static int rsa_encrypt_oaep (const struct rsa_public_key *key, size_t length, const uint8_t *message, mpz_t gibberish)
 

Variables

static const unsigned char ntlm_id [] = "NTLMSSP"
 
static const char label [] = ""
 
static const unsigned char ntlm_id [] = "NTLMSSP"
 
static const char label [] = ""
 

Detailed Description

Functions for handling authentication.

Macro Definition Documentation

◆ dump [1/2]

#define dump (   b)    dumpl(b, sizeof(b))

Definition at line 204 of file sec_negotiate_gnutls.h.

◆ dump [2/2]

#define dump (   b)    dumpl(b, sizeof(b))

Definition at line 198 of file sec_negotiate_gnutls.h.

◆ dumpl [1/2]

#define dumpl (   b,
  l 
)    tdsdump_dump_buf(TDS_DBG_INFO1, #b, b, l)

Definition at line 200 of file sec_negotiate_gnutls.h.

◆ dumpl [2/2]

#define dumpl (   b,
  l 
)    tdsdump_dump_buf(TDS_DBG_INFO1, #b, b, l)

Definition at line 194 of file sec_negotiate_gnutls.h.

◆ hash_func [1/2]

#define hash_func   sha1

Definition at line 207 of file sec_negotiate_gnutls.h.

◆ hash_func [2/2]

#define hash_func   sha1

Definition at line 201 of file sec_negotiate_gnutls.h.

◆ HAVE_GMP [1/2]

#define HAVE_GMP   1

Definition at line 57 of file sec_negotiate_gnutls.h.

◆ HAVE_GMP [2/2]

#define HAVE_GMP   1

Definition at line 57 of file sec_negotiate_gnutls.h.

◆ HAVE_NETTLE [1/2]

#define HAVE_NETTLE   1

Definition at line 73 of file sec_negotiate_gnutls.h.

◆ HAVE_NETTLE [2/2]

#define HAVE_NETTLE   1

Definition at line 73 of file sec_negotiate_gnutls.h.

◆ mpz_clear [1/2]

#define mpz_clear (   n)    gcry_mpi_release((n)->num)

Definition at line 66 of file sec_negotiate_gnutls.h.

◆ mpz_clear [2/2]

#define mpz_clear (   n)    gcry_mpi_release((n)->num)

Definition at line 66 of file sec_negotiate_gnutls.h.

◆ mpz_init [1/2]

#define mpz_init (   n)    do { (n)->num = NULL; } while(0)

Definition at line 65 of file sec_negotiate_gnutls.h.

◆ mpz_init [2/2]

#define mpz_init (   n)    do { (n)->num = NULL; } while(0)

Definition at line 65 of file sec_negotiate_gnutls.h.

◆ mpz_powm [1/2]

#define mpz_powm (   w,
  n,
  e,
  m 
)     gcry_mpi_powm((w)->num, (n)->num, (e)->num, (m)->num);

Definition at line 63 of file sec_negotiate_gnutls.h.

◆ mpz_powm [2/2]

#define mpz_powm (   w,
  n,
  e,
  m 
)     gcry_mpi_powm((w)->num, (n)->num, (e)->num, (m)->num);

Definition at line 63 of file sec_negotiate_gnutls.h.

Typedef Documentation

◆ nettle_random_func [1/2]

typedef void nettle_random_func(void *ctx, size_t len, uint8_t *out)

Definition at line 75 of file sec_negotiate_gnutls.h.

◆ nettle_random_func [2/2]

typedef void nettle_random_func(void *ctx, size_t len, uint8_t *out)

Definition at line 75 of file sec_negotiate_gnutls.h.

◆ TDSANSWER [1/2]

typedef struct tds_answer TDSANSWER

◆ TDSANSWER [2/2]

typedef struct tds_answer TDSANSWER

◆ TDSNTLMAUTH [1/2]

typedef struct tds_ntlm_auth TDSNTLMAUTH

◆ TDSNTLMAUTH [2/2]

typedef struct tds_ntlm_auth TDSNTLMAUTH

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ASN1_SEQUENCE 

Definition at line 102 of file sec_negotiate_gnutls.h.

◆ anonymous enum

anonymous enum
Enumerator
hash_len 

Definition at line 208 of file sec_negotiate_gnutls.h.

◆ anonymous enum

anonymous enum
Enumerator
key_size_max 

Definition at line 209 of file sec_negotiate_gnutls.h.

◆ anonymous enum

anonymous enum
Enumerator
ASN1_SEQUENCE 

Definition at line 102 of file sec_negotiate_gnutls.h.

◆ anonymous enum

anonymous enum
Enumerator
hash_len 

Definition at line 202 of file sec_negotiate_gnutls.h.

◆ anonymous enum

anonymous enum
Enumerator
key_size_max 

Definition at line 203 of file sec_negotiate_gnutls.h.

◆ asn1_iterator_result [1/2]

Enumerator
ASN1_ITERATOR_ERROR 
ASN1_ITERATOR_PRIMITIVE 
ASN1_ITERATOR_CONSTRUCTED 
ASN1_ITERATOR_END 
ASN1_ITERATOR_ERROR 
ASN1_ITERATOR_PRIMITIVE 
ASN1_ITERATOR_CONSTRUCTED 
ASN1_ITERATOR_END 

Definition at line 95 of file sec_negotiate_gnutls.h.

◆ asn1_iterator_result [2/2]

Enumerator
ASN1_ITERATOR_ERROR 
ASN1_ITERATOR_PRIMITIVE 
ASN1_ITERATOR_CONSTRUCTED 
ASN1_ITERATOR_END 
ASN1_ITERATOR_ERROR 
ASN1_ITERATOR_PRIMITIVE 
ASN1_ITERATOR_CONSTRUCTED 
ASN1_ITERATOR_END 

Definition at line 95 of file sec_negotiate_gnutls.h.

Function Documentation

◆ asn1_der_iterator_first()

static enum asn1_iterator_result asn1_der_iterator_first ( struct asn1_der_iterator *  der,
int  size,
const void *  der_buf 
)
static

Definition at line 84 of file sec_negotiate_gnutls.h.

Referenced by tds5_rsa_encrypt().

◆ asn1_der_iterator_next()

static enum asn1_iterator_result asn1_der_iterator_next ( struct asn1_der_iterator *  der)
static

Definition at line 84 of file sec_negotiate_gnutls.h.

Referenced by rsa_public_key_from_der_iterator().

◆ convert_to_upper()

static void convert_to_upper ( char *  buf,
size_t  len 
)
static

Definition at line 95 of file challenge.c.

References buf, i, len, and toupper().

Referenced by make_ntlm_v2_hash().

◆ convert_to_usc2le_string()

static size_t convert_to_usc2le_string ( TDSSOCKET *  tds,
const char *  s,
size_t  len,
char *  out 
)
static

◆ fill_names_blob_prefix()

static void fill_names_blob_prefix ( names_blob_prefix_t *  prefix)
static

◆ make_lm_v2_response() [1/2]

static unsigned char* make_lm_v2_response ( const unsigned char  ntlm_v2_hash[16],
const unsigned char *  client_data,
int  client_data_len,
const unsigned char  challenge[8] 
)
static

Definition at line 224 of file challenge.c.

References hmac_md5, NULL, and tds_new.

Referenced by tds_answer_challenge_ntlmv2().

◆ make_lm_v2_response() [2/2]

static unsigned char* make_lm_v2_response ( const unsigned char  ntlm_v2_hash[16],
const unsigned char *  client_data,
TDS_INT  client_data_len,
const unsigned char  challenge[8] 
)
static

Definition at line 225 of file challenge.c.

References assert, hmac_md5, NULL, and tds_new.

Referenced by tds_answer_challenge_ntlmv2().

◆ make_ntlm_hash()

static TDSRET make_ntlm_hash ( TDSSOCKET *  tds,
const char *  passwd,
unsigned char  ntlm_hash[16] 
)
static

◆ make_ntlm_v2_hash()

static TDSRET make_ntlm_v2_hash ( TDSSOCKET *  tds,
const char *  passwd,
unsigned char  ntlm_v2_hash[16] 
)
static

◆ memxor()

static void memxor ( uint8_t *  dest,
const uint8_t *  src,
size_t  len 
)
static

Definition at line 213 of file sec_negotiate_gnutls.h.

References len, and n.

Referenced by mgf_mask().

◆ mgf_mask()

static void mgf_mask ( uint8_t *  dest,
size_t  dest_len,
const uint8_t *  mask,
size_t  mask_len 
)
static

Definition at line 221 of file sec_negotiate_gnutls.h.

References hash_func, hash_len, mask, memxor(), n, seed, and TDS_PUT_UA4BE.

Referenced by oaep_encrypt().

◆ nettle_mpz_get_str_256()

static void nettle_mpz_get_str_256 ( unsigned  length,
uint8_t *  s,
const mpz_t  x 
)
inlinestatic

Definition at line 84 of file sec_negotiate_gnutls.h.

References NULL, and mpz_t::num.

Referenced by tds5_rsa_encrypt().

◆ nettle_mpz_set_str_256_u()

static void nettle_mpz_set_str_256_u ( mpz_t  x,
unsigned  length,
const uint8_t *  s 
)
inlinestatic

Definition at line 78 of file sec_negotiate_gnutls.h.

References NULL, and mpz_t::num.

Referenced by oaep_encrypt().

◆ oaep_encrypt() [1/2]

static int oaep_encrypt ( size_t  key_size,
size_t  length,
const uint8_t *  message,
mpz_t  m 
)
static

◆ oaep_encrypt() [2/2]

static int oaep_encrypt ( size_t  key_size,
void *  random_ctx,
nettle_random_func *  random,
size_t  length,
const uint8_t *  message,
mpz_t  m 
)
static

◆ rnd_func()

static void rnd_func ( void *  ctx,
size_t  len,
uint8_t *  out 
)
static

Definition at line 195 of file sec_negotiate_gnutls.h.

References len, out(), and tds_random_buffer.

Referenced by tds5_rsa_encrypt().

◆ rsa_encrypt_oaep() [1/2]

static int rsa_encrypt_oaep ( const struct rsa_public_key *  key,
size_t  length,
const uint8_t *  message,
mpz_t  gibberish 
)
static

◆ rsa_encrypt_oaep() [2/2]

static int rsa_encrypt_oaep ( const struct rsa_public_key *  key,
void *  random_ctx,
nettle_random_func *  random,
size_t  length,
const uint8_t *  message,
mpz_t  gibberish 
)
static

◆ rsa_get_n()

static const BIGNUM* rsa_get_n ( const RSA *  rsa)
inlinestatic

Definition at line 41 of file sec_negotiate_openssl.h.

References n.

Referenced by tds5_rsa_encrypt().

◆ rsa_public_key_clear()

static void rsa_public_key_clear ( struct rsa_public_key *  key)
static

Definition at line 151 of file sec_negotiate_gnutls.h.

References ncbi::grid::netcache::search::fields::key, and mpz_clear.

Referenced by tds5_rsa_encrypt().

◆ rsa_public_key_from_der_iterator()

static int rsa_public_key_from_der_iterator ( struct rsa_public_key *  key,
unsigned  key_bits,
struct asn1_der_iterator *  der 
)
static

◆ rsa_public_key_init()

static void rsa_public_key_init ( struct rsa_public_key *  key)
static

Definition at line 143 of file sec_negotiate_gnutls.h.

References ncbi::grid::netcache::search::fields::key, and mpz_init.

Referenced by tds5_rsa_encrypt().

◆ sha1()

static void sha1 ( uint8_t *  hash,
const void *  data,
size_t  len 
)
static

Definition at line 178 of file sec_negotiate_gnutls.h.

References data, and len.

◆ tds5_negotiate_get_auth()

TDSAUTHENTICATION* tds5_negotiate_get_auth ( TDSSOCKET *  tds)

Definition at line 202 of file sec_negotiate.c.

References NULL, TDS_DBG_ERROR, and tdsdump_log.

◆ tds5_negotiate_set_msg_type()

void tds5_negotiate_set_msg_type ( TDSSOCKET *  tds,
TDSAUTHENTICATION *  tds_auth,
unsigned  msg_type 
)

Definition at line 197 of file sec_negotiate.c.

◆ tds5_rsa_encrypt()

static void* tds5_rsa_encrypt ( const void *  key,
size_t  key_len,
const void *  nonce,
size_t  nonce_len,
const char *  pwd,
size_t *  em_size 
)
static

◆ tds7_send_auth() [1/2]

static TDSRET tds7_send_auth ( TDSSOCKET *  tds,
const unsigned char *  challenge,
TDS_UINT  flags,
const unsigned char *  names_blob,
TDS_INT  names_blob_len 
)
static

◆ tds7_send_auth() [2/2]

static TDSRET tds7_send_auth ( TDSSOCKET *  tds,
const unsigned char *  challenge,
uint32_t  flags,
const unsigned char *  names_blob,
int  names_blob_len 
)
static

◆ tds_answer_challenge() [1/2]

static TDSRET tds_answer_challenge ( TDSSOCKET *  tds,
TDSLOGIN *  login,
const unsigned char *  challenge,
TDS_UINT *  flags,
const unsigned char *  names_blob,
TDS_INT  names_blob_len,
TDSANSWER *  answer,
unsigned char **  ntlm_v2_response 
)
static

Crypt a given password using schema required for NTLMv1 or NTLM2 authentication.

Parameters
passwdclear text domain password
challengechallenge data given by server
flagsNTLM flags from server side
answerbuffer where to store crypted password

Definition at line 297 of file challenge.c.

References flags, i, len, tds_answer::lm_resp, login, make_ntlm_hash(), MAX_PW_SZ, MD5Final, MD5Init, MD5Update, tds_answer::nt_resp, tds_login::password, tds, tds_answer_challenge_ntlmv2(), tds_convert_key(), tds_des_ecb_encrypt, tds_dstr_cstr(), tds_encrypt_answer(), tds_random_buffer, toupper(), tds_login::use_lanman, and tds_login::use_ntlmv2.

Referenced by tds7_send_auth().

◆ tds_answer_challenge() [2/2]

static TDSRET tds_answer_challenge ( TDSSOCKET *  tds,
TDSLOGIN *  login,
const unsigned char *  challenge,
uint32_t *  flags,
const unsigned char *  names_blob,
int  names_blob_len,
TDSANSWER *  answer,
unsigned char **  ntlm_v2_response 
)
static

Crypt a given password using schema required for NTLMv1 or NTLM2 authentication.

Parameters
passwdclear text domain password
challengechallenge data given by server
flagsNTLM flags from server side
answerbuffer where to store crypted password

Definition at line 296 of file challenge.c.

References flags, i, len, tds_answer::lm_resp, login, make_ntlm_hash(), MAX_PW_SZ, MD5Final, MD5Init, MD5Update, tds_answer::nt_resp, tds_login::password, tds, tds_answer_challenge_ntlmv2(), tds_convert_key(), tds_des_ecb_encrypt, tds_dstr_cstr(), tds_encrypt_answer(), tds_random_buffer, toupper(), tds_login::use_lanman, and tds_login::use_ntlmv2.

Referenced by tds7_send_auth().

◆ tds_answer_challenge_ntlmv2() [1/2]

static TDSRET tds_answer_challenge_ntlmv2 ( TDSSOCKET *  tds,
TDSLOGIN *  login,
const unsigned char *  challenge,
TDS_UINT *  flags,
const unsigned char *  names_blob,
TDS_INT  names_blob_len,
TDSANSWER *  answer,
unsigned char **  ntlm_v2_response 
)
static

◆ tds_answer_challenge_ntlmv2() [2/2]

static TDSRET tds_answer_challenge_ntlmv2 ( TDSSOCKET *  tds,
TDSLOGIN *  login,
const unsigned char *  challenge,
uint32_t *  flags,
const unsigned char *  names_blob,
int  names_blob_len,
TDSANSWER *  answer,
unsigned char **  ntlm_v2_response 
)
static

◆ tds_convert_key()

static void tds_convert_key ( const unsigned char *  key_56,
DES_KEY *  ks 
)
static

◆ tds_encrypt_answer()

static void tds_encrypt_answer ( const unsigned char *  hash,
const unsigned char *  challenge,
unsigned char *  answer 
)
static

Definition at line 379 of file challenge.c.

References tds_convert_key(), and tds_des_ecb_encrypt.

Referenced by tds_answer_challenge().

◆ tds_ntlm_free()

static TDSRET tds_ntlm_free ( TDSCONNECTION *  conn,
TDSAUTHENTICATION *  tds_auth 
)
static

Definition at line 545 of file challenge.c.

References free(), tds_authentication::packet, tds_ntlm_auth::tds_auth, and TDS_SUCCESS.

Referenced by tds_ntlm_get_auth().

◆ tds_ntlm_get_auth()

TDSAUTHENTICATION* tds_ntlm_get_auth ( TDSSOCKET *  tds)

Build a NTLMSPP packet to send to server.

Parameters
tdsA pointer to the TDSSOCKET structure managing a client/server operation.
Returns
authentication info

Definition at line 697 of file challenge.c.

References tds_login::client_host_name, free(), tds_authentication::free, tds_authentication::handle_next, int, tds_socket::login, ntlm_id, NULL, tds_authentication::packet, tds_authentication::packet_len, tds, tds_ntlm_auth::tds_auth, tds_dstr_cstr(), tds_dstr_len(), TDS_HOST4LE, tds_new, tds_new0, tds_ntlm_free(), tds_ntlm_handle_next(), TDS_PUT_A2LE, TDS_PUT_A4, TDS_PUT_A4LE, and tds_login::user_name.

◆ tds_ntlm_handle_next()

static TDSRET tds_ntlm_handle_next ( TDSSOCKET *  tds,
struct tds_authentication *  auth,
size_t  len 
)
static

◆ unix_to_nt_time() [1/2]

static void unix_to_nt_time ( TDS_UINT8 *  nt,
struct timeval *  tv 
)
static

put a 8 byte filetime from a time_t This takes GMT as input

Definition at line 562 of file challenge.c.

References TIME_FIXUP_CONSTANT.

Referenced by fill_names_blob_prefix().

◆ unix_to_nt_time() [2/2]

static void unix_to_nt_time ( uint64_t *  nt,
struct timeval *  tv 
)
static

put a 8 byte filetime from a time_t This takes GMT as input

Definition at line 591 of file challenge.c.

References TIME_FIXUP_CONSTANT.

Referenced by fill_names_blob_prefix().

Variable Documentation

◆ label [1/2]

const char label[] = ""
static

Definition at line 210 of file sec_negotiate_gnutls.h.

Referenced by CTable2AsnStructuredCommentsReader::_CheckStructuredCommentsSuffix(), CAlignFormatUtil::AcknowledgeBlastQuery(), CAlignFormatUtil::AcknowledgeBlastSubject(), CSelectDescription::Add(), AddBioseqToTable(), CLinkUtils::AddBlastProductLink(), CMActionNode::AddChild(), CAlnMultiRenderer::AddColumn(), CSuspectCompoundConstraintPanel::AddConstraint(), CCompoundConstraintPanel::AddConstraint(), CMacroCompoundConstraintPanel::AddConstraint(), CCriteriaSet::AddCriteria(), CLinkUtils::AddDbxrefLinksForSNP(), CUniqueLabelGenerator::AddExistingLabel(), CUser_field::AddField(), CUser_object::AddField(), CSubmissionPrepMainPanel::AddField(), CReadUtil::AddGeneOntologyTerm(), CGroupMapWidget::AddGroup(), AddIntColumnToTable(), CGroupMapWidget::AddItem(), CGBDocument::AddItems(), CLinkUtils::AddLink(), CScriptPanel::AddMacro(), CGBProjectHelper::AddProjectItemsFromRID(), AddProteinToSeqEntry(), CMenuItem::AddSeparator(), CTableAnnotDataSource::AddSeqLoc(), CLinkUtils::AddSequenceLinks(), CBuildDatabase::AddSequences(), CTableAnnotDataSource::AddSnpSeqLoc(), AddStringColumnToTable(), AddStrsField(), AddStructuredCommentToAttributes(), CMenuItem::AddSubItem(), CMenuItem::AddSubMenu(), CForeignContaminationScreenReportReader::AnnotateOrRemove(), CTrimN::apply(), ApplyChimeraValuesTableToSeqEntry(), ApplyCommentValuesTableToSeqEntry(), CSubmissionWizard::ApplySubmitCommand(), CClearKeywords::ApplyToCSeq_entry(), CGffRecord::AssignAttributesExtended(), BuildChimeraValuesTableFromSeqEntry(), BuildCommentDescriptorValuesTableFromSeqEntry(), CLabelDescriptionCache::CacheSeqId(), CAlnWriter::CAlnWriter(), CBLAST_Dlg_Item::CBLAST_Dlg_Item(), CExonParameters::CExonParameters(), CExtensionPointDeclaration::CExtensionPointDeclaration(), CGenbankIdResolve::CGenbankIdResolve(), CGoTermSortStruct::CGoTermSortStruct(), CValidError_bioseq::CheckForPubOnBioseq(), CComment_rule::CheckGeneralField(), CComment_rule::CheckGeneralFieldName(), CheckOneFeatureType(), CHTML_input_button::CHTML_input_button(), CHTML_reset::CHTML_reset(), CHTML_submit::CHTML_submit(), CkLabelType(), CMenuItem::CMenuItem(), CNoTabCheckBox::CNoTabCheckBox(), CNoTabHyperlinkCtrl::CNoTabHyperlinkCtrl(), CNoTabRadioButton::CNoTabRadioButton(), pub_report::CollectData(), CRemoveSequencesDlg::CombineLabels(), CRemoveSequencesDlg::CombineLabelsAll(), CRBSubpanel::CombineLabelsAll(), IProjectViewFactory::CombineObjects(), CTableViewWithTextViewNav::CombineObjects(), COrfSearchForm::ConstructQuery(), CDockNotebook::Cont_Replace(), CTableImportDataSource::ConvertToSeqAnnot(), CFieldHandlerFactory::Create(), CTrackConfigUtils::CreateComment(), CAutodefParamsPanel::CreateControls(), CDiscrepancyPanel::CreateControls(), CEditHistory::CreateControls(), CFarPointerSeq::CreateControls(), CReorderSequencesDlg::CreateControls(), CVarResolverDlg::CreateControls(), CCDSTranslationPanel::CreateControls(), CCitationsPanel::CreateControls(), CFeatureGenePanel::CreateControls(), CAssignColumnValueDlg::CreateControls(), CCopyColumnDlg::CreateControls(), CTableAnnotDataSource::CreateFeature(), CSeqUtils::CreateLinkRow(), CLBLASTObjectLoader::CreateLoader(), CSequenceEditingEventHandler::CreateSeqSubmit(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), CTrackConfigManager::CreateTrackConfig(), CSeqIdGuesser::CSeqIdGuesser(), decodeNewickSubtree(), CVCFVariantList::DeserializeAndCheck(), CPosToIndex::DeserializeVectors(), PT::CProjectItem::DoProperties(), PT::CDataLoader::DoRemove(), CGlDrawScale::Draw(), CRenderingContext::Draw5Prime(), CPaintAlignment::DrawFeatureLabels(), CPaintSequence::DrawFeatureLabels(), CPaintSequence::DrawLineNumber(), CPaintSequence::DrawTextCell(), CPaintAlignment::DrawTopLineNumbers(), CInputModel::Error(), CAgpObjectLoader::Execute(), CAssemblyObjectLoader::Execute(), CBedObjectLoader::Execute(), CGBFlatFileObjectLoader::Execute(), CGBObjectLoader::Execute(), CGffObjectLoader::Execute(), CLBLASTObjectLoader::Execute(), CPhyObjectLoader::Execute(), CRMObjectLoader::Execute(), CVcfObjectLoader::Execute(), CWigObjectLoader::Execute(), CPhyTreeFormatter::ExpandCollapseSubtree(), CSequenceEditingEventHandler::ExportStructuredCommentsTable(), SrcEditDialog::FindBadColumns(), CSelectTargetDlg::FindBioseq(), CCriteriaSet::FindCriteria(), CGBProjectHandle::FindDataLoaderByLabel(), CProjectFolder::FindProjectItemByLabel(), CValidError_align::FindSegmentGaps(), CMenuItem::FindSubItem(), CFlatModelEvQVal::Format(), CVecscreenRun::CFormatter::FormatResults(), fta_fix_seq_loc_id(), CRegExFSA::GenerateDotGraph(), GeneXrefConflicts(), CStructCommentSubpanel::GetAllLabels(), CSeqUtils::GetAnnotUserField(), GetAuthorsString(), GetBestBioseqLabel(), CMacroBioData_FeatIterBase::GetBestDescr(), CMacroBioData_FeatIntervalIter::GetBestDescr(), CMacroBioData_SeqSetIter::GetBestDescr(), CAddFluComments::GetBestLabel(), CDUpdater::GetBlastDefline(), CBLAST_Dlg_Item::GetChildByLabel(), CWriteUtil::GetCodeBreak(), CSeqTableGrid::GetColLabelValue(), CTableDataFTable::GetColumnLabel(), CTableDataSeq_table::GetColumnLabel(), CFarPointerSeq::GetCommand(), CMixedStrands::GetCommand(), CMacroCompoundConstraintPanel::GetConstraints(), CCreateSeqHistForTpa::GetCreateSeqHistFromTpaCommand(), CCriteriaSet::GetCriteriaInstance(), CDate::GetDate(), CDate_std::GetDate(), CMacroCompoundConstraintPanel::GetDescription(), CAdvStringConstraintPanel< T >::GetDescription(), CMacroLocationConstraintPanel::GetDescription(), CDesktopSeqSubmitItem::GetDescription(), CDesktopContactInfoItem::GetDescription(), CDesktopCitSubItem::GetDescription(), CDesktopSeqdescItem::GetDescription(), CDesktopAlignItem::GetDescription(), CDesktopGraphItem::GetDescription(), CMacroFeatsOnSeqPanel::GetDescription(), CEditObjectSeq_desc::GetDescriptorType(), CClickableSortUniqueCount::GetExpandedNodes(), CMacroFlowEditor::GetExpandedNodes(), CVcfTrackDataFactory::GetExtensionLabel(), CObjectListTableModel::GetExtraValueAt(), CObjectListSelTM::GetExtraValueAt(), CCreateFeat::GetFeatLabel(), CValidator::CCacheImpl::GetFeatStrKeyToFeats(), CAlignmentAssistant::GetFeatures(), CEditSequence::GetFeatures(), CStructCommentFieldPanel::GetFieldName(), CSrcTableDbxrefColumn::GetFromBioSource(), CDbXrefColumn::GetFromFeat(), CBLASTParams::GetGeneticCodeByLabel(), CGroupMapWidget::GetHotItem(), CAlnStatGlyph::GetHTMLActiveAreas(), CHistogramGlyph::GetHTMLActiveAreas(), GetIdLabel(), CSeqIdGuesser::GetIdStrings(), CScriptPanel::GetIndex(), CLocationConstraintPanel::GetItem(), CTripleConstraintPanel< T >::GetItem(), CLocationConstraintPanel::GetLabel(), CGuiObjectInfoComponent::GetLabel(), CGuiObjectInfoSeq_feat::GetLabel(), CClonePlacementGlyph::GetLabel(), CGuiObjectInfoSeq_align::GetLabel(), CRsitesGlyph::GetLabel(), CGuiObjectInfoBioseq::GetLabel(), CGuiObjectInfoBioseq_set::GetLabel(), CGuiObjectInfoBioTreeContainer::GetLabel(), CGuiObjectInfoDefault::GetLabel(), CGuiObjectInfoDistanceMatrix::GetLabel(), CGuiObjectInfoEntrezgene::GetLabel(), CGuiObjectInfoGCAssembly::GetLabel(), CGuiObjectInfoSeq_align_set::GetLabel(), CGuiObjectInfoSeq_annot::GetLabel(), CGuiObjectInfoSeq_id::GetLabel(), CGuiObjectInfoSeq_loc::GetLabel(), CGuiObjectInfoValidError::GetLabel(), CEditSequenceEnds::GetLabel(), CBioseqHandler::GetLabel(), CSeq_align_setHandler::GetLabel(), CValidErrorHandler::GetLabel(), CTaxIDSetLabelHandler::GetLabel(), CSeq_idHandler::GetLabel(), CSeq_locHandler::GetLabel(), CVcfVariantHandler::GetLabel(), CBioseq_setHandler::GetLabel(), CSeq_featHandler::GetLabel(), CSeq_entryHandler::GetLabel(), CSeq_alignHandler::GetLabel(), CSeq_annotHandler::GetLabel(), CBioTreeContainerHandler::GetLabel(), CGCAsssemblyHandler::GetLabel(), CEntrezgeneHandler::GetLabel(), CEntrezgene_SetHandler::GetLabel(), CVariationHandler::GetLabel(), CDistanceMatrixHandler::GetLabel(), CLabel::GetLabel(), CUserFeatHandler::GetLabel(), GetLabel(), CRemoveSequencesDlg::GetLabel(), CRBSubpanel::GetLabel(), CVcfVariant::GetLabel(), CFeatGlyph::GetLabel(), CSegmentGlyph::GetLabel(), CVcfGlyph::GetLabel(), CSeqdesc::GetLabel(), CDbtag::GetLabel(), CMolInfo::GetLabel(), CGene_ref::GetLabel(), COrg_ref::GetLabel(), CProt_ref::GetLabel(), CSeq_loc::GetLabel(), ICitationBase::GetLabel(), CUser_object::GetLabel(), CBioseq_set::GetLabel(), CSeq_entry::GetLabel(), CPub::GetLabel(), CBioseq::GetLabel(), CSeq_id::GetLabel(), CPerson_id::GetLabel(), CPub_equiv::GetLabel(), CPub_set::GetLabel(), ShowHideInfo::GetLabel(), CLabelDescriptionCacheImpl::GetLabel(), Sequence::GetLabel(), MoleculeIdentifier::GetLabel(), CDataLoader::GetLabels(), CStructCommentSubpanel::GetLabelsFromSeq(), CAffil::GetLabelV1(), CAuth_list::GetLabelV1(), CAuthor::GetLabelV1(), CCit_art::GetLabelV1(), CCit_book::GetLabelV1(), CCit_gen::GetLabelV1(), CCit_jour::GetLabelV1(), CCit_let::GetLabelV1(), CCit_pat::GetLabelV1(), CCit_proc::GetLabelV1(), CCit_sub::GetLabelV1(), CId_pat::GetLabelV1(), CMedline_entry::GetLabelV1(), CAffil::GetLabelV2(), CAuth_list::GetLabelV2(), CAuthor::GetLabelV2(), CCit_art::GetLabelV2(), CCit_book::GetLabelV2(), CCit_gen::GetLabelV2(), CCit_jour::GetLabelV2(), CCit_let::GetLabelV2(), CCit_pat::GetLabelV2(), CCit_proc::GetLabelV2(), CCit_sub::GetLabelV2(), CId_pat::GetLabelV2(), CMedline_entry::GetLabelV2(), CGraphTrack::GetLegend(), CHistogramGlyph::GetLegend(), CAlignFormatUtil::GetLinkoutUrl(), CGuiObjectInfoVariant::GetLinks(), CGuiObjectInfoVariation::GetLinks(), GetLocationString(), CMacroAdvStringConstraintPanel< T >::GetMatcher(), CFarPointerSeq::GetMessageForId(), CDFamily::getNewickRepresentation(), CPhyloTreeLabel::GetNodeLabelOffset(), CEntrezgene::GetNomenclature(), CMatchCDS::GetNummRNA(), CValidErrorFormat::GetObjectLabel(), CUser_object::GetObjectType(), CAutoDefAvailableModifier::GetOrgModLabel(), CSequesterSets::GetParams(), GetParams(), CBLASTParams::GetProgramByLabel(), GetPubdescLabel(), CCleanup::GetPubdescLabels(), GetPubdescLabels(), CProjectView::GetReflectionInfo(), CBamDb::GetRefSeq_id(), CCSRAFileInfo::GetRefSeqInfo(), CApplyRNAITSDlg::GetRNA_IGSTypeFromName(), CApplyRNAITSDlg::GetRNA_ITSTypeFromName(), CSeqTableGrid::GetRowLabelValue(), CwxGridTableAdapter::GetRowLabelValue(), CPaintAlignment::GetSegments(), CItemSelectionPanel::GetSelectedItemRef(), GetSeqFeatLabel(), CSeq_id::GetSeqIdString(), CEditSequence::GetSeqTitle(), CPaintAlignment::GetSeqTitle(), GetSeqTitle(), CAlignmentTrackFactory::GetSettings(), CAlnStatConfig::GetStatLabel(), CProjectItemExtra::GetStr(), CSeq_id::GetStringDescr(), CWriteUtil::GetStringForModelEvidence(), GetStringOfFeatQual(), GetStringOfSourceQual(), CTableDataSeq_table::GetStringValue(), CAutoDefAvailableModifier::GetSubSourceLabel(), CFileLoadManager::GetTask(), CDiscrepancyContext::CRefNode::GetText(), GetTextObjectDescription(), CDiscrepancyObject::GetTextObjectDescription(), CGuiObjectInfoSeq_align::GetToolTip(), CGuiObjectInfoComponent::GetToolTip(), CDBLinkField::GetTypeForLabel(), CPubFieldType::GetTypeForLabel(), CDBLinkFieldType::GetTypeForLabel(), CGBBlockField::GetTypeForLabel(), CUIDataSourceService::GetUIDataSourceByLabel(), CUIDataSourceService::GetUIDataSourceTypeByLabel(), CSrcTableDbxrefColumn::GetValsFromBioSource(), CEditingActionFeatTranscriptId::GetValue(), CFeatTableDS::GetValueAt(), CMacroCompoundConstraintPanel::GetVariables(), CCleanupApp::HandleSeqEntry(), HasBadGenomeAssemblyLength(), CMacroCompoundConstraintPanel::HasVariables(), CUIObject::Init(), CMenuItem::Init(), IBISInteraction::Initialize(), PT::CDataLoader::Initialize(), PT::CWorkspace::Initialize(), PT::CView::Initialize(), PT::CDataSource::Initialize(), CMenuItem::InitItem(), IPhyloTreeRender::InitLabel(), CMenuItem::InitPopup(), CWordSubstitutionDlg::InitSubstitutions(), CTextView::InitView(), CAlnMultiRenderer::InsertColumn(), CScriptPanel::InsertMacro(), CSubPrepIntroPanel::IsComplete(), CLocalIDField::IsEmpty(), CStructuredCommentField::IsEmpty(), IsKnownField(), CFormatGuess::IsLabelNewick(), CGBProjectHandle::IsProjectItemLabelUnique(), CComment_rule::IsValid(), Sequence::LaunchWebBrowserWithInfo(), XPrintTotalsItem::line(), CFastaObjectLoader::LoadAlignsFromStream(), CFastaObjectLoader::LoadFromStream(), CAsnObjectLoader::LoadFromStream(), CTextAlignObjectLoader::LoadFromStream(), CId2ReaderBase::LoadLabels(), CSeqGraphicConfig::LoadSettingStyles(), CEditObjectSeq_desc::LocationChange(), CUser_object::CRefGeneTrackingAccession::MakeAccessionFromUserField(), makeEdge(), makeNewNode(), makeNode(), MakeOriginalIdField(), MakeStructuredCommentField(), CGBProjectHandle::MakeUniqueDataLoaderLabel(), CGBProjectHandle::MakeUniqueFolderLabel(), CGBProjectHandle::MakeUniqueItemLabel(), CUniqueLabelGenerator::MakeUniqueLabel(), CGBWorkspace::MakeUniqueProjectTitle(), ICitationBase::MaybeAddSpace(), CMenuItem::Merge(), Merge(), MkField(), CSeqGraphicPane::ModifyMarker(), CCompareSeqRegions::NextComparisonGroup(), ICitationBase::NoteSup(), oaep_encrypt(), OfferToDeleteDescriptor(), CFlatFileDemoDlg::OnAccClick(), CSuspectAddConstraint::OnAccept(), CMacroWordSubstitutionDlg::OnAdd(), CWordSubstitutionDlg::OnAdd(), CMacroFlowEditor::OnAppendClick(), CMinPanelContainer::OnContextMenu(), CSeqTableGridPanel::OnCopyCellsFromId(), CMacroFlowEditor::OnCopyClick(), CMacroFlowEditor::OnCutClick(), CMacroFlowEditor::OnDuplicateClick(), CCompoundConstraintPanel::OnEditConstraint(), CSuspectCompoundConstraintPanel::OnEditConstraint(), CMacroCompoundConstraintPanel::OnEditConstraint(), CMacroWordSubstitutionDlg::OnEditSubstitutionList(), CEditingBtnsPanel::OnFindButton(), CSubPrep_panel::OnFlatfileClick(), CGrid::OnGridLabelRightClick(), CLDFilterDialog::OnLengthSliderUpdated(), CSelectFeatureDlg::OnLoadAccession(), CMacroFlowEditor::OnManualEditMacro(), CUpdateMultiSeq_Dlg::OnMapSelectionClick(), CFindEditSequence::OnNext(), CFastaAlignExportPage::OnObjectSelected(), CwxTreeLabelEdit::OnOkClick(), CPaintAlignment::OnPaint(), CMacroFlowEditor::OnPasteClick(), CFindEditSequence::OnPrev(), CPrintHanderWx::OnPrintPage(), CMacroWordSubstitutionDlg::OnRemove(), CWordSubstitutionDlg::OnRemove(), CCompoundConstraintPanel::OnRemoveConstraint(), CSuspectCompoundConstraintPanel::OnRemoveConstraint(), CMacroCompoundConstraintPanel::OnRemoveConstraint(), CMacroWordSubstitutionDlg::OnRemoveFromFile(), CUpdateMultiSeq_Dlg::OnRemoveIdenticalsClick(), CLDFilterDialog::OnScoreSliderUpdated(), CStructCommentSubpanel::OnSelectButton(), CAlignmentAssistant::OnTarget(), CPhyTreeLabelTracker::operator()(), CUpdateECNumbers::operator()(), STreeNodeMapper::operator()(), CVariantDescriptors::operator[](), CGridCommandLineInterfaceApp::ParseLoginToken(), CDiscrepancyContext::PopulateBioseq(), CPrefixDeflinedlg::PopulateModifierCombo(), CTabularFormatter_OrgName::Print(), CAgpValidateReader::CIdsNotInAgp::Print(), PrintNode(), CAgpValidateReader::CIdsNotInAgp::PrintXml(), CBiosampleChkApp::ProcessBioseqForUpdate(), CBiosampleChkApp::ProcessList(), CTextViewProjectItemExtension::ProjectItemAttached(), CNewCleanup_imp::PubSetBC(), CVariantDescriptors::PushBack(), CReadBlastApp::ReadBlast(), CEditSequenceEnds::ReadSequences(), reduce_code_size(), CDockNotebook::RefreshPageByWindow(), CSubPrepIntroPanel::RefreshSubmitterInfoStatus(), CUICommandRegistry::RegisterCommand(), CDUpdater::RemoveBlastDefline(), CUser_object::RemoveNamedField(), CCleanup::RemovePseudoProduct(), CVCFVariantList::RemoveSerializedOutput(), CPosToIndex::RemoveSerializedOutput(), CSeqGraphicPane::RenameMarker(), CReorderStructuredComment::reorder_comment_by_rule(), CReorderSequencesDlg::ReorderById(), CComment_rule::ReorderFields(), objects::CFixSuspectProductName::ReportFixedProduct(), CValidError_annot::ReportLocationGI0(), CAlignmentAssistant::ReportPos(), CAlignmentAssistant::ReportRange(), CAlignmentAssistant::ReportUnresolvedBioseqs(), CMenuService::ResetMenuBar(), SRelLoc::Resolve(), CMultiApplication::Run(), CDemoApp::Run(), s_AddOtherRelatedInfoLinks(), s_CollapseProjectFolder(), s_DescribeSegment(), s_EncodeLabel(), s_ExtendEntriesFromAlignments(), s_FieldHasLabel(), s_Fingerprint_Seq_feat(), s_GatherIdLabels(), CSingleFeatValidator::s_GeneRefsAreEquivalent(), s_GetAbstractText(), s_GetAlignmentContent(), s_GetAlignmentTooltip(), s_GetAlignmentType(), s_GetAnnotContent(), s_GetAnnotType(), s_GetAssemblyInfo(), s_GetAuthorsString(), s_GetBioseq_setContent(), s_GetBioseq_setType(), s_GetBioseqAcc(), s_GetCachedDescription(), s_GetContentLabel(), NSearchFeatPanel::s_GetCustomLabel(), s_GetDefline(), s_GetDescription(), s_GetDisplayLabel(), NSearchFeatPanel::s_GetFeatureLabel(), s_GetFeatureLabel(), s_GetFullLinkoutUrl(), CCompareSeqRegions::s_GetGeneId(), s_GetGeneTextLabel(), s_GetGenProdContent(), s_GetGOText(), s_GetIdLabel(), s_GetLabel(), s_GetLabels(), s_GetModelEvidance(), s_GetNucProtContent(), s_GetProductFlagFromCDSProductNames(), s_GetRnaRefLabel(), s_GetRnaRefLabelFromComment(), s_GetSegsetContent(), s_GetSeq_intervalLabel(), NSearchFeatPanel::s_GetSeq_TotalRangeLabel(), s_GetSeq_TotalRangeLabel(), CUpdateMultiSeq_Dlg::s_GetSeqIDLabel(), NSearchFeatPanel::s_GetSeqLabel(), s_GetSeqLabel(), s_GetStrForStructuredComment(), s_GetTypeLabel(), s_GetUserObjectContent(), s_IdLabel(), s_IsNonText(), NSearchFeatPanel::s_LabelFromQualifiers(), s_MakePubLabelString(), s_MapLinkoutGenParam(), s_MatchesFieldName(), s_OpenPipeOrPty(), s_PackAsUserField(), s_Process(), s_RemoveFolder(), s_RemoveItem(), s_RemovePanfsBasePath(), s_Render_SeqAlign(), s_SetDBLinkField(), s_SetDBLinkFieldVals(), s_ShortenIdLabel(), s_ShouldIgnoreStructuredCommentFieldDiff(), s_TestGetLabel(), s_TestResultTreeContainer(), s_TestTree(), s_TraverseDynTree(), s_TraverseTree(), s_UseCommentBeforeSemicolon(), CwxGridTableAdapter::SaveSettings(), SrcEditDialog::SaveTableFile(), SaveTableFile(), SaveTableRowAsListFile(), CScriptPanel::SelectMacro(), CScriptPanel::SelectMacros(), COpenDlg::SelectOptionByLabel(), CRelaxedLookupDlg::SendQuery(), SeqTableFromAssemblyFields(), CVCFVariantList::SerializeVariantData(), CPosToIndex::SerializeVectors(), CReader::SetAndSaveSeq_idLabel(), CLengthSubpanel::SetClusters(), CIDSubpanel::SetClusters(), CTextSubpanel::SetClusters(), CFileSubpanel::SetClusters(), CFieldSubpanel::SetClusters(), CFeatureTypeSubpanel::SetClusters(), CDescTypeSubpanel::SetClusters(), CMolInfoSubpanel::SetClusters(), CStructCommentSubpanel::SetClusters(), CSeqTableGrid::SetColLabelValue(), CSeqTableGridPanel::SetColumnSizesAndChoices(), CGlyphContainer::SetComments(), CSuspectCompoundConstraintPanel::SetConstraints(), CSubPrepFieldEditor::SetConverter(), CUpdateSeqPanel::SetData(), CGroupMapWidget::SetDefaultItem(), CClickableSortUniqueCount::SetExpandedNodes(), CMacroFlowEditor::SetExpandedNodes(), CStatusMessageSlotPanel::SetExtraLink(), CMessageSlotPopupWindow::SetExtraLink(), CSubmissionPrepMainPanel::SetFeaturesLabel(), CFilterColumnsDlg::SetGridAdapter(), CMacroLabel::SetIndex(), CItemSelectionPanel::SetItemTypeLabel(), CPhyloTreeNode::SetLabel(), CPhyNodeData::SetLabel(), CAlignmentSmear::SetLabel(), CExtensionPoint::SetLabel(), CMenuItem::SetLabel(), CUIObject::SetLabel(), CSeqMarkHandler::SetLabel(), CMarker::SetLabel(), CStaticTextHandle::SetLabel(), CLabelDescriptionCacheImpl::SetLabel(), CLabel::SetLabelByData(), CGraphTrack::SetLayout(), CReaderRequestResult::SetLoadedLabelFromSeqIds(), CMacroParamsPanel::SetMacro(), SetMinimumPub(), CConversionResultPanel::SetObjects(), CAskToRemoveOrphansAndProteins::SetOrphansLabel(), CAskToRemoveOrphansAndProteins::SetProteinsLabel(), CBam2Seq_graph::SetRefLabel(), CSubmissionPrepMainPanel::SetSourceLabel(), CProjectItemExtra::SetStr(), CMacroAddConstraint::SetStringSelection(), CMacroWordSubstitutionDlg::SetSubstitutionList(), CRuler::SetTextLabel(), CLayoutTrack::SetTitle(), CVcfRefSequencesPanel::SetTopLevelSeqCount(), CwxGridTableAdapter::SetView(), sGenerateFields(), CBioSource::ShouldIgnoreConflict(), CwxGridTableAdapter::ShowColumn(), pub_report::CSkipSeqIdHook::SkipClassMember(), sljit_deserialize_compiler(), sljit_emit_fselect(), sljit_emit_label(), sljit_emit_select(), sljit_generate_code(), sljit_get_label_addr(), sljit_get_label_index(), sljit_get_next_label(), sljit_serialize_compiler(), CDiscrepancyVisitorImpl< _Name >::Summarize(), CSuspect_rule::SummarizeFieldConstraint(), CSuspect_rule::SummarizeFieldType(), CScriptPanel::ToggleSkip(), CFeatureGenePanel::TransferDataFromWindow(), CMatchFeatureTableDlg::TransferDataToWindow(), CGAssemblyOtherPanel::TransferDataToWindow(), CSingleAssemblyTrackingPanel::TransferDataToWindow(), CSingleRefGeneTrackLocPanel::TransferDataToWindow(), CCDSTranslationPanel::TransferDataToWindow(), CLabel::TruncateLabel(), TypeFromLabel(), CScriptPanel::UnselectMacro(), CSeqTableGridPanel::UpdateColumnLabelHeight(), CMacroLabel::UpdateCounter(), CStringConstraintSelect::UpdateCountSelectedDisplay(), CMacroFlowEditor::UpdateEditedMacro(), PT::CWorkspace::UpdateHiddenItems(), CRemoveSequencesDlg::UpdateList(), CRBSubpanel::UpdateList(), CUpdateSeqPanel::UpdatePanel(), CClickableSortUniqueCount::UpdateTree(), CBioSource::UpdateWithBioSample(), CIntronValidator::Validate(), CValidError_imp::Validate(), CCreateSeqHistForTpa::ValidateAlignments(), CValidError_imp::ValidateCitations(), CValidError_bioseq::ValidateCollidingGenes(), CValidError_annot::ValidateSeqAnnotContext(), CValidError_bioseq::ValidateSeqId(), CValidError_bioseq::ValidateSeqIds(), CValidError_imp::ValidateSeqLoc(), CSingleFeatValidator::ValidateSplice(), CValidError_bioseq::ValidateWGSMaster(), CRenderingContext::WillLabelFit(), CUCSCRegionWriter::WriteAnnot(), CVcfWriter::WriteAnnot(), CFastaOstream::WriteSequence(), CAlignFormatUtil::x_AcknowledgeBlastSequence(), CLinkUtils::x_AddDbxrefFeatureLinks(), CFastaOstreamEx::x_AddDeflineAttribute(), CPhyTreeFormatter::x_AddFeaturesForInnerNodes(), CFeatureItem::x_AddFTableExtQuals(), CFeatureItem::x_AddFTableRnaQuals(), CFeatureItem::x_AddGoQuals(), CGBDocument::x_AddItems(), CLinkUtils::x_AddLink(), CGuiObjectInfoSeq_feat::x_AddLocationRows(), CSeqGraphicPane::x_AddNewMarker(), CMixedStrands::x_AddSequenceIds(), CDataMiningPanel::x_AddToProject(), CDescPlacementPanel::x_AddToStrings(), CRemoveCollidingPubs::x_ApplyToPubdesc(), CCleanupApp::x_BasicAndExtended(), CSubmitBlockDlg::x_BuildPages(), CBLAST_DB_Dialog::x_BuildTreeItems(), CFileLoadWizard::x_CanLeavePage(), CFileLoadManager::x_CanLeavePage(), CValidError_imp::x_CheckLoc(), CObjectListWidgetSel::x_CopyUniqueObjects(), CVcfLoadingJob::x_CreateColumnarVCFProjectItem(), CTableViewWithTextViewNav::x_CreateDefaultTextView(), CDataMiningPanel::x_CreateFeature(), CProjectServiceTestJob::x_CreateItems(), CBLAST_DB_Dialog::x_CreateItems(), CGuiObjectInfoSeq_feat::x_CreateLink(), CwxMainFrame::x_CreateNextItem(), CSeqGraphicWidget::x_CreatePopupMenu(), CGBankLoadingJob::x_CreateProjectItems(), CBLASTSeqToolJob::x_CreateProjectItems(), CPhyloTreeJob::x_CreateProjectItems(), CTaxTreeToolJob::x_CreateProjectItems(), CSplignJob::x_CreateProjectItems(), CCpgSearchJob::x_DoSearch(), CLDBlockGlyph::x_Draw(), CAlignSmearGlyph::x_Draw(), CClonePlacementGlyph::x_Draw(), CHistogramGlyph::x_Draw(), CSegmentGlyph::x_Draw(), CTranslationGlyph::x_Draw(), CAlnStatGlyph::x_DrawBarGraph(), CDockPanel::x_DrawClientElements(), CAlnStatGlyph::x_DrawDensityTable(), CSeqGlyph::x_DrawInnerLabelColumns(), CSeqGlyph::x_DrawInnerLabels(), CMinPanelContainer::x_DrawItem(), CLinkedFeatsGroup::x_DrawLabels(), CFeatGlyph::x_DrawLabelWithXPinned(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CSeqGlyph::x_DrawTruncatedLabel(), CUpdateMultiSeq_Dlg::x_FillIdenticalList(), CUpdateMultiSeq_Dlg::x_FillNonIdenticalList(), CUpdateMultiSeq_Dlg::x_FillNoUpdateList(), CUpdateMultiSeq_Dlg::x_FillUnmatchedList(), CItemSelectionPanel::x_FilterItems(), CBLAST_DB_Dialog::x_FilterItems(), CObjectListWidgetSel::x_FilterObjectList(), CwxAnnotConfigDlg::x_FindAnnot(), CItemSelectionPanel::x_FindItemByLabel(), CPrefixDeflinedlg::x_FindModifierBasedOnLabel(), CConvertFeatureBase::x_FindOption(), CMenuItem::x_FindSubItem(), CVcfLoadingJob::x_FindSynonyms(), CFeatureItem::x_FormatQuals(), CSourceFeatureItem::x_FormatQuals(), CGenomeProjectItem::x_GatherInfo(), CGenbankGatherer::x_GatherTLS(), CGenbankGatherer::x_GatherTSA(), CGenbankGatherer::x_GatherWGS(), CAlnVecRow::x_GetAlnPosLabel(), CAlignmentSmear::x_GetAnnotName(), CWindowManager::x_GetClientLabelForMenu(), CCreateGeneModelTask::x_GetCommand(), CSeq_featHandler::x_GetCustomLabel(), CGridTableSeqIds::x_GetDescriptionLabel(), CDisplaySeqalign::x_GetDumpgnlLink(), CWriteDB_Impl::x_GetFastaReaderDeflines(), CTranslationGlyph::x_GetFrameLabel(), CGroupMapWidget::x_GetGroupIndex(), CAutoDef::x_GetHumanSTRFeatureClauses(), CAutoDef::x_GetHumanSTRv2FeatureClauses(), CGridTableSeqIds::x_GetLabel(), CHistogramGlyph::x_GetLabel(), x_GetLabel_Content(), x_GetLabel_Type(), CRuler::x_GetLabelSize(), CRuler::x_GetLabelSizeUnscaled(), ICitationBase::x_GetLabelV1(), CCit_pat::x_GetLabelV2(), CCit_art::x_GetLabelV2(), CAuthor::x_GetLabelV2(), CRNANamePanel::x_GetMultiElementName(), CUpdateSeqPanel::x_GetNameAndLength(), CFileLoadManager::x_GetOptionsPanel(), CAutoDefModifierCombo::x_GetOrgModLabel(), CBioSource::x_GetOrgModNameValPairs(), CAutoDefFeatureClause::x_GetProductName(), CRNANamePanel::x_GetSingleElementName(), SrcEditDialog::x_GetSourceTableChoices(), CAutoDefModifierCombo::x_GetSubSourceLabel(), CBioSource::x_GetSubtypeNameValPairs(), CAlignedFeatureGraph::x_GetTooltip(), CLinkedFeatsGroup::x_GetUniqueLabel(), CViewGraphic::x_GetViewSettingsFromParams(), CEditObjectSeq_feat::x_HandleCdsProduct(), CFeatureItem::x_ImportQuals(), CAlnSpanVertModel::x_Init(), CwxAnnotConfigDlg::x_InitAnnotList(), CPhyTreeFormatter::x_InitTreeLabels(), CDockContainer::x_InstantiateNode_AddChildWindows(), CSeq_featHandler::x_LabelFromQualifiers(), CwxGridTableAdapter::x_LoadColumnWidth(), CCompareWithBiosample::x_LoadData(), CTaxonCache::x_LoadTaxonCache(), CMinPanelContainer::x_MeasureItem(), CSeqGraphicPane::x_ModifyMarker(), CGeneModelTrack::x_NeedHighlight(), CSegmentMapTrack::x_NeedHighlight(), CFeatureTrack::x_NeedHighlight(), CNewCleanup_imp::x_NotePubdescOrAnnotPubs_RecursionHelper(), CFeatureTrack::x_OnContentIconClicked(), CObjectListWidget::x_OnCopy(), CGraphTrack::x_OnJobCompleted(), CURLTooltipHandler::x_ParseGenomicLinkHref(), CNAUtils::x_ParseNAMetaData(), CCorrectRNAStrandDlg::x_PopulateAccessionList(), CNewCleanup_imp::x_PostProcessing(), CMultiAlnPrinter::x_PrintFastaPlusGaps(), CAgpValidateReader::x_PrintGapCountsLine(), CPhyTreeFormatter::x_PrintNewickTree(), CAgpValidateReader::x_PrintTotals(), CGeneModelFeatJob::x_ProcessLandMarkFeatures(), CFeatGlyph::x_RedundantLabelCheck(), CVcfGlyph::x_RedundantLabelCheck(), CGBProjectTool::x_RemoveFolder(), CGBProjectTool::x_RemoveItem(), CAlnVecRow::x_RenderAlnPos(), CTreeGraphicsModel::x_RenderNodeLabelsPdf(), CSingleFeatValidator::x_ReportAcceptorSpliceSiteReadErrors(), CSingleFeatValidator::x_ReportDonorSpliceSiteReadErrors(), CRNAValidator::x_ReportRNATranslationProblems(), CSingleFeatValidator::x_ReportSpliceProblems(), CCdregionValidator::x_ReportTranslationProblems(), CwxGridTableAdapter::x_SaveColumnWidth(), CFeatureSearchJob::x_SearchFeatures(), CFeatureItem::x_SeqIdWriteForTable(), x_ServicePrefix(), CDescrModApply::x_SetDBLink(), CDescrModApply::x_SetDBLinkField(), CDescrModApply::x_SetDBLinkFieldVals(), CSubPrepFieldEditor::x_SetEditorControls(), CDescrModApply::x_SetFileTrack(), CCDSTranslationPanel::x_SetLocationForProtein(), CSequenceUpdater::x_ShouldImportFeature(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CAutoDefFeatureClause_Base::x_tRNAGeneFromProduct(), CAlignGlyph::x_UpdateBoundingBox(), CClonePlacementGlyph::x_UpdateBoundingBox(), CFeatGlyph::x_UpdateBoundingBox(), CLinkedFeatsGroup::x_UpdateBoundingBox(), CSegmentGlyph::x_UpdateBoundingBox(), CVcfGlyph::x_UpdateBoundingBox(), CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange(), CSixFramesTransTrack::x_UpdateData(), CGraphOverlay::x_UpdateLegend(), CHistogramGlyph::x_UpdateLegend(), CwxMarkerInfoPanel::x_UpdateMarkerLabel(), CConvertFeatDlg::x_UpdateOptions(), CAutodefFeatClausePanel::x_UpdateSuppressedFeatureTypeList(), CConfigureTracksDlg::x_UpdateTrackCount(), CViewGraphic::x_UpdateVisRangeLayout(), CSingleFeatValidator::x_ValidateBothStrands(), CValidError_align::x_ValidateDendiag(), CValidError_align::x_ValidateDenseg(), CValidError_align::x_ValidateDim(), CSingleFeatValidator::x_ValidateGeneXRef(), CValidError_graph::x_ValidateGraphLocation(), CValidError_graph::x_ValidateGraphValues(), CGeneValidator::x_ValidateOperon(), CValidError_bioseq::x_ValidatePubFeatures(), CValidError_align::x_ValidateSeqLength(), CValidError_align::x_ValidateStd(), CValidError_desc::x_ValidateStructuredComment(), CDockContainer::x_Visible_AddChildToContainer(), CVcfWriter::x_WriteFeature(), CFeatureTableReader::xAddProteinToSeqEntry(), CGff2Writer::xAssignFeatureAttributeDbxref(), CSrcWriter::xGatherDefline(), CSrcWriter::xGatherGi(), CSrcWriter::xGatherId(), CEditObjectFeaturePropagate::xInit(), and CNewCleanup_imp::xUpdateSeqfeatCitGenLabel().

◆ label [2/2]

const char label[] = ""
static

Definition at line 204 of file sec_negotiate_gnutls.h.

Referenced by oaep_encrypt().

◆ ntlm_id [1/2]

const unsigned char ntlm_id[] = "NTLMSSP"
static

Definition at line 555 of file challenge.c.

Referenced by tds_ntlm_get_auth(), and tds_ntlm_handle_next().

◆ ntlm_id [2/2]

const unsigned char ntlm_id[] = "NTLMSSP"
static

Definition at line 584 of file challenge.c.

Referenced by tds_ntlm_get_auth(), and tds_ntlm_handle_next().

Modified on Tue Nov 10 15:47:11 2026 by modify_doxy.py rev. 717554