summaryrefslogtreecommitdiffstats
path: root/src/include/kerberosIV/des.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove krb524, lib/des425, lib/krb4, and include/kerberosIV.Greg Hudson2008-12-181-237/+0
| | | | | | | | | | Remove krb4 build system references and conditionals. Move des425 header stuff referenced by des_int.h into des_int.h. Remove krb4 test cases. ticket: 6303 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21544 dc483132-0cff-0310-8789-dd5450dbe970
* Add macro so we don't print deprecated warnings while building KfMAlexandra Ellwood2008-07-091-2/+2
| | | | | | | | Macro is defined in Kerberos5Prefix.h ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20507 dc483132-0cff-0310-8789-dd5450dbe970
* Add macros for __attribute__((deprecated)) for krb4 and des APIsAlexandra Ellwood2006-11-151-22/+64
| | | | | | | | | | Added KRB5INT_KRB4_DEPRECATED and KRB5INT_DES_DEPRECATED. ticket: new target_version: 1.6 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18811 dc483132-0cff-0310-8789-dd5450dbe970
* Switched from "#pragma options align" to "#pragma pack". Alexandra Ellwood2006-07-251-4/+4
| | | | | | | Removed Metrowerks "#pragma import" since other framework headers don't specify it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18392 dc483132-0cff-0310-8789-dd5450dbe970
* Delete preprocessor tests for macintosh, __MWERKS__, applec, and THINK_C, allKen Raeburn2004-06-221-15/+1
| | | | | | | part of the pre-Mac OS X support. (Except the bits in the Yarrow code, where it was part of the upstream source.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16506 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h, krb.h: Removed deprecated KfM functions. They will be exported but ↵Alexandra Ellwood2003-03-061-40/+1
| | | | | | not in the headers to discourage new callers. Removed enumsalwaysint because there are no typed enums in this header. * des.h: Made afs_string_to_key public on all platforms. (OpenAFS folk think this is okay.) * krb.h, prot.h: Made KRB_TICKET_GRANTING_TICKET public and removed non-public TICKET_GRANTING_TICKET because this macro is used in lots of places by KfM, including some clients. Made krb__get_srvtabname non-private because it is used by KEYFILE. * kadm.h: moved definition of MAXHOSTNAMELEN below the inclusion of other headers so that if it gets defined by those other headers or headers they include, we don't get a redefinition error (this happens on Mac OS X) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15245 dc483132-0cff-0310-8789-dd5450dbe970
* More KfM merge workTom Yu2002-12-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Create new file FSp-glue.c including KfM functions that had previously been scattered through various other files. Port RealmsConfig-glue.c from KfM, including old Unix-ish krb4 configuration code as fallback. Remove other files containing old realm/config file support. Add KRB5_CALLCONV to krb_get_in_tkt_creds. Fix various functions to take const char* as arguments now that tkt_string() returns const. Assorted minor cleanup. Implement krb_get_err_text in terms of com_err. Implement gross kludge to force krb_err_txt to remain in sync with com_err. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15046 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Move explicit definition of _WINDOWS to precedeTom Yu2002-12-041-4/+3
| | | | | | conditionalized inclusion of win-mac.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15026 dc483132-0cff-0310-8789-dd5450dbe970
* Merge more KfM krb4 thingsTom Yu2002-11-271-36/+56
| | | | | | | | | | | | | | | | | | Implement *_in_tkt_creds, mk_req_creds, and rd_req_int functions. Implement KfM krb4 kadm password changing, mostly by pulling in the client side of the kadm library into the krb4 library. Do some more header file cleanup of des.h and krb.h. Remove some ancient krb4 dead weight. Some Mac-specific functionality still needs to be merged. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15014 dc483132-0cff-0310-8789-dd5450dbe970
* Fix DES_INT32 definitionTom Yu2002-09-271-66/+136
| | | | | | | | | | | | Intial merge of KfM des library API. Update krb.h to use offsets from krb_err.et constants as error codes. Fix up definitions of KRB4_32, KRB_INT32, KRB_UINT32. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14904 dc483132-0cff-0310-8789-dd5450dbe970
* KRB5_EXPORTVAR is defined lots of places but never used; delete itKen Raeburn2001-10-061-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13787 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-9/+5
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-041-9/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Do not use "encrypt" as an argumentEzra Peisach2001-05-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13254 dc483132-0cff-0310-8789-dd5450dbe970
* use const for some des inputs and reduce unnecessary castsKen Raeburn2001-04-101-7/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13166 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h (des_cblock, des_key_schedule): Separate definitions into a block withKen Raeburn2001-04-101-2/+16
| | | | | | | a comment indicating lib/crypto/des/des_int.h needs to be kept in sync. Use macro KRB5INT_DES_TYPES_DEFINED to avoid duplication. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13157 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Include stdio.h.Ken Raeburn2001-04-101-20/+27
| | | | | | | | | | | | | (PROTOTYPE): Delete macro. Make all function prototypes unconditional. (des_ecb_encrypt, des_fixup_key_parity, des_check_key_parity, des_new_random_key, des_init_random_number_generator, des_random_key, des_is_weak_key, des_cblock_print_file): Add prototypes. (des_cbc_cksum, des_cbc_encrypt, des_read_password) [KRB5_GENERAL__]: Add prototypes. * krb.h: Make all function prototypes unconditional, don't use PROTOTYPE macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13153 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Change to make KRB4_32 an int if it's at least 32 bitsTom Yu2000-11-081-22/+23
| | | | | | | | | | | | | | | wide, else a long. This is a change from previously where it was a long except on the alpha. We may want to rethink this if there are binary compat issues that result. Also, define DES_INT32 as KRB4_INT32. * krb.h: Add new macros KRB4_PUT32, KRB4_PUT16 which unconditionally encode integers by bytes as big-endian. Add new macros KRB4_GET32BE, KRB4_GET32LE, KRB4_GET32, KRB4_GET16BE, KRB4_GET16LE, KRB4_GET16 to retrieve integers by bytes. Add prototype for krb_strnlen. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12858 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-241-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Fix GSS_DLLIMPTom Yu1999-03-151-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11291 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Clean up prototypes so they're sane and look a littleTom Yu1997-11-191-7/+14
| | | | | | | | nicer. The ivec parameter to pcbc_encrypt is now a C_Block FAR *, while the paremeters to quad_cksum have been re-ordered to match reality. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10296 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Replace KRB_INT32 with DES_INT32 to avoid temptation toTom Yu1997-10-271-7/+7
| | | | | | misuse. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10251 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Define KRB_INT32 for the purposes of dealing with the keyTom Yu1997-10-141-1/+20
| | | | | | | schedule. Also, define the key schedule more sanely. See related comments in lib/crypto/des. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10230 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for building krb4 library (win16/win32)Richard Basch1997-02-181-0/+55
| | | | | | krb_err.h is a generated file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9879 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
* Fixed #include lines to be <kerberosIV/foo.h>Theodore Tso1994-04-251-6/+18
| | | | | | | Removed #include <mit-copyright.h> and replaced it with the Kerberos V5 copyright notice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3576 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionTheodore Tso1993-06-031-0/+48
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2611 dc483132-0cff-0310-8789-dd5450dbe970