🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #270226

Re: Ping Zax

#270226
From: elvis-85503
Date: Mon, 29 Sep 2014 13:53
20 lines
2263 bytes
> After consulting Applied Cryptography to remind myself what CFB mode
> is I came up with this C program plus Makefile to produce CFB behaviour
> doing the chaining myself rather than in AES_cfb128_encrypt().
>
> If you do something like this it should be compatible with Mixmaster.
> Initialise the IV once and just keep using it as it changes.

In chain2.c there is the complication that the first encryption
is a multiple of 8 bytes but not 16.

    484          fprintf(stderr, "length used in cfb128 is %d\n", encrypted->length);
    485          fprintf(stderr, "length used in cfb128 is %d\n", body->length);
    486          fprintf(stderr, "length used in cfb128 is %d\n", other->length);
    487                buf_aescrypt(encrypted, aes_tte_key, aes_iv, ENCRYPT);
    488                buf_aescrypt(body, aes_body_key, aes_iv, ENCRYPT);
    489                buf_aescrypt(other, aes_header_key, aes_iv, ENCRYPT);

length used in cfb128 is 328
length used in cfb128 is 10240
length used in cfb128 is 9728
Technical Details
Message-ID: <slrnm2iovq.d0i.elvis-85503@notatla.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!not-for-mail
References: <slrnlv6uk4.hi.admin@snorky.mixmin.net> <4c188b5c5fd593431234008698910ea8@hoi-polloi.org> <slrnm0cjma.hi.admin@snorky.mixmin.net> <slrnm0ep4l.k5j.elvis-85503@notatla.org.uk> <slrnm0f948.hi.admin@snorky.mixmin.net> <slrnm2imav.c7s.elvis-85503@notatla.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrnm2iovq.d0i.elvis-85503@notatla.org.uk>
Subject: Re: Ping Zax
Date: Mon, 29 Sep 2014 13:53:48 +0000
From: elvis-85503@notatla.org.uk
References: <slrnlv6uk4.hi.admin@snorky.mixmin.net> <4c188b5c5fd593431234008698910ea8@hoi-polloi.org> <slrnm0cjma.hi.admin@snorky.mixmin.net> <slrnm0ep4l.k5j.elvis-85503@notatla.org.uk> <slrnm0f948.hi.admin@snorky.mixmin.net> <slrnm2imav.c7s.elvis-85503@notatla.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!not-for-mail
Newsgroups: alt.privacy.anon-server
X-noarchive: yes
X-no-archive: yes
User-Agent: slrn/1.0.1 (Linux)
Lines: 20
NNTP-Posting-Host: 91e1bb2e.blocknews.net
X-Trace: DXC=ZQQ;
 `:]P<D9CQZmKHWJPF2GTXUl?iR^P<<X<c6\A0782mWk]11HY1<7G3Y6l5GlWo>jDD]g:oiAg?W1IO>Q9iH@2jB4jn=IYJJ<
X-Complaints-To: abuse@blocknews.net
X-Received-Bytes: 1803
X-Received-Body-CRC: 270144217