부모
a9fe0e43fe
커밋
9ac634762f
@ -43,7 +43,7 @@ int main(int argc, char **argv) {
|
||||
fread(m, 1, MLEN, stdin);
|
||||
xmssmt_core_sign(¶ms, sk, sm, &smlen, m, MLEN);
|
||||
|
||||
fseek(keypair, -params.privatekey_bytes, SEEK_CUR);
|
||||
fseek(keypair, -((long int)params.privatekey_bytes), SEEK_CUR);
|
||||
fwrite(sk, 1, params.privatekey_bytes, keypair);
|
||||
fwrite(sm, 1, params.bytes + MLEN, stdout);
|
||||
|
||||
|
불러오는 중...
Reference in New Issue
Block a user