Displaying 5 results from an estimated 5 matches for "des_cbc_encrypt".
Did you mean:
des_ncbc_encrypt
2000 Jan 19
1
Potentially serious (but rare) issue with buffer.c and 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, &iv1, 8); /* Note how iv1 == iv2 on entry and exit. */
+ memmove(iv2, &iv1,...
2002 Aug 19
0
kerberosIV authentication is broken in openssh-3.4p1
...ppens to me when I test the client ./ssh against some other machines
running older openssh. I suspect a bug at least in a client. Tested on
Irix 6.5.15, cc, KTH kerberosIV 1.1.1.
I have one more note to the configure script:
checking for krb.h... yes
checking for main in -lkrb... yes
checking for des_cbc_encrypt in -ldes... no
checking for des_cbc_encrypt in -ldes425... no
configure: WARNING: Cannot find libdes nor libdes425, build may fail
checking for dn_expand in -lresolv... no
checking for xauth... /usr/bin/X11/xauth
The build went fine, as the des_cbc_encrypt is I guess in libcrypt.a from OpenSSL an...
2001 Jun 06
0
snk authentication
...ule keysched;
+ char kbuf[16];
+ des_cblock iv;
+ int i, j;
+ char *p;
+ MD5_CTX ctx;
+ unsigned char digest[16];
+
+ if(data[0] ){
+ des_string_to_key(pass, &kblock);
+ des_set_key((des_cblock *)kblock, keysched);
+ p = (char *)&iv;
+ for(i=0; i < 8; i++)*p++ = 130-i;
+
+ des_cbc_encrypt((des_cblock *)data, (des_cblock *)kbuf, 16l,
+ keysched, &iv, DES_DECRYPT);
+ j = (kbuf[8]&0xff) + (kbuf[9]&0xff) * 256;
+ if( j < 0 || j >=reslen){
+ return 1;
+ }
+ MD5_Init(&ctx);
+ MD5_Update(&ctx, (unsigned char *)&kbuf[8], 2);
+ MD5_Update(&ctx,...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... no
checking if libc defines __progname... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for krb.h... yes
checking for main in -lkrb... yes
checking for des_cbc_encrypt in -ldes... theyes
checking for dn_expand in -lresolv... yes
checking for rsh... /usr/opt/bin/rsh
checking for xauth... /usr/openwin/bin/xauth
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for /dev/urandom... no
checking for PRNGD/EGD socket... /var/run/egd-pool
checking for l...
2003 Sep 05
20
[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
http://bugzilla.mindrot.org/show_bug.cgi?id=635
Summary: openssh-SNAP-20030903: configure does not work well with
heimdal(krb5)
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Kerberos support