www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: OpenSSL AES-CTR not working?

Re: OpenSSL AES-CTR not working?

From: Paul Howarth <paul_at_city-fan.org>
Date: Sat, 17 Mar 2012 21:59:35 +0000

On Sat, 17 Mar 2012 22:49:16 +0100 (CET)
Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Sat, 17 Mar 2012, Paul Howarth wrote:
> > I'm able to work around this for now by disabling the AES-CTR
> > detection in configure, by doing:
> >
> > export ac_cv_func_EVP_aes_128_ctr=no
> Thanks for this! How about the attached patch, is that enough to make
> it build and work without that work-around you found?

No, same symptoms as not calling the function.

debug1: kex: client->server aes128-ctr hmac-sha1 none^M
debug2: mac_setup: found hmac-sha1^M
debug1: kex: server->client aes128-ctr hmac-sha1 none^M
debug2: dh_gen_key: priv key bits set: 163/320^M
debug2: bits set: 1041/2048^M
debug1: expecting SSH2_MSG_KEXDH_INIT^M
debug2: bits set: 1034/2048^M
debug2: kex_derive_keys^M
debug2: set_newkeys: mode 1^M
debug1: SSH2_MSG_NEWKEYS sent^M
debug1: expecting SSH2_MSG_NEWKEYS^M
debug2: set_newkeys: mode 0^M
debug1: SSH2_MSG_NEWKEYS received^M
debug1: KEX done^M
Corrupted MAC on input.^M
Disconnecting: Packet corrupt^M
debug1: do_cleanup^M
getsockname failed: Bad file descriptor^M
Failure establishing SSH session
FAIL: ssh2.sh

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-17

the libssh2 team