summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/encryption.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove .h files which are now collapsed into krb5.hTheodore Tso1995-04-201-204/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5394 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-22/+22
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB5_HEADERS, install): Account for file renames.John Gilmore1995-03-291-3/+3
| | | | | | | | | | | | (all-mac): Add. * configure.in (CONFIG_RULES): Remove. (krb5_sigtype): Define as either void or int. * encryption.h: Insert parentheses in macros to avoid mis-expansion. * k5-config.h: Further parameterize socket support. * macsock.h: Support connect(), recv(), send(), getmyipaddr(). (WSAGetLastError): Fix typo -- there's no argument to this macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5292 dc483132-0cff-0310-8789-dd5450dbe970
* PC porting: more prototyping, defines for overflow checking on the PC andKeith Vetter1995-03-071-3/+3
| | | | | | numerous PC additions to k5-config.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5080 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-211-10/+11
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: added header checks for sys/param.h and sys/file.h.John Gilmore1995-02-151-5/+7
| | | | | | | | | | | | | * encryption.h: added typedef prototype for sum_func function with the windows api to make microsoft compiler happy. * sysincl.h: conditionally include sys/file.h and sys/param.h since windows doesn't have them. * Makefile.in: - changed macros with ${...} to $(...) since nmake barfs on {}. - added windows only make preamble - split the all target into unix and windows branches git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4948 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-251-4/+0
| | | | | | | | | | | * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno, krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as int. * kdb.h Made keytype in krb5_encrypted_keyblock explicitly short for backwards compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-23/+23
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* encode_kdc.c (krb5_encode_kdc_rep): Now requires that theTheodore Tso1994-11-211-0/+3
| | | | | | | | | | | | | caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. encrypt_tk.c (krb5_encrypt_tkt_part): Now requires that the caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4710 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-081-6/+8
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 dc483132-0cff-0310-8789-dd5450dbe970
* Added a field to hold an encryption type in the keyblock field --- soTheodore Tso1994-11-031-0/+3
| | | | | | routines have a hint of which encryption type they should use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4625 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers to encryption strcturesTheodore Tso1994-10-041-3/+3
| | | | | | Make first argument to keytab.resolve be a const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4446 dc483132-0cff-0310-8789-dd5450dbe970
* Add structure magic numbersTheodore Tso1994-10-041-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4438 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4189 dc483132-0cff-0310-8789-dd5450dbe970
* Updated protocol constants in line with latest official assigned numbersTheodore Tso1994-07-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3981 dc483132-0cff-0310-8789-dd5450dbe970
* Added definition for Raw DES cbc modeTheodore Tso1994-01-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3314 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Allow suppression of function prototypes within structure declarations,John Carr1992-08-211-9/+9
| | | | | | to avoid MIPS compiler bug. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2338 dc483132-0cff-0310-8789-dd5450dbe970
* Add md5 checksum types and DES+MD4 and DES+MD5 encryption typesJohn Carr1992-03-251-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2260 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* fix copyrightsJohn Kohl1991-03-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1913 dc483132-0cff-0310-8789-dd5450dbe970
* fix copyrightsJohn Kohl1991-03-041-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1846 dc483132-0cff-0310-8789-dd5450dbe970
* fix checksum macrosJohn Kohl1991-03-041-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1845 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_use_keytypeJohn Kohl1991-02-131-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1691 dc483132-0cff-0310-8789-dd5450dbe970
* Added some macros for the checksum switch abstractionTheodore Tso1991-01-181-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1638 dc483132-0cff-0310-8789-dd5450dbe970
* #3 is now encrypted MD4John Kohl1991-01-031-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1605 dc483132-0cff-0310-8789-dd5450dbe970
* move krb5_encrypted_keyblock to kdb.hJohn Kohl1990-12-141-6/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1555 dc483132-0cff-0310-8789-dd5450dbe970
* RFC draft protocol changes and related cleanupsJohn Kohl1990-12-141-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1554 dc483132-0cff-0310-8789-dd5450dbe970
* Changed encrypted keyblocks to use krb5_encrypted_keyblock insteadTheodore Tso1990-12-131-0/+6
| | | | | | of krb5_keyblock git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1549 dc483132-0cff-0310-8789-dd5450dbe970
* remove luciferJohn Kohl1990-11-261-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1494 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_use_cstype macroJohn Kohl1990-11-201-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1481 dc483132-0cff-0310-8789-dd5450dbe970
* comment that XEROX is snefruJohn Kohl1990-11-201-2/+2
| | | | | | use RSA_MD4 for XXX git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1469 dc483132-0cff-0310-8789-dd5450dbe970
* process_key doesn't modify keyJohn Kohl1990-10-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1289 dc483132-0cff-0310-8789-dd5450dbe970
* add 'const' where neededJohn Kohl1990-10-191-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1284 dc483132-0cff-0310-8789-dd5450dbe970
* change const krb5_pointer to krb5_const_pointerJohn Kohl1990-10-191-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1279 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_enc_dataJohn Kohl1990-10-091-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1168 dc483132-0cff-0310-8789-dd5450dbe970
* add macros to hide the object deref in encryption functionsJohn Kohl1990-09-201-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1142 dc483132-0cff-0310-8789-dd5450dbe970
* update signatures for encrypt_func, decrypt_func, sum_funcJohn Kohl1990-05-091-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@799 dc483132-0cff-0310-8789-dd5450dbe970
* add const's where appropriate on encryption routiensJohn Kohl1990-04-181-9/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@485 dc483132-0cff-0310-8789-dd5450dbe970
* add proto_keytype to entryJohn Kohl1990-03-261-4/+18
| | | | | | | add krb5_keytype_array, valid_keytype fix names for include blockers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@421 dc483132-0cff-0310-8789-dd5450dbe970
* add finish_random_key; rearrange order of init, finish, and random_keyJohn Kohl1990-02-121-2/+3
| | | | | | to make more sense. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@348 dc483132-0cff-0310-8789-dd5450dbe970
* modify string_to_key and sum_func signaturesJohn Kohl1990-02-051-5/+13
| | | | | | add cksumarray & valid_cksumtype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@278 dc483132-0cff-0310-8789-dd5450dbe970
* remove krb5_keyblock_size(), not useful and was incorrect.John Kohl1990-02-031-1/+5
| | | | | | add valid_etype, krb5_csarray, krb5_max_cryptosystem git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@259 dc483132-0cff-0310-8789-dd5450dbe970
* contents now in separate pointerJohn Kohl1990-01-301-4/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@199 dc483132-0cff-0310-8789-dd5450dbe970
* add roundup, encrypt_size, keyblock_sizeJohn Kohl1990-01-291-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@175 dc483132-0cff-0310-8789-dd5450dbe970
* add cs_table_entryJohn Kohl1990-01-231-13/+22
| | | | | | fix up prototypes and function types git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@173 dc483132-0cff-0310-8789-dd5450dbe970
* change void * to krb5_pointerJohn Kohl1990-01-171-18/+14
| | | | | | remove #undef PROTOTYPE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@109 dc483132-0cff-0310-8789-dd5450dbe970
* change names of types to prefix with krb5_John Kohl1990-01-171-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@95 dc483132-0cff-0310-8789-dd5450dbe970
* ANSIfy function declarationsBill Sommerfeld1990-01-161-19/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@92 dc483132-0cff-0310-8789-dd5450dbe970
* add entries for string_to_key, random_key, proto_enctypeJohn Kohl1989-12-281-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@59 dc483132-0cff-0310-8789-dd5450dbe970