Debian Codegraph @

ref10/crypto_sign/keypair.c

raw symbols SCIP
1 #cxx . . $ `<file>/ref10/crypto_sign/keypair.c`/include <string.h>
2 #include "randombytes.h"cxx . . $ `<file>/ref10/fastrandombytes/randombytes.h`/
3 #include "crypto_sign.h"cxx . . $ `<file>/ref10/crypto_sign/crypto_sign.h`/
4 #include "crypto_hash_sha512.h"cxx . . $ `<file>/ref10/crypto_hash/crypto_hash_sha512.h`/
5 #include "ge.h"cxx . . $ `<file>/ref10/crypto_sign/ge.h`/
6
7 int crypto_sign_keypaircxx . . $ `ref10/crypto_sign/crypto_sign.h:8:9`!(unsigned char *pk,unsigned char *sk)
8 {
9 unsigned char az[64];
10 ge_p3cxx . . $ ge_p3# A;
11
12 randombytescxx . . $ randombytes(3053ec783434178a).(sk,32);
13 crypto_hash_sha512cxx . . $ `ref10/crypto_hash/crypto_hash_sha512.h:16:9`!(az,sk,32);
14 az[0] &= 248;
15 az[31] &= 63;
16 az[31] |= 64;
17
18 ge_scalarmult_basecxx . . $ `ref10/crypto_sign/ge.h:73:9`!(&A,az);
19 ge_p3_tobytescxx . . $ `ref10/crypto_sign/ge.h:57:9`!(pk,&A);
20
21 memmovecxx . . $ memmove(cc817cb175f282d).(sk + 32,pk,32);
22 return 0;
23 }