summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (t_cksum): Do not depend on libkrb5.a, useEzra Peisach1998-03-034-4/+20
| | | | | | | | KRB5_BASE_DEPLIBS. This allows configuration --enable-shared --disable-static to work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10493 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-1814-15/+50
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse configure.in files below lib/crypto into lib/cryptoTheodore Tso1998-02-1321-41/+69
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10435 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-1215-2/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * init_rkey.c (mit_des_init_random_key): Punt the struct; useTom Yu1997-12-292-7/+20
| | | | | | | | explicit variables instead because we're no longer doing a memcpy. In addition, fill p_state->sequence.data a byte at a time. [krb5-libs/492] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10344 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_PROG_LN_S to deal with symlinking inTom Yu1997-11-292-0/+7
| | | | | | | memmove.c. This is a kludge, as we really should have a more sane way to deal with missing posix functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10309 dc483132-0cff-0310-8789-dd5450dbe970
* * md5.c: Fix to deal with types longer than 32 bitsTom Yu1997-10-284-2/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10259 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.c, sha_glue.c, hmac_sha.c: Fix to deal with LONG wider thanTom Yu1997-10-285-74/+183
| | | | | | | | 32 bits. * t_shs.c: Print out the actual and expected values on error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10258 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_cbc.c, des.h, des_int.h, f_cbc.c, f_cksum.c, f_ecb.c,Tom Yu1997-10-2713-102/+103
| | | | | | | | | | | f_pcbc.c, f_sched.c, f_tables.c, f_tables.h: Change KRB_INT32 to DES_INT32 to avoid temptation to misuse. * d3_cbc.c, d3_ecb.c, f_cbc.c, f_cksum.c, f_ecb.c, f_parity.c, f_pcbc.c, f_sched.c, f_tables.c: Don't include des.h; it's broken in ways. Use only des_int.h instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10252 dc483132-0cff-0310-8789-dd5450dbe970
* Set KRB5_CONFIG for testsEzra Peisach1997-10-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10240 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Bump major version due to possible size changesTom Yu1997-10-142-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10229 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: Use better logic to find an appropriate type forTom Yu1997-10-143-7/+42
| | | | | | | | | | | KRB_INT32; also don't assume that a key schedule element is exactly 64 bits wide... use instead 2 * KRB_INT32, since that is what the code uses internally. * des.h: Use better logic to find an appropriate type for KRB_INT32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10228 dc483132-0cff-0310-8789-dd5450dbe970
* * destest.c (main): Initialize context to 0 so it will not beEzra Peisach1997-10-063-0/+16
| | | | | | | | | | | treated as unset by purify. * t_verify.c (main): Use krb5_free_context to release memory in use. Essentially purify cleanups... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10206 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-262-2/+6
| | | | | | | with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10170 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid #ifdef logic errorTheodore Tso1997-07-171-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10121 dc483132-0cff-0310-8789-dd5450dbe970
* Added Winsock kludge for finding your local IP address. May not workTheodore Tso1997-07-042-6/+65
| | | | | | for all stacks, so we use it as a fallback. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10114 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-2313-81/+55
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-1/+243
| | | | | | | | | | | | | | * DO not use #ifdef unix * move krb5/krb/crypto_glue.c to crypto/krb5_glue.c crypto_glue.c contained a bunch of functions that used to be macros. They do belong in libkrb5, but if they go there, they create a circular dependency because libcrypto uses them. The obvious long-term right answer is to get libcrypto to stop using interfaces with names like krb5_*. I didn't feel like tackling that in the middle of getting things working on AIX so I just moved the functions to be declared in the same library as use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9949 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typoSam Hartman1997-02-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9946 dc483132-0cff-0310-8789-dd5450dbe970
* Bump minor library version so I canSam Hartman1997-02-222-1/+5
| | | | | | | have programs on the same system both before and after the Windows checkins. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9945 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unneeded call to krb5_init_etsRichard Basch1997-02-201-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9927 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the microsecond adjustment for WindowsRichard Basch1997-02-182-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9882 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-0921-130/+115
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Create shared directory before building object filesRichard Basch1997-02-072-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9812 dc483132-0cff-0310-8789-dd5450dbe970
* t_cksum: Link against libkrb5.a as it depends upon krb5_use_enctypeEzra Peisach1997-02-064-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9805 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-0624-187/+355
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-062-5/+11
| | | | | | des3_sha.c: Confounder size should be 8, not 24 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9787 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-133-38/+59
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* nuke leftover conflict markerMark Eichin1996-10-311-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9255 dc483132-0cff-0310-8789-dd5450dbe970
* shs.c: Only include sys/types.h if presentTheodore Tso1996-08-283-0/+9
| | | | | | configure.in: Check for sys/types.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9000 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-222-1/+6
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* Add space before \ to deal with SunOS version of make which losesEzra Peisach1996-06-152-3/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8365 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h for declaration for memcpy()Ezra Peisach1996-06-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8354 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing prototypes; needed to make Win-32 compiler happyTheodore Tso1996-06-132-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8344 dc483132-0cff-0310-8789-dd5450dbe970
* c_ustime.c: Fix WIN32 to be _WIN32Theodore Tso1996-06-123-2/+9
| | | | | | c_localaddr.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8300 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-128-6/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-107-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* s^big^little^ in explanationEzra Peisach1996-06-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8280 dc483132-0cff-0310-8789-dd5450dbe970
* Dynamic test of byteorder when htonl was removed failed for half of theEzra Peisach1996-06-082-0/+6
| | | | | | machines.... Always assumed little endian.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8279 dc483132-0cff-0310-8789-dd5450dbe970
* Don't pass $(LIBCMD) on the command line. It's set in the windows.inTheodore Tso1996-06-062-6/+11
| | | | | | prologue for all Makefiles anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8271 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use htonl(); it doesn't exist under Windows. Instead do theTheodore Tso1996-06-062-5/+14
| | | | | | test by casting a pointer to an integer to a char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8259 dc483132-0cff-0310-8789-dd5450dbe970
* Updated .Sanitize fileTheodore Tso1996-06-061-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8248 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-061-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* Include sha in the list of subdirectories for the MacintoshTheodore Tso1996-06-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8242 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags forSam Hartman1996-05-236-5/+16
| | | | | | each test so shared libraries are happy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8119 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags forSam Hartman1996-05-233-6/+21
| | | | | | | | | | each test so shared libraries are happy. Also, for tests that use weak or zero keys, make sure we link in enough object modules to allow us to overide parts of libcrypto even on systems with early binding in shared libs lik AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8118 dc483132-0cff-0310-8789-dd5450dbe970
* md4crypto.c:Richard Basch1996-05-222-2/+12
| | | | | | | | | The incorrect size was being used to compare the computed message digest and the supplied checksum for the "fixed" md4 case, causing decryption integrity failures. [Fixed by epeisach/audited by basch; fixes 'make check'] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8099 dc483132-0cff-0310-8789-dd5450dbe970
* md5crypto.c, md5crypto.h: Change use of RSA_MD5_DES_CKSUM_LENGTH toTheodore Tso1996-05-204-125/+73
| | | | | | | | | | | use OLD_RSA_MD5_DES_CKSUM_LENGTH and NEW_RSA_MD5_DES_CKSUM_LENGTH, as appropriate. t_cksum.c (main): Use proper header file constants to get the correct checksum length for the MD4 and MD5 old-style and new-style checksum functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8066 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of RSA_MD4_DES_CKSUM_LENGTH to useTheodore Tso1996-05-203-36/+36
| | | | | | | OLD_RSA_MD4_DES_CKSUM_LENGTH and NEW_RSA_MD4_DES_CKSUM_LENGTH, as appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8065 dc483132-0cff-0310-8789-dd5450dbe970