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
1 answer

Javascript convert ECDH keys into ECDSA keys

I generate the ECDH keys in this way let _this = this; window.crypto.subtle.generateKey( { name: "ECDH", namedCurve: "P-256", // the curve name }, true, // <== Here if you want it to be exportable !! …
Vito Lipari
  • 795
  • 8
  • 35
0
votes
1 answer

In which file in the bitcoin source code is the signature verification process done?

I'm looking for the transaction signature verification process in the bitcoin source code (from https://github.com/bitcoin/bitcoin) but I can't find it. Where is it done ?
Yaklefak
  • 29
  • 6
0
votes
0 answers

ECDSA Asymmetric Encryption/Decryption C Library

I am working with MicroChips's ATECC508a, which is a designed for highly secure hardware-based key storage. It implements asymmetric (public/private) key cryptographic signature solution based upon Elliptic Curve Cryptography and the ECDSA signature…
PhillyNJ
  • 3,859
  • 4
  • 38
  • 64
0
votes
1 answer

How to use my pkcs#8 file to get ecdsa string

I am trying to get a signature string locally from the file PKCS#8 file which is in .p8 format. When I open it I can see a string between the statement -----BEGIN PRIVATE KEY----- // strings line 64 characters // strings line 64 characters //…
Jafar Mohammed
  • 103
  • 1
  • 12
0
votes
2 answers

How to put this in python so it can loop random with the mask?

How would I put this in python so it can loop generate random with mask leading zeros? std::string min = "000000000000000000000000000000000000000000000000000000000000000F"; std::string max =…
gigtime24
  • 1
  • 3
0
votes
0 answers

AWS cloudHSM ECDSA-SHA256 signature output to DER

I am attempting to use an AWS cloudHSM to sign a message that needs to be converted to DER to be verified by another application. The output signature file from AWS is binary and I am struggling to convert to DER. I can verify the signature is…
K Stewart
  • 23
  • 7
0
votes
0 answers

Algorithm of elliptic curve point addition in mixed Lopez Dahab-affine coordinates

In Guide to Elliptic Curve Cryptography, it provides the formulas to calculate the point addition in mixed Lopez Dahab-affine coordinates, as shown follows. In the actual algorithm, The code involves additional conditional statements to handle…
0
votes
1 answer

How to verify ECDSA with Public Key?

I have the following methods for generating keys and signing the password message. public void generateKeys() { try { keyStore = KeyStore.getInstance(KEYSTORE_NAME); keyStore.load(null); if (!keyStore.containsAlias(KEY_NAME)) { …
Zookey
  • 2,637
  • 13
  • 46
  • 80
0
votes
1 answer

elliptic curve point multiplication sometimes yields wrong results

I am trying to implement elliptic curve point with scalar multiplication in Python and have the issue that in some cases I get incorrect results and am struggling to figure out what could be wrong. Here is the function performing the…
Jakob Abfalter
  • 4,980
  • 17
  • 54
  • 94
0
votes
1 answer

NodeJS - Get certificate Chain from P7B file

I'm trying to take a CMS base64 encoded string, convert it into a pkcs7 file and extract the leaf and intermediate certificates using javascript/nodejs, similar to the following openssl command: openssl pkcs7 -print_certs -in certificate.p7b -out…
user4086990
0
votes
1 answer

Veins simulation terminates calling openssl ECDSA_SIG_get0 function

I am using the virtual machine instant-veins-4-7-1-i1 on VirtualBox with Omnet++-5.3 and Sumo-0.32.0. I have installed the library openssl version 1.1.0. When I try to access to the struct ECDSA_SIG that store the signature with the function…
Ricla
  • 105
  • 1
  • 9
0
votes
1 answer

Get java.security.PrivateKey from private key file generated by hyperledger ca

Using hyperledger-fabric-ca tool I got private key like following -----BEGIN PRIVATE…
Aram Arabyan
  • 2,339
  • 1
  • 17
  • 30
0
votes
1 answer

C# BouncyCastle-How can I create a sha512ECDSA certificate and a valid certificate revocation list for this certificate?

How can I create a sha512ECDSA certificate and a valid certificate revocation list for this certificate using the latest version of BouncyCastle? I did not find any hints and the documentation does not seem to be well maintained either...
FranzHuber23
  • 3,311
  • 5
  • 24
  • 63
0
votes
1 answer

What cryptographic librairies will help calculate shared point and derive keys?

We need to perform some cryptographic operations and I want to know what cryptographic librairies can fit my need. The following is the context: Given the fact that we have: An EC Private Key stored in the HSM An EC Public Key (public…
Ahmed MANSOUR
  • 2,369
  • 2
  • 27
  • 35
0
votes
0 answers

How to convert ECDSA private key to ASCII Armored key?

I need to generate an ASCII Armored Key(as we have in PGP) from ECDSA private key. I'm using OpenSSL to generate the ECDSA private key. ref: Convert ECDSA private hex key to public key Currently I'm using the OpenPGP node module for…
shubh_am
  • 21
  • 4