Home
last modified time | relevance | path

Searched refs:hssn (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_sign_pkcs.c199 CK_SESSION_HANDLE hssn = 0; in smb2_hmac_one() local
205 rv = SUNW_C_GetMechSession(mech->mechanism, &hssn); in smb2_hmac_one()
209 rv = SUNW_C_KeyToObject(hssn, mech->mechanism, in smb2_hmac_one()
216 rv = C_SignInit(hssn, mech, hkey); in smb2_hmac_one()
222 rv = C_Sign(hssn, data, data_len, mac, &ck_maclen); in smb2_hmac_one()
236 (void) C_DestroyObject(hssn, hkey); in smb2_hmac_one()
237 if (hssn != 0) in smb2_hmac_one()
238 (void) C_CloseSession(hssn); in smb2_hmac_one()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_sign_pkcs.c205 CK_SESSION_HANDLE hssn = 0; in nsmb_hmac_one() local
211 rv = SUNW_C_GetMechSession(mech->mechanism, &hssn); in nsmb_hmac_one()
215 rv = SUNW_C_KeyToObject(hssn, mech->mechanism, in nsmb_hmac_one()
222 rv = C_SignInit(hssn, mech, hkey); in nsmb_hmac_one()
228 rv = C_Sign(hssn, data, data_len, mac, &ck_maclen); in nsmb_hmac_one()
242 (void) C_DestroyObject(hssn, hkey); in nsmb_hmac_one()
243 if (hssn != 0) in nsmb_hmac_one()
244 (void) C_CloseSession(hssn); in nsmb_hmac_one()