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
0
votes
0 answers

What object same as Signature (java.security.signature) on Python?

I want to verify ECDSA signature generate on android by using python. But I can't found object or any thing same as Signature object in Python. Here is my verify code if using Java String origin = txtOrigin.getText().toString(); try { sig =…
user8332899
0
votes
1 answer

Create ASN.1 from two big integers

I have a java program using an HSM that with the native API gives me and R and S value of an ECDSA signature which is just the two Big Integers. I need to take those Integers and create ASN.1 encoding. Any idea on how I could do that? I do have…
Joshua Faust
  • 306
  • 2
  • 16
0
votes
3 answers

CNG provider, how to convert an EC key to BCRYPT_ECCKEY_BLOB structure?

I am writing a CNG provider. Specifically, stuck on implementing NCryptExportKey API. I am trying to convert an EC key (for signing, ECDSA256) from a hardware key manager. The h/w keymanager provides key in ASN format. I referred to MSDN…
Maulik Soni
  • 79
  • 1
  • 5
0
votes
2 answers

No ciphers available for specific ECDSA certificate

I'm building a prototype of an IOT device communicating through openssl with an online server. The software uses ECDSA certificate signed with my own subca. The problem seems there isn't a cipher availlable for that certificate. To test the whole…
0
votes
1 answer

Can I create a JCE ECPublicKey from a Q value from an openssh public key and ECParameterSpec

I'm reading openssh format elliptic curve public keys (RFC 5656, section 3.1) and would like to get from a BigInteger Q value to an ECPublicKey instance using JCE (rather than say BouncyCastle). I want to do this to verify JWT signatures. e.g.…
David Carboni
  • 1,556
  • 23
  • 24
0
votes
1 answer

Create authorized keys from ECDSA public key

I'm using Bouncy Castle API and I have ECPublicKey object but I'm not sure exactly how to construct a OpenSSH authorized key from there. I don't know what the format looks like. I'm thinking my solution would be similar to how it's done for RSA and…
0
votes
0 answers

ECDSA_do_verify is throwing error

ECDSA verify signature failed if (ECDSA_do_verify(digest.data, digest.len, sig, ec_key)) { printf("successful"); } else { printf("Error in signing"); while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) { …
mjht
  • 19
  • 2
0
votes
0 answers

How to decrypt ECDHM SSL traffic?

I am trying to decrypt some TLSv1.2 traffic with Java. I have some information from Wireshark like so... Any advice on how i might approach this? Let's assume i already have packet data in java i want to decrypt.
Ben Arnao
  • 88
  • 1
  • 9
0
votes
1 answer

how can we improve message authenticity in ad-hoc networks , without using traditional methods of encryption and digital signatures

usually we are using public-key encryption, or functional encryption along with ECDSA signatures to provide message authenticity and integrity in Ad-hoc networks, but both these techniques have inherent drawbacks, what else can we use to improve…
0
votes
1 answer

ECDSA signature - Is a conclusion to the used key possible?

I noticed that if I used the ECDsa.SignData Method I always get different ECDSA signature. So I wonder if it is possible to conclude from the ECDSA signature to the used key? If Alice sends a message to Bob1 and Bob2, can Eve determine without the…
hdev
  • 6,097
  • 1
  • 45
  • 62
0
votes
1 answer

Different output while using openssl_sign() in PHP

I recent tried to use PHP openssl extension with an ecdsa self signed certificate that i've issued using this tutorial create-a-self-signed-ecc-certificate. I have used function openssl_sign() as described in PHP manual. I've notice every time i…
Bool
  • 5
  • 1
0
votes
1 answer

Create PrivateKey from base64 string ECDSA private key

I have ECDSA private key string in base64 (i check this string with regexp from this https://stackoverflow.com/a/8571649/7661555 answer). And i try to generate PrivateKey instance from this string. I include SpongyCastle in my project, and try to…
0
votes
0 answers

OpenSSL ECDSA verification performance issue

I'm working on a project where I use ECDSA cryptography. For signature and key generation I use a hardware module, and I do the verification stuff using openssl. My problem is that a single verification take 12 milliseconds. This is an ARM device…
Anthony
  • 429
  • 1
  • 4
  • 10
0
votes
1 answer

UWP ECDSP Signature

I want to make a ECDSA signature with this code : AsymmetricKeyAlgorithmProvider objAsymmAlgProv = AsymmetricKeyAlgorithmProvider.OpenAlgorithm(AsymmetricAlgorithmNames.EcdsaSha256); CryptographicKey keypair =…
HamidReza
  • 717
  • 7
  • 17
0
votes
1 answer

ECIES with Inferno: Signing with ECDSA

I'm trying to sign a text file encrypted with ECIES, using Inferno. The encryption and key exchange parts work well but I'm left with a few questions regarding ECDSA. 1- I guess that the ECDSA signature must be stored in the sent file, so that…
Frank
  • 45
  • 1
  • 7