Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Aug 2015 13:45:17 -0500
From: JimF <jfoug@....net>
To: john-dev@...ts.openwall.com
Subject: Re: auditing our use of FMT_* flags (was: more robustness)

On Mon, 10 Aug 2015 11:48:55 -0500, Kai Zhao <loverszhao@...il.com> wrote:

> Hi Alexander,
>> .....
>> Alexander
>
> 1.  Add more test vectors to skein_256_tests[] and skein_512_tests[]
>
> Have not done, since I can not generate skein-256 and skein-512 now.
> I will add when I get the pots or other ways to generate those hashes.
>

Have a look at this:

$ ../run/john -test=0 -form='dynamic=skein256($p),debug'
push
app_p
fskn256h

crc32 = D96E50B6
pExpr=skein256($p)
extraParams=,debug
signature=@...amic=skein256($p),debug@
line1=@...amic=skein256($p)@0977b339c3c85927071805584d5460d8f20da8389bbe97c59b1cfac291fe9527
line2=@...amic=skein256($p)@8adf4f8a6fabd34384c661e6c0f91efe9750a18ec6c4d02bcaf05b8246a10dcc
line3=@...amic=skein256($p)@f2bf66b04f3e3e234d59f8126e52ba60baf2b0bca9aff437d87a6cf3675fe41a

##############################################################
#  Dynamic script for expression skein256($p),debug
##############################################################
Expression=dynamic=skein256($p)
#  Flags for this format
Flag=MGF_FLAT_BUFFERS
Flag=MGF_KEYS_INPUT
Flag=MGF_INPUT_32_BYTE
#  Lengths used in this format
MaxInputLenX86=110
MaxInputLen=110
#  The functions in the script
Func=DynamicFunc__SKEIN256_crypt_input1_to_output1_FINAL
#  The test hashes that validate this script
Test=@...amic=skein256($p)@0977b339c3c85927071805584d5460d8f20da8389bbe97c59b1cfac291fe9527:abc
Test=@...amic=skein256($p)@8adf4f8a6fabd34384c661e6c0f91efe9750a18ec6c4d02bcaf05b8246a10dcc:john
Test=@...amic=skein256($p)@f2bf66b04f3e3e234d59f8126e52ba60baf2b0bca9aff437d87a6cf3675fe41a:passweird

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.