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

Elliptic Curve Diffie-Hellman Symmetric Keys Not Matching On Client and Server

I'm using JCSL - Javascript on client (documentation) and OpenSSL - Ruby on server (documentation) to generate a symmetric key on both client and server using Elliptic Curve Diffie-Hellman. I've somehow finally managed to format properly the public…
Jay-Ar Polidario
  • 6,463
  • 14
  • 28
0
votes
1 answer

ECDH secrets generated by BouncyCastle Java API and by OpenSSL are different

I'm trying to make use of elliptic curve crypto. I need two implementations of the same thing, one in Java and one in C. I'm testing them using two key pairs which were generated using the curve secp256k1. When I generate the derived secret in Java…
maff
  • 855
  • 1
  • 9
  • 10
0
votes
1 answer

how to convert a coordinate (x,y) to a unique value

how to convert a elliptic point to a unique value? ie using ECC for curve y2=x3+x+1 and p=23 i generated elliptic points and for a message, I mapped the characters of the message to elliptic points so computed. Now i want to pass the set of points…
abhi
  • 13
  • 3
0
votes
1 answer

ECC Engine with BouncyCastle for Java

Well, I need make api using java to encrypt, decrypt and another things about Cryptografy. I'm using bouncycastle framework to do. But I can't found Elliptic Curve Cryptigrafy Engine into BC Framework, I found RSAEngine, IESEngine. I wanna encrypt…
Dimmy Magalhães
  • 357
  • 1
  • 6
  • 21
0
votes
1 answer

ECC in Python--Encrypt to Multiple Public Keys?

I am trying to simultaneously encrypt a message to multiple public keys using ECC in python. The modules I have tried include a number of seccure-based modules, along with https://pypi.python.org/pypi/ecc Can anyone help me with this? To be clear, I…
0
votes
1 answer

20 Byte limit with Elliptic Curve Cryptography

I've been trying to switch from RSA to ECC in my code. At first, I tried using Bouncycastle, but I was having difficulties getting named curves to work. None of the sample code I found was working. So I tried JECC and it worked just fine, except for…
Mick
  • 303
  • 3
  • 7
0
votes
1 answer

Java cardSending data recieved 6f 00 error code

I have created ECC (Elliptic curve cryptography) in jcop j3A081 card.(dual interface card).Then i have android Application which use the Android ISO dep Connection to Communicate with the java card.(Contactless interface).So First i have select the…
Sajith Vijesekara
  • 1,324
  • 2
  • 17
  • 52
0
votes
1 answer

Recommended *minimal* elliptic curve library in c

Any recommendations for a c-library implementing elliptic curve cryptography - the smaller the better. I know openSSL provides it, but I want something as small as possible. It doesn't need any fancy stuff like constant time encryption / decryption…
Nuoji
  • 3,438
  • 2
  • 21
  • 35
0
votes
2 answers

openssl elliptic curves

I have an elliptic curve EC and I need to find such an point G of EC which coordinate is the smallest non-negative integer of all points on the curve. I need it for an implementation of ECOH hashing algorithm. I was trying to use openssl to achieve…
spandei
  • 219
  • 3
  • 16
0
votes
2 answers

Find a solutions for segmentation fault in c

I am porting elliptic curve cryptography for contiki os (Based on pure c). I am getting an error of segmentation fault. I used xxgdb to debug and still I can't found a reason why is that. And I do not have clear idea about debug in c. Please help…
cdev
  • 5,043
  • 2
  • 33
  • 32
0
votes
1 answer

NFC compatible tag to use for elliptic curve encryption

I have an Android project that requires me to use an NFC tag for encryption/signing data using an elliptical curve algorithm. I need the tag to be able to perform the crypto itself using a keypair that I generate externally. It's important that the…
user1233983
  • 333
  • 1
  • 4
  • 6
0
votes
1 answer

Point multiplication in elliptic curvves

I found the following code here on Stack Overflow for arithmetic, viz. addition, doubling and multiplication, for elliptic curve points. I tried running it and used test cases given in the following NIST routines document,[NSA Provided routines for…
Riddhiman Dasgupta
  • 363
  • 1
  • 6
  • 22
0
votes
1 answer

Verification SIgnature ECDSA using SAGE

In the ECDSA algorithm (verification signature) you have to calculate a new point using the next formula: (x0,y0) = u1*P+U2*P_a How can I calculate the coordenates of this new point?, i try that sentence in SAGE but it doesn't work. X =…
vem
  • 93
  • 1
  • 7
0
votes
0 answers

Matlab elliptic curves RMP function

function [X,Y,n] = PC(A,B,p) % This function m-file finds and plots all the points that lie in E_p(A,B) % These points are on the curve y^2 = x^3 + AX + b (mod p) RHS = zeros(3,1); LHS = zeros(3,1); X = zeros(2,1); Y = zeros(2,1); …
0
votes
1 answer

different brainpoolP521r1 parameters for flexiProvider. Why?

I am trying to generate ECC public private key pairs using flexiProvider. I have noticed that values for parameters like p and q are different in brainpoolP521r1 of flexiProvider than those which are specified in many sites. Values specified are Q=…