Subject: | when ida_combine() calls ida_check_list()... |
Date: | Sat, 8 Sep 2012 01:30:22 +0100 |
To: | bug-Crypt-IDA [...] rt.cpan.org |
From: | Asma Ben Cheikh <asma.bencheik [...] gmail.com> |
Dear Sir,
I have been working with the library Crypt::IDA for few months as part of a
research project.
I was able to call the 2 key methods (both of the split and the combine
routines). However, a warning dispayed in the section of ida_combine
execution to tell "share number 3 out of range in sharelist; ignoring. at
test_File.pl" where I specified quorum parameter to be "$k=3"..
I found that a validity check about the sharelist calls the
ida_check_list() sub; the program checks whether each element of the a list
belongs to a limited intervall. Well, in our case, I thing we should check
if each element of the sharelist does not surpass $n (the shares parameter)
and not $k (the quorum); because in such a case, we can have the share
number i within the sharelist while $k is less than that i number.
well, I changed the code in the module and it seems to work.
P.S: I am asking for help in the description of the sub
ida_process_streams(), Thank you.
Sincerly,
Yours.
--
Asma Ben Cheikh