Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/crypto/external/bsd/ssss/dist

Module Name:    othersrc
Committed By:   agc
Date:           Thu Mar  8 02:44:06 UTC 2012

Modified Files:
        othersrc/crypto/external/bsd/ssss/dist/include: ssss.h
        othersrc/crypto/external/bsd/ssss/dist/src/libssss: libssss.3

Log Message:
Update the ssss code:

+ add the ability to encode split shares as 16bit or 24-bit values,
which greatly simplifies input and output, and allows constant-sized
output for given inputs.  This also gives us the ability to use larger
primes, although space is wasted with these, and it's not immediately
obvious what advantage would accrue.  But it's there, just in case.

+ we advertise being able to do 255 (SSSS_MAX_SHARES) shares - so
complete the inverse table for GF(16) arithmetic modulo P for 256

+ use SSSS_MAX_SHARES (255) internally, rather than the previous
internal (and much smaller) limits

+ simplify the I/O in this library - it was a remnant from 1993

+ remove private structs and definitions from the header file - they're
not part of the public interface, and shouldn't be exposed

+ add ssss_split_vec() and ssss_combine_vec() which give input and
oputput to split and combine via struct iovec

+ update the manual page

To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
cvs rdiff -u -r1.2 -r1.3 \
cvs rdiff -u -r1.6 -r1.7 \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index