Displaying 10 results from an estimated 10 matches for "des_cblock".
2001 Jun 06
0
snk authentication
...Wed Dec 31 19:00:00 1969
+++ openssh/snk.c Wed Jun 6 19:25:27 2001
@@ -0,0 +1,176 @@
+
+
+
+/* by Brian Wellington and / or Jeff Cook */
+
+#include <ctype.h>
+#include <string.h>
+
+#include <openssl/des.h>
+#include <openssl/md5.h>
+
+static int
+make_key_sched(char *s, des_cblock k) {
+ int k0, k1, k2, k3, k4, k5, k6, k7;
+ int x;
+
+ x = sscanf(s, "%o %o %o %o %o %o %o %o",
+ &k0, &k1, &k2, &k3, &k4, &k5, &k6, &k7);
+ if(x != 8)
+ return(1);
+ k[0] = k0;
+ k[1] = k1;
+ k[2] = k2;
+ k[3] = k3;
+ k[4] = k4;
+ k[5] = k5;
+ k[6] = k6...
1998 Dec 15
0
SAMBA digest 1909
...he package
Samba doen?t brings the library ***** DES.H *****
I have des.h in Solaris, but when I copied this file inside the correct
directory, a lot of errors appeared.
Compiling smbencrypt.c
smbencrypt.c: In function `str_to_key':
smbencrypt.c:34: parse error before `*'
smbencrypt.c:48: `des_cblock' undeclared (first use this function)
smbencrypt.c:48: (Each undeclared identifier is reported only once
smbencrypt.c:48: for each function it appears in.)
smbencrypt.c:48: parse error before `)'
smbencrypt.c: In function `D1':
smbencrypt.c:53: `des_key_schedule' undeclared (first u...
2006 Sep 12
1
openssh (OpenBSD) , bsdauth and tis authsrv
nuqneH,
I've tried using TIS authsrv authentication via bsd auth and found
it quite limited. The most important restriction it does not log
ip and fqdn of the remote peer, nor the application name, to
the authentication server. It does not matter much for TIS authsrv,
but since other applications do provide such information, our
authsrv version uses it for extra authentication restrictions.
2001 Jul 16
1
openssh 2.9p1 on Solaris 2.6 with AFS
...B> Jan,
DRB> here is the new patch:
thanks. Maybe somebody will apply this to openssh cvs?
DRB> alas I am still running amiss:
DRB> In file included from /usr/athena/include/krb.h:50,
DRB> from sshconnect1.c:22:
DRB> /usr/local/include/des.h:24: warning: redefinition of `des_cblock'
DRB> /usr/local/ssl/include/openssl/des.h:77: warning: `des_cblock'
previously
DRB> declared here
DRB> /usr/local/include/des.h:26: redefinition of `struct des_ks_struct'
DRB> /usr/local/include/des.h:26: warning: redefinition of
`des_key_schedule'
DRB> /usr/loc...
2002 Dec 08
1
Building openssh-3.5p1 with new DES functions
...quot;/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshconnect1.c
cc: Error: /usr/local/openssl/include/openssl/mdc2.h, line 79: Missing type specifier or type qualifier. (missingtype)
DES_cblock h,hh;
--------^
make: *** [sshconnect1.o] Error 1
--
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment an...
2000 Jan 19
1
Potentially serious (but rare) issue with buffer.c and cipher.c
...---- next part --------------
Index: cipher.c
===================================================================
RCS file: /usr/local/cvs/openssh/cipher.c,v
retrieving revision 1.7
diff -u -r1.7 cipher.c
--- cipher.c 2000/01/17 17:27:31 1.7
+++ cipher.c 2000/01/19 07:18:49
@@ -45,16 +45,16 @@
{
des_cblock iv1;
- memcpy(&iv1, iv2, 8);
+ memmove(&iv1, iv2, 8);
des_cbc_encrypt(src, dest, len, ks1, &iv1, DES_ENCRYPT);
- memcpy(&iv1, (char *)dest + len - 8, 8);
+ memmove(&iv1, (char *)dest + len - 8, 8);
des_cbc_encrypt(dest, dest, len, ks2, iv2, DES_DECRYPT);
- memcpy(iv2,...
2002 Jan 21
6
OpenSSH and OpenSSL snapshots
Hello,
In order to experiment with OpenCA, I have built an RPM for redhat 7.2
of a recent OpenSSL snapshot (the binary rpm on the OpenCA was built
with the different target directories and libraries. Unfortunately these
recent OpenSSL snapshots seems to break all OpenSSH tarballs and RPMs
that I have been able to find. None of them seem to compile
successfully, even the snapshots at
2003 Jan 09
0
Building openssh-3.5p1 with new DES functions
..._CONFIG_H -c sshconnect1.c
cc: Warning: /usr/local/openssl/include/openssl/des.h, line 104: The redefinition of the macro "DES_KEY_SZ" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
#define DES_KEY_SZ (sizeof(DES_cblock))
--------------------------------^
cc: Warning: /usr/local/openssl/include/openssl/des.h, line 105: The redefinition of the macro "DES_SCHEDULE_SZ" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
#define DES_SCHED...
2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...n;
-
- return SASL_OK;
+ return SASL_OK;
}
-/*
- * NTLM encryption/authentication routines per section 2.10 of
- * draft-leach-cifs-v1-spec-02
- */
-static void E(unsigned char *out, unsigned char *K, unsigned Klen,
- unsigned char *D, unsigned Dlen)
-
-{
- unsigned k, d;
- des_cblock K64;
- des_key_schedule ks;
- unsigned char *Dp;
-#define KEY_SIZE 7
-#define BLOCK_SIZE 8
-
- for (k = 0; k < Klen; k += KEY_SIZE, K += KEY_SIZE) {
- /* convert 56-bit key to 64-bit */
- K64[0] = K[0];
- K64[1] = ((K[0] << 7) & 0xFF) | (K[1] >> 1);
- K64[2] = ((K[1] &...
2003 Dec 01
0
No subject
...location of the previous definition
In file included from /usr/local/ssl/include/evp.h:79,
from /usr/local/ssl/include/x509.h:87,
from /usr/local/ssl/include/ssl.h:146,
from lib/util.c:55:
/usr/local/ssl/include/des.h:82: warning: redefinition of `des_cblock'
/usr/include/kerberos/des.h:25: warning: `des_cblock' previously declared here
/usr/local/ssl/include/des.h:84: redefinition of `struct des_ks_struct'
/usr/local/ssl/include/des.h:93: warning: redefinition of `des_key_schedule'
/usr/include/kerberos/des.h:27: warning: `des_key_sche...