Displaying 13 results from an estimated 13 matches for "des_encrypt".
2001 May 01
1
fatal compile error on SGI IRIX
IRIX64 6.5 01101245 IP27
20010425 CVS
- (djm) Include crypt.h if available in auth-passwd.c
cc-1143 cc: ERROR File = /usr/include/crypt.h, Line = 38
Declaration is incompatible with
"void des_encrypt(unsigned long *, struct des_ks_struct *, int)"
(declared at line 150 of "/usr/local/ssl/include/openssl/des.h").
extern void des_encrypt(char *, int);
^
1 error detected in the compilation of "auth-passwd.c".
*** Error code 2 (bu21)
It seems SGI...
2000 Jan 19
1
Potentially serious (but rare) issue with buffer.c and cipher.c
...sr/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, 8); /* Note how iv1 == iv2 on entry and exi...
2001 Sep 13
0
Can't compile openssh-SNAP-20010913
...T=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\" -DHAVE_CONFIG_H
-c auth-passwd.c
cc-1143 cc: ERROR File = /usr/include/crypt.h, Line = 38
Declaration is incompatible with
"void des_encrypt(unsigned long *, struct des_ks_struct *, int)"
(declared at line 181 of "/usr/athena/include/des.h").
extern void des_encrypt(char *, int);
^
1 error detected in the compilation of "auth-passwd.c".
Any idea what to do? Thanks. ;-)
--
Martin Mok...
2002 May 02
0
IRIX 6.5 + AFS/Kerberos Problems
...H_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/usr/l
ocal/etc\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\"
-DHAVE_CONF
IG_H -c auth-passwd.c
In file included from auth-passwd.c:49:
/usr/include/crypt.h:38: conflicting types for `des_encrypt'
/usr/kerberos/include/des.h:181: previous declaration of `des_encrypt'
*** Error code 1 (bu21)
I found a "fix" for this in a post in the mailing list archive
indicating that there was a name conflict with the SGI libs which
could be worked around by modifying auth-passwd.c an...
2001 Jun 06
0
snk authentication
...; 64; i++)pass[i]=0;
+
+ des_set_key((des_cblock *)kblock,keysched);
+
+ /* zeroize the entire buffer */
+ for(i = 0; i < 9; i++)
+ buf[i] = '\0';
+ strncpy(buf,chal,8);
+
+ /* push it through the rotating knives */
+ des_ecb_encrypt((des_cblock *)buf, (des_cblock *)cbuf, keysched,
+ DES_ENCRYPT);
+
+ /* pull some bits out of the ciphertext into a long */
+ for(i=0; i<4; i++)
+ for(j = 0; j < 8; j++)
+ kval = (kval << 1) | ((cbuf[i] >> (7 - j)) & 1);
+
+ /* crunch it into a hex string */
+ sprintf(buf,"%08lx",kval);
+
+ /* crunch hex to decimal and try th...
2001 Jun 06
0
Compile error 2.9p1 / Solaris 8 / Kerberos IV
...ot;, line 14: warning: typedef
redeclared: u_int8_t
"/opt/KTHkrb4/include/ktypes.h", line 15: warning: typedef
redeclared: u_int16_t
"/opt/KTHkrb4/include/ktypes.h", line 16: warning: typedef
redeclared: u_int32_t
"/usr/include/crypt.h", line 23: identifier redeclared:
des_encrypt
current : function(pointer to char, int) returning void
previous: function(pointer to unsigned long, pointer to
struct des_ks_struct {union {..} ks}, int) returning void :
"/opt/KTHkrb4/include/des.h", line 181
cc: acomp failed for ../openssh-2.9p1/auth-passwd.c
*** Error...
2000 Dec 29
0
Cryptography patents (was: openssl lib question.)
...4, RC5_32_cbc_encrypt,
> RC5_32_decrypt,
> RC5_32_encrypt, bn_add_words, bn_div_words, bn_mul_add_words,
> bn_mul_comba4, bn_mul_comba8, bn_mul_words, bn_sqr_comba4,
> bn_sqr_comba8, bn_sqr_words, bn_sub_words, des_decrypt3,
> des_ede3_cbc_encrypt, des_encrypt, des_encrypt2,
> des_encrypt3,
> des_ncbc_encrypt, md5_block_asm_host_order,
> sha1_block_asm_data_order
>
> Which of above are legal contenders ?
> Are BSAFE/RSAREF part of above ?
>
> Any information/pointers is appreciated.
>
>
> Thank you.
>
&g...
2000 Dec 28
3
Information leakage in sshd
Hi guys,
and here's a security related bug report. I think it's has been fixed in
the 2.2.x-release of openssh, but I'm not sure. I tried to reproduce the
problem with my 2.2.0p1 and could find any difference in the behaviour
of ssh depending on wether PermitRootLogin was set to no. Could someone
please confirm that this problem is not existing anymore?
> When PermitRootLogin is
2000 Dec 29
0
More [A tangent on RC5] Cryptography patents (was: openssl lib question.)
...; RC5_32_decrypt,
> > RC5_32_encrypt, bn_add_words, bn_div_words,
> bn_mul_add_words,
> > bn_mul_comba4, bn_mul_comba8, bn_mul_words, bn_sqr_comba4,
> > bn_sqr_comba8, bn_sqr_words, bn_sub_words, des_decrypt3,
> > des_ede3_cbc_encrypt, des_encrypt, des_encrypt2,
> > des_encrypt3,
> > des_ncbc_encrypt, md5_block_asm_host_order,
> > sha1_block_asm_data_order
> >
> > Which of above are legal contenders ?
> > Are BSAFE/RSAREF part of above ?
> >
> > Any information/pointers is appreciat...
2008 Feb 04
8
[Bug 1437] New: OpenSSL engine support not enabled
https://bugzilla.mindrot.org/show_bug.cgi?id=1437
Summary: OpenSSL engine support not enabled
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: bitbucket at
2006 Oct 31
0
6362982 namespace pollution/protection in libc
...usr/src/lib/libcmd/common/deflt.c
update: usr/src/lib/libcmdutils/Makefile.com
update: usr/src/lib/libcrypt/Makefile.com
update: usr/src/lib/libcrypt/common/cryptio.c
update: usr/src/lib/libcrypt/common/des.c
update: usr/src/lib/libcrypt/common/des_crypt.c
update: usr/src/lib/libcrypt/common/des_encrypt.c
update: usr/src/lib/libcrypt/common/des_soft.c
update: usr/src/lib/libcurses/screen/curshdr.h
update: usr/src/lib/libcurses/screen/mbstowcs.c
update: usr/src/lib/libcurses/screen/mbtowc.c
update: usr/src/lib/libeti/menu/Makefile.com
update: usr/src/lib/libeti/panel/Makefile.com
update: usr...
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.
2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...;> 6);
- K64[7] = (K[6] << 1) & 0xFF;
-
- des_set_odd_parity(&K64); /* XXX is this necessary? */
- des_set_key(&K64, ks);
-
- for (d = 0, Dp = D; d < Dlen;
- d += BLOCK_SIZE, Dp += BLOCK_SIZE, out += BLOCK_SIZE) {
- des_ecb_encrypt((void *) Dp, (void *) out, ks, DES_ENCRYPT);
- }
- }
-}
-
-static unsigned char *P16_lm(unsigned char *P16, const char *passwd)
+static void ntlm_kill_helper(struct ntlm_context *context)
{
- char P14[14];
- unsigned char S8[] = { 0x4b, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25 };
-
- strncpy(P14, passwd, sizeof(P14));
- ucas...