[RC5] Block sizes (nkeys)

Phil Gregory pgreg430 at neors.cat.cc.md.us
Sun Apr 5 20:26:07 EDT 1998


-----BEGIN PGP SIGNED MESSAGE-----

> that was pretty easy to understand... can you also explain the
> iterations stuff? i've not really looked for an answer but saw it in my
> logs and was curious... seems that 4 iterations are run on each block,
> or is that block pair? i say "block pair" cause i've also noticed that
> my OS/2 client seems to take one block in one thread and a second block
> in another thread...

OK, the way I understand it is this:  the first thread grabs a block and
gets it ready.  Then, the second thread starts up and starts cracking
another block.  When the second thread finished its block, the first hands
its block to the second, and, while the second thread merrily continues
cracking, the first grabs another block and gets it ready.  And so on...

> [03/17/98 05:37:37 GMT] RC5 1*2^30 Block: 66C02F2A:40000000 ready to
> process
> [03/17/98 05:37:37 GMT] 6 Blocks remain in file buff-in.rc5
> [03/17/98 05:37:37 GMT] 4 Blocks are in file buff-out.rc5
> Child thread # 1 has been started.
> [03/17/98 06:44:28 GMT] RC5 1*2^30 Block: 66C02F81:00000000 ready to
> process
> [03/17/98 06:44:28 GMT] 5 Blocks remain in file buff-in.rc5
> [03/17/98 06:44:28 GMT] 4 Blocks are in file buff-out.rc5
> 
> 
> see? 6 blocks in buff-in and the child thread starts and there are 5
> blocks in buff-in... are the blocks processed seperately or are they
> "melded" and processed?
> 
> ie: "melded" like this... please excuse the simplicity of the example
> <G>
> 
> block a1 * block b1
> block a1 * block b2
> etc...
> block a5 * block b1
> block a5 * block b2
> etc... etc...
> 
> 
> 
> -- 
>          __..--''``\--...__  _..,_         Waldo Kitty, Waldo's Place
> USA
>      _.-'    .-/";  `      `<._  ``-+'~=.  mailto:wkitty42 at alltel.net
>  _.-' _..--.'_    \                 `(^) ) ftp://ftp.wplace.dyn.ml.org
> ((,,-'    (< _     ;_.._             ; `'  http://www.wplace.dyn.ml.org
>            `-._,_)'     ``-..____..-'     
> telnet://bbs.wplace.dyn.ml.org
> 
> --
> To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
> rc5-digest subscribers replace rc5 with rc5-digest
> 
> 

                                ---------------
int a=10000,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,g=c*2;c
- -=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);}

                                ---------------
                                 Phil Gregory
                                     DNRC
                              phil_g at geocities.com
                        -------------------------------
            (Finger pgreg430 at neors.cat.cc.md.us for my public key.)


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNSgTEqlF2m7Yx1z1AQGTHQP7B5suFQHiLh5f9IXDokDXGjUvBoFGTHNF
HV6mNzt+G77thvs4UnlfAmb3JCIUQbtiqA98SuKKzlPI77q3i/B04uDBs9zqi5qe
RHF93mH0OO0e78aVAiKJV/3zWODt/glCHvg59LtmWFEPb+33sEL+i9lcvT1blThr
/AJojej5zXU=
=nTbQ
-----END PGP SIGNATURE-----
--
To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list