Questions tagged [elliptic-curve]

In mathematics, an elliptic curve is a smooth, projective algebraic curve of genus one, on which there is a specified point O.

In mathematics, an elliptic curve is a smooth, projective algebraic curve of genus one, on which there is a specified point O (the point at infinity). An elliptic curve is in fact an abelian variety — that is, it is a (necessarily commutative) group with respect to an algebraically defined multiplication — and O serves as the identity element. Often the curve itself, without O specified, is called an elliptic curve.

685 questions
0
votes
0 answers

Is it possible to support more then one elliptic named curve by the server in OPENSSL version 1.0.1*?

i am enabling the ECDHE support for my server but i see that openssl version 1.0.1* provide API SSL_CTX_set_tmp_ecdh to set the named curve but here the limitation is i can only support one named curve. Is it possible to support more then one…
rakesh sharma
  • 129
  • 2
  • 8
0
votes
0 answers

ECC random point generation for prime field

I am currently trying to generate random ECC points in Java on particular curve. After generating points, I want to make sure if points exist on the specific curve or not. Here is my code, import org.bouncycastle.math.ec.ECCurve; import…
0
votes
1 answer

ECC Random Points Generation FPGA

I want to give a large number of ECC points to my FPGA for testing purpose. I want to save the file containing ECC points as well. Is there any way , I can generate ECC random points for specific Elliptic curve? May be directly in FPGA or I can…
Eshaal
  • 125
  • 2
  • 13
0
votes
1 answer

Trying to iterate "rem = (rem*value)%N" e times while saving each value of rem for i+1 and returning rem when i=e

So essentially I'm trying to make a function that takes an ASCII value and multiplies it by the remainder of the previous multiplication in the iteration. So for the first iteration (i = 0), the remainder just gets set as the initial asc value. The…
Brayden
  • 147
  • 1
  • 10
0
votes
1 answer

EllipticCurve, sagemath

I have an elliptic curve defined by y^2 = x^3 + 1062282974404935987005872930817*x + 1204388198013706813607478558721 over Finite Field of size 2017313518945563799802055961909. And I want to get a point on this curve of order…
0
votes
2 answers

ECC ASN1 signature verification failure

I have 48 bytes ECC secp192r1 signature which worked in other environment: byte[] signature = new byte[]{(byte)0x08, (byte)0x33, (byte)0x6B, (byte)0x27, (byte)0xBC, (byte)0x29, (byte)0x64, (byte)0x36, (byte)0x70, (byte)0x08, (byte)0x97, (byte)0x4F,…
0
votes
1 answer

Convert ECC PKCS#8 public and private keys to traditional format

I have ECC public and private generated with BouncyCastle: Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); ECNamedCurveParameterSpec ecSpec = ECNamedCurveTable …
0
votes
1 answer

ECC private key is longer than public key

I have generated ECC public and private key using secp192r1 curve. I get 75 for public and 125 for private encoded key array length. Why private key is longer than public key? Why private key is not longer two times than public? Why private key is…
0
votes
2 answers

ECC public and private keys setters

I need to test ECC verification with given public and private keys. I found methods for random keys generation but there are no setters for specific public/private keys. How to set public/private keys as byte array? byte[] privateKeyBytes = new…
0
votes
1 answer

Error while implementing diffie hellman with elliptic curve in Java

I've copied the code from http://www.java2s.com/Tutorial/Java/0490__Security/DiffieHellmanwithEllipticCurve.htm Here is my code .. import java.math.BigInteger; import java.security.KeyPair; import java.security.KeyPairGenerator; import…
0
votes
1 answer

openssl elliptic curves:EC_POINT_add return error

I am trying to solve elliptic curves discrete logrithm problem using Pollard rho attack in c. Since the target elliptic curve is defined over binary field F2^113, I need to do a great amount of EC_POINT_add operation s in my program. Unfortunately,…
ybshen
  • 1
  • 1
0
votes
1 answer

EC private key and domain parameters using OpenSSL

First of all, sorry for my ignorance, I'm new at cryptography. I'm trying to generate a public key for use with elliptic curves given the private key. So, at the moment I have: The curve I will be using y^2 = x^3 - ax + b (prime256v1) A .pem file…
tknbr
  • 139
  • 1
  • 13
0
votes
1 answer

How can I edit a .class in rt.jar to support arbitrary Elliptic Curves

I am trying to change the ECParameters class in sun.security.ec. I need to do this in order to get arbitrary curves working, and I already downloaded the OpenJDK source, edited the code and compiled it again. I unpacked my current rt.jar and…
Tosjo
  • 1
  • 5
0
votes
1 answer

when I am executing the code only public key is generated but not the private key ,so what should I do?

package com.project; import java.security.*; import java.security.spec.*; public class ECCKeyGeneration { public static void main(String[] args) throws Exception { KeyPairGenerator kpg; kpg = KeyPairGenerator.getInstance("EC","SunEC"); …
0
votes
1 answer

SJCL key generation

for my website "moneyart.info" I want to generate ECC public and private keys with JavaScript library sjcl. I tried following code: * crypto_keys = sjcl.ecc.elGamal.generateKeys(256); var public_key = crypto_keys.pub.get(); var secret_key =…
user4375474