Searched refs:ssn_key (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c263 unsigned char ssn_key[SMBAUTH_HASH_SZ]; local
266 if (ndr_rpc_get_ssnkey(user_handle, ssn_key, SMBAUTH_HASH_SZ))
270 samr_make_encrypted_password(&info.encr_pw, new_pw_clear, ssn_key);
273 (void) memset(ssn_key, 0, sizeof (ssn_key));
H A Dmlsvc_client.c338 unsigned char *ssn_key, size_t len)
346 rc = smb_fh_getssnkey(clnt->xa_fd, ssn_key, len);
337 ndr_rpc_get_ssnkey(mlsvc_handle_t *handle, unsigned char *ssn_key, size_t len) argument
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkrb5ssp.c385 krb5_keyblock *ssn_key = NULL; local
393 ss->ss_krb5ctx, ss->ss_auth, &ssn_key);
402 if ((len = ssn_key->length) > SMBIOC_HASH_SZ)
404 memcpy(ctx->ct_ssn_key, ssn_key->contents, len);
411 ctx->ct_mackeylen = ssn_key->length;
418 memcpy(ctx->ct_mackey, ssn_key->contents,
429 if (ssn_key)
430 krb5_free_keyblock(ss->ss_krb5ctx, ssn_key);
H A Dntlm.c171 ntlm_v1_session_key(uchar_t *ssn_key, const uchar_t *nt_hash) argument
177 MD4Final(ssn_key, &md4);
462 ntlm_v2_session_key(uchar_t *ssn_key, argument
468 HMACT64(ssn_key, v2hash, NTLM_HASH_SZ, ntresp, NTLM_HASH_SZ);

Completed in 48 milliseconds