Lines Matching refs:smlen
14 …st unsigned char *sm, const unsigned char *pk, unsigned char *playground, unsigned long long smlen) in get_hram() argument
20 for (i = 64;i < smlen;++i) playground[i] = sm[i]; in get_hram()
22 crypto_hash_sha512(hram,playground,smlen); in get_hram()
52 unsigned char *sm,unsigned long long *smlen, in crypto_sign_ed25519() argument
71 *smlen = mlen+64; in crypto_sign_ed25519()
105 const unsigned char *sm,unsigned long long smlen, in crypto_sign_ed25519_open() argument
117 if (smlen < 64) return -1; in crypto_sign_ed25519_open()
121 get_hram(hram,sm,pk,m,smlen); in crypto_sign_ed25519_open()
134 for(i=0;i<smlen-64;i++) in crypto_sign_ed25519_open()
136 *mlen = smlen-64; in crypto_sign_ed25519_open()
140 for(i=0;i<smlen-64;i++) in crypto_sign_ed25519_open()