Re: secp256r1 65 byte key size in packet capture

2024-06-19 Thread Lokesh Chakka
Is there a way to have all those man pages installed in my system. I'm using Ubuntu 24. On Wed, Jun 19, 2024, 17:49 Matt Caswell wrote: > > > On 19/06/2024 12:14, Lokesh Chakka wrote: > > Now I need to explore C APIs for getting those keys as hex array. > > Could you pl

Re: secp256r1 65 byte key size in packet capture

2024-06-19 Thread Lokesh Chakka
the 65 bytes. Understood. Thanks alot. Now I need to explore C APIs for getting those keys as hex array. Could you please suggest any good references for beginners. Regards -- Lokesh Chakka. On Wed, Jun 19, 2024 at 4:21 PM Matt Caswell wrote: > > > On 19/06/2024 09:15, Lokesh Cha

Re: secp256r1 65 byte key size in packet capture

2024-06-19 Thread Lokesh Chakka
Understood. Thanks alot. But I'm still Not able to understand why it is 65 bytes in the key value. Thanks & Regards -- Lokesh Chakka. On Wed, Jun 19, 2024 at 3:03 PM Tomas Mraz wrote: > You need to do base64 decoding to find out the real size of the ASN.1 > encoded data. >

Re: secp256r1 65 byte key size in packet capture

2024-06-19 Thread Lokesh Chakka
private key is 164 bytes and the public key is 124 bytes. Thanks & Regards -- Lokesh Chakka. On Wed, Jun 19, 2024 at 2:28 PM Tomas Mraz wrote: > Hi Lokesh, > > I am not sure how do you count the sizes of 164 bytes and 124 bytes for > the pem files. > > If I use -outfo

secp256r1 65 byte key size in packet capture

2024-06-19 Thread Lokesh Chakka
length as 65 bytes. Can someone help me understand why the difference? Thanks & Regards -- Lokesh Chakka.