Questions tagged [ed25519-donna]

ed25519 is an Elliptic Curve Digital Signature Algorithm.

In cryptography, the Elliptic Curve Digital Signature Algorithm (ECDSA) offers a variant of the Digital Signature Algorithm (DSA) which uses elliptic curve cryptography.

As with elliptic curve cryptography in general, the bit size of the public key believed to be needed for ECDSA is about twice the size of the security level, in bits. By comparison, at a security level of 80 bits (meaning an attacker requires the equivalent of about operations to find the private key) the size of a DSA public key is at least 1024 bits, whereas the size of an ECDSA public key would be 160 bits. On the other hand, the signature size is the same for both DSA and ECDSA: bits, where is the security level measured in bits, that is, about 320 bits for a security level of 80 bits.

3 questions
5
votes
0 answers

difference between donna and supercop implementations for ed25519 signature scheme

While looking up the existing implementations of the ed25519 signature scheme I found out that the donna implementation (found here) produces signatures that are not verifiable by supercop implementation (found here), but supercop signatures are…
3
votes
3 answers

Convert base64 decoded string to unsigned char[32]

I'm using ed25519-donna to digitally sign. The keys are unsigned char[32], and the signatures are unsigned char[64]. I've found this base64 encoding, but it only decodes into string. I've found and tried many techniques but am still unsure of how to…
user1382306
0
votes
1 answer

How to properly link ed25519-donna with c++? (where is the -mbits flag?)

I've found this great question and this one which seems even greater where productivity's concerned. However, the ed25519-donna docs suggest To use the code, link against ed25519.o -mbits and: #include "ed25519.h" First, I can't find the -mbits…
user1382306