openssl ecparam -out private_key.pem -name prime256v1 -genkey

openssl ec -in private_key.pem -pubout -out device_desc_pubkey.bin -outform der

tail -c +27 device_desc_pubkey.bin > temp_file && mv temp_file device_desc_pubkey.bin