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

Generate a random point on an elliptical curve

I'm writing a program which randomly chooses two integers within a certain interval. I also wrote a class (which I didn't add below) which uses two numbers 'a' and 'b' and creates an elliptical curve of the form: y^2 = x^3 + ax + b I've written the…
Whizkid95
  • 271
  • 4
  • 14
0
votes
0 answers

How can I Ecrypt using public key generated by jpbc

I am using jpbc(Java pairing based cryptography) to generate public and private keys. secret Key=random from Zn (for some n) private key=g^secretkey (g is generator) The generated private key is…
Kashyap Kotak
  • 1,888
  • 2
  • 19
  • 38
0
votes
2 answers

Is it possible to use ECC private key for encryption?

I want to use an ECC private key for encryption because of mutual authentication. But I cannot find a method (or function) in wolfcrypt (wolfSSL) or the micro-ecc library. Is is okay to use an (ECC) private key for encryption? And if so, how can I…
comomind
  • 25
  • 4
0
votes
1 answer

sgx_ecc256_create_key_pair fail

I've written a very simple test to learn working with elliptic curve cryptography inside an enclave. But the key creation method fails with SGX_ERROR_UNEXPECTED. Here is my enclave: #include "Enc_t.h" #include "sgx_trts.h" #include…
Arya Pourtabatabaie
  • 705
  • 2
  • 7
  • 22
0
votes
1 answer

Distinguished point example for Pollard rho for ECDLP solving

I have implemented the Serial Pollard Rho Algorithm for solving Elliptic curve discrete log problem . Now I am try to parallelize it using the Parallel Pollard Rho Algorithm. so I just need some help to understand what kind property I can use for…
0
votes
1 answer

Cartesian Points on Elliptic Curves in sage

I just want to sample cartesian points from an elliptic curve in $(x,y)$ form. Given one of x or y, I want to be able to calculate the other's possibilities. Examples: I have EllipticCurve('11a') and I want to know where it intersects the x-axis in…
ctesta01
  • 909
  • 8
  • 19
0
votes
1 answer

Convert GMP code into Parallel using MPI

I have a Pollard Rho code in GMP for Elliptic Curve Discrete logarithmic problem (ECDLP) which I wanted to parallelize using MPI. Kindly guide me whether it is possible to use both libraries simultaneous in the same C code OR do I have to convert…
0
votes
0 answers

Elliptic curve points addition is not associative

I've found an article that says how to add points in projective coordinates.But in my implementation these points don't form a group. Fields: private final BigInteger x; private final BigInteger y; private final BigInteger z; private final…
Tony
  • 459
  • 1
  • 5
  • 18
0
votes
1 answer

Digital Certificate for digitally signing a xml document

I have 3rd party integration requirement that xml docs be digitally signed with the following parameters: Signature keys shall be 256bit Elliptic Curve Keys, have a length of 256 bits, use the NIST SuiteB P-256 curve. Do I need to to have a digital…
user1080453
  • 1
  • 1
  • 2
0
votes
1 answer

ECC key pair - how to print private key?

I implement "Key Pair Generation" using secp192r1 curve. But private key did not display in string form like public key. Here is my code: package lam.bk; import java.security.*; import java.security.spec.*; public class ECCKeyGeneration { …
ThanhLam112358
  • 878
  • 1
  • 20
  • 51
0
votes
0 answers

Apple Push Notification Service keys

I have an EC key generated by Apple Push Notification Service (APN). As per the RFC5915 section 3 the key should be a sequence that looks like this one. My problem is that the APN key sequence is encapsulated into another sequence that is not…
Spomky-Labs
  • 15,473
  • 5
  • 40
  • 64
0
votes
0 answers

How to draw extended curve?

My problem is, I have a curve with red dots as the image below. I want to extend the curve like the blue dots in the image. How can I do it? I think finding Bézier curve with the red dots and somehow extending the Bézier function may work, but I am…
0
votes
1 answer

Dividing a point by a specific number in elliptic curve

There is a elliptic curve with parameters: a = 0xb3b04200486514cb8fdcf3037397558a8717c85acf19bac71ce72698a23f635 b = 0x12f55f6e7419e26d728c429a2b206a2645a7a56a31dbd5bfb66864425c8a2320 Also the prime number is: q =…
9yte
  • 42
  • 3
0
votes
1 answer

Restrict Eliptic curve in sun JSSE (JDK 1.8)

Which EC ciphers should be selected to avoid - secp160k1 curve as its weaker one. I am using jdk 1.8 with SunEC as JCA provider
user1493834
  • 756
  • 4
  • 11
  • 25
0
votes
1 answer

what is encrypted file size using elgamal cryptosystem?

What is the elgamal encrypted file size after encrypting, say, a 1mb file of normal text using elliptical curves? I'm getting a 250mb encrypted file size? How much off is it from normal standards?