Questions tagged [ecdsa]

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

Elliptic Curve Digital Signature is a variant of algorithms. It allows in some cases a smaller public key (for instance, 160 bit in ecdsa compared to 1024 bit in dsa for 80 but security level), and requires the two sides to agree on a curve's field and equation, as well as a prime order on the curve and a multiplicative of the order.

Wikipedia description of Elliptic Curve Digital Signature

700 questions
3
votes
1 answer

Generating ECDSA public key at host side from W parameter

I want to send the public key of the private-public key pair (ECDSA) generated in my applet to the host application/terminal. In RSA normally i would send the modulus and exponent and will generate the public key at the host side. In ECDSA i read…
Arjun
  • 197
  • 3
  • 15
3
votes
1 answer

Should elliptic curve for public key generation and signature computation be the same?

According to wiki public key in ECDSA is multiplication of private key (random number) to some base point G on elliptic curve C. And also we have usage of C in both signing and verification. May I use some G1 and C1 for public key generation and…
user2104560
3
votes
1 answer

elliptic curve discrete logarithm

I am trying to Solve elliptic curve discrete logarithm using Pollard rho (find k where G=kp), So i searched for implementation in c and i found one after adding problem specific data in the main function i got segmentation fault (core…
Chaker
  • 1,197
  • 9
  • 22
3
votes
2 answers

Elliptic curve brute forcing

I have all parameter of elliptic curve. And the coordinate of points Q and P. I want to solve Q=k*P (where k is the unknown) by testing all possible k. So i used this class then: a=-1 b=0 p=134747661567386867366256408824228742802669457 curve =…
Chaker
  • 1,197
  • 9
  • 22
3
votes
2 answers

Creation of ECDSA public key given curve and public point?

I am struggling with the creation of a ECDSA public key from a string representation of a public key i.e string …
gizmo
  • 85
  • 2
  • 7
3
votes
2 answers

Creation of ECDSA private key given curve and private exponent?

I am new to cryptopp and have been struggling for a while with the creation of private keys for ECDSA signing. I have a hex encoded private exponent E4A6CFB431471CFCAE491FD566D19C87082CF9FA7722D7FA24B2B3F5669DBEFB. This is stored as a string. I…
gizmo
  • 85
  • 2
  • 7
3
votes
2 answers

ECDSA Signature in Javacard

I'm implementing the signing code using ECDSA in Javacard. My code outputs 0x0003(NO_SUCH_ALGORITHM) in exception part which means this card does not support the algorithm. I don't understand that because my vendor told me that it supports ECC. I…
user2642459
  • 507
  • 3
  • 10
  • 18
3
votes
1 answer

OpenSSL ECDSA sign and verify file

I would like to sign and verify a pdf with elliptic curve. I got some code but it doesn't work. Create private key: openssl ecparam -genkey -name secp384r1 -noout -out private.pem Create public key: openssl ec -in private.pem -pubout -out…
Michael
  • 113
  • 1
  • 1
  • 8
3
votes
3 answers

Retrive Public key from a Bitcoin Private Key

How i can get Bitcoin Address from a Bitcoin Private Key . I understand the whole method except the first one where , the public key and its x and y cord comes from the hash/private key . If i can get a code example in php it would be more helpful…
Armando Waky
  • 61
  • 1
  • 3
3
votes
1 answer

How to verify a ECC signature with OpenSSL command?

I have a public key, a 192 bit hash, and a 384 bit signature, all as .txt hex files, and the curve is prime192v1. What command lines can I use to verify the message with OpenSSL?
skvery
  • 336
  • 2
  • 16
3
votes
1 answer

Generate elliptic curve key pairs (EC_KEY_generate_key) in multiple threads using OpenSSL C library

I want to generate many ec key pairs. Speeding up the process a bit, I rewrote my appication to use multiple threads for this job. Here is a code snippet of the way each thread wants to generate the keys: (...) EC_KEY* _ec_key = EC_KEY_new();…
Arthur Giss
  • 43
  • 1
  • 8
2
votes
1 answer

ECDSA KeyPair to Perform ECDH Shared Secret Encryption

I needed to be able to take an ECDSA keypair (private and public key) to then perform an ECDH to get a shared secret between two parties. In this case we are talking about Alice and Bob. I could not find any relevant C# examples anywhere and where…
mathis1337
  • 1,426
  • 8
  • 13
2
votes
1 answer

How to convert and verify ECDSA binary signature using OpenSSL library?

I am trying to validate a signature returned by DS28C36 using OpenSSL in Linux. For testing purpose, I copied pasted public key and signature into global arrays. For signature conversion I followed this old post: Creating a DER formatted ECDSA…
2
votes
2 answers

ECDSA signature generated with mbedtls not verifiable in JOSE (while code worked with RSA key)

I have a small application running on an ESP32 dev board (I use the Arduino IDE together with the shipped mbedtls) that issues and verifies JWT tokens. I have at first used RSA signatures successfully, but now wanted to go for shorter signatures and…
mkuhlmann
  • 23
  • 5
2
votes
0 answers

C# ClientCertificate authentication with sha384 ECDSA Certificate

I am trying to use a provided sha384 ecdsa certificate in client authentication in a web request. Certificate in local store Certificate I can also read out the cert from the local store without issues: 3 But as you can see in the screenshot the…