Lines Matching refs:lm

818     heim_ntlm_free_buf(&data->lm);  in heim_ntlm_free_type3()
843 struct sec_buffer lm, ntlm, target, username, sessionkey, ws; in heim_ntlm_decode_type3() local
860 CHECK(ret_sec_buffer(in, &lm), 0); in heim_ntlm_decode_type3()
861 if (lm.allocated) in heim_ntlm_decode_type3()
862 min_offset = min(min_offset, lm.offset); in heim_ntlm_decode_type3()
885 CHECK(ret_buf(in, &lm, &type3->lm), 0); in heim_ntlm_decode_type3()
918 struct sec_buffer lm, ntlm, target, username, sessionkey, ws; in heim_ntlm_encode_type3() local
924 memset(&lm, 0, sizeof(lm)); in heim_ntlm_encode_type3()
955 lm.offset = ws.offset + ws.allocated; in heim_ntlm_encode_type3()
956 lm.length = type3->lm.length; in heim_ntlm_encode_type3()
957 lm.allocated = type3->lm.length; in heim_ntlm_encode_type3()
959 ntlm.offset = lm.offset + lm.allocated; in heim_ntlm_encode_type3()
976 CHECK(store_sec_buffer(out, &lm), 0); in heim_ntlm_encode_type3()
992 CHECK(put_buf(out, &type3->lm), 0); in heim_ntlm_encode_type3()
1732 struct ntlm_buf *lm, in heim_ntlm_calculate_ntlm2_sess() argument
1745 lm->data = malloc(24); in heim_ntlm_calculate_ntlm2_sess()
1746 if (lm->data == NULL) { in heim_ntlm_calculate_ntlm2_sess()
1749 lm->length = 24; in heim_ntlm_calculate_ntlm2_sess()
1753 free(lm->data); in heim_ntlm_calculate_ntlm2_sess()
1754 lm->data = NULL; in heim_ntlm_calculate_ntlm2_sess()
1760 memset(lm->data, 0, 24); in heim_ntlm_calculate_ntlm2_sess()
1761 memcpy(lm->data, clnt_nonce, 8); in heim_ntlm_calculate_ntlm2_sess()
1781 heim_ntlm_free_buf(lm); in heim_ntlm_calculate_ntlm2_sess()