#ifndef __EDSIGN_CUH #define __EDSIGN_CUH __device__ __forceinline__ void expand_key(unsigned char* expanded, const unsigned char* secret); __device__ __forceinline__ void pp(unsigned char* packed, const struct ed25519_pt* p); __device__ __forceinline__ void sm_pack(unsigned char* r, const unsigned char* k); __device__ __forceinline__ void edsign_sec_to_pub(unsigned char* pub, const unsigned char* secret); __device__ __forceinline__ void compact_wipe(void* __restrict__ data); __device__ void ed25519_keygen(unsigned char private_key[64], unsigned char public_key[32], unsigned char random_seed[32]); #endif