add most relevant paper
This commit is contained in:
parent
9a94dd6936
commit
d430dc2b20
BIN
literature/2006_how_to_obtain_full_privacy_in_auctions.pdf
Normal file
BIN
literature/2006_how_to_obtain_full_privacy_in_auctions.pdf
Normal file
Binary file not shown.
3
smc.c
3
smc.c
@ -24,12 +24,13 @@
|
||||
GEN
|
||||
smc_hextodec (char *s) /* int */
|
||||
{
|
||||
long i, tmp;
|
||||
unsigned int i, tmp;
|
||||
GEN ret = gen_0; /* int */
|
||||
GEN v = gtovecsmall (strtoGENstr (s)); /* vecsmall */
|
||||
|
||||
for (i = 1; i < lg (v); ++i)
|
||||
{
|
||||
///TODO: scanf instead of if
|
||||
if ((v[i] >= '0') && (v[i] <= '9'))
|
||||
tmp = v[i] - '0';
|
||||
else if ((v[i] >= 'a') && (v[i] <= 'f'))
|
||||
|
Loading…
Reference in New Issue
Block a user