• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

  • sources
  • kde-4.12
  • kdelibs
  • kio
  • misc
  • kntlm
des.h
Go to the documentation of this file.
1 /*
2  * Sofware DES functions
3  *
4  * Copyright 1988-1991 Phil Karn <karn@ka9q.net>
5  * Copyright 2003 Nikos Mavroyanopoulos <nmav@hellug.gr>
6  *
7  * Taken from libmcrypt (http://mcrypt.hellug.gr/lib/index.html).
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21  * MA 02110-1301 USA
22  */
23 
24 #ifndef KNTLM_DES_H
25 #define KNTLM_DES_H
26 
27 #include <QtCore/QBool>
28 
29 typedef struct des_key
30 {
31  char kn[16][8];
32  quint32 sp[8][64];
33  char iperm[16][16][8];
34  char fperm[16][16][8];
35 } DES_KEY;
36 
37 int
38 ntlm_des_ecb_encrypt (const void *plaintext, int len, DES_KEY * akey, unsigned char output[8]);
39 int
40 ntlm_des_set_key (DES_KEY * dkey, char *user_key, int len);
41 
42 #endif /* KNTLM_DES_H */
ntlm_des_ecb_encrypt
int ntlm_des_ecb_encrypt(const void *plaintext, int len, DES_KEY *akey, unsigned char output[8])
Definition: des.cpp:520
des_key::kn
char kn[16][8]
Definition: des.h:31
des_key::sp
quint32 sp[8][64]
Definition: des.h:32
des_key::fperm
char fperm[16][16][8]
Definition: des.h:34
quint32
ntlm_des_set_key
int ntlm_des_set_key(DES_KEY *dkey, char *user_key, int len)
Definition: des.cpp:220
des_key::iperm
char iperm[16][16][8]
Definition: des.h:33
des_key
Definition: des.h:29
DES_KEY
struct des_key DES_KEY
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal