cryptographyopensslpublic-key-encryptionelliptic-curve

get x and y components from ecc public key in PEM format using openssl


I am generating a KeyPair for ECC from curve 'secp128r1' using openssl

Steps I followed :

I want explicitly x and y components from the public key generated here, please can anyone suggest the correct way of doing this ?
The above public key is 264 bits long, hence cannot take(/split) it as is
Thanks


Solution

  • Pub:
    04:04:ce:24:34:d4:cb:f2:58:94:2f:8a:5f:06:d7:
    3f:ed:5a:50:ef:fb:cc:b7:49:62:16:62:9e:aa:d5:
    30:a8:a5
    

    UPD. Found this website that contains further details.