Displaying 4 results from an estimated 4 matches for "rijndael_ctx".
2001 Sep 14
8
Call for testers.
http://bass.directhit.com/openssh_snap/
Starting tonight I plan on tracking changes very closely with the OpenBSD
tree. I need people to test the latest snapshot (9/14 at of right now)
and report success or failure on compiling.
I am starting this now because we are looking at a code freeze soon and I
really want to ensure it compiles and runs on all existing platforms. So
we (the portable
2001 Sep 12
0
AES update..
...JNDAEL_BLOCKSIZE);
+ if (iv == NULL || ivlen != RIJNDAEL_BLOCKSIZE)
+ fatal("bad/no IV for %s.", cc->cipher->name);
+ memcpy(cc->u.rijndael.iv, iv, RIJNDAEL_BLOCKSIZE);
}
static void
rijndael_cbc_encrypt(CipherContext *cc, u_char *dest, const u_char *src,
u_int len)
{
rijndael_ctx *ctx = &cc->u.rijndael.enc;
- u4byte *iv = cc->u.rijndael.iv;
- u4byte in[4];
- u4byte *cprev, *cnow, *plain;
- int i, blocks = len / RIJNDAEL_BLOCKSIZE;
+ u_char *iv = cc->u.rijndael.iv;
+ u_char in[RIJNDAEL_BLOCKSIZE];
+ u_char *cprev, *cnow, *plain;
+ int i, j, blocks = len / RIJNDA...
2001 Mar 07
0
Compiling openssh-2.5.1p1 on IRIX in o32 mode
...usr/local/ssh/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/local/ssh/libexec/sftp-server\" -DHAVE_CONFIG_H
-c rijndael.c
cfe: Error: rijndael.c, line 272: redeclaration of 'rijndael_set_key';
previous declaration at line 31 in file './rijndael.h'
rijndael_set_key(rijndael_ctx *ctx, const u4byte *in_key, const u4byte key_len, ^
cfe: Error: rijndael.c, line 272: Incompatible type for the function parameter
rijndael_set_key(rijndael_ctx *ctx, const u4byte *in_key, const u4byte key_len,
-----------------------------------------------------------------------^
*** Error code...
2005 Nov 20
0
[PATCH] Solaris 10 and missing OpenSSL functions >128bit
...9 djm Exp $");
#include <openssl/evp.h>
@@ -31,10 +35,6 @@ RCSID("$OpenBSD: cipher-aes.c,v 1.2 2003
#include "xmalloc.h"
#include "log.h"
-#if OPENSSL_VERSION_NUMBER < 0x00906000L
-#define SSH_OLD_EVP
-#endif
-
#define RIJNDAEL_BLOCKSIZE 16
struct ssh_rijndael_ctx
{
@@ -157,4 +157,4 @@ evp_rijndael(void)
#endif
return (&rijndal_cbc);
}
-#endif /* OPENSSL_VERSION_NUMBER */
+#endif /* USE_BUILTIN_RIJNDAEL */
Index: cipher-ctr.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs...