15:21 9nov

Dependencies:   mbed mbedtls

Files at this revision

API Documentation at this revision

Comitter:
preyaa4
Date:
Fri Nov 09 17:23:03 2018 +0000
Parent:
6:13ef02c7dd17
Commit message:
nov 9, 10:52 pm

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 13ef02c7dd17 -r 8331ee141606 main.cpp
--- a/main.cpp	Fri Nov 09 10:34:20 2018 +0000
+++ b/main.cpp	Fri Nov 09 17:23:03 2018 +0000
@@ -17,12 +17,12 @@
     mbedtls_pk_context pk;
 
     mbedtls_pk_init( &pk );
-    const unsigned char key[]="-----BEGIN RSA PUBLIC KEY-----"
-                              "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMYfnvWtC8Id5bPKae5yXSxQTt"
-                              "+Zpul6AnnZWfI2TtIarvjHBFUtXRo96y7hoL4VWOPKGCsRqMFDkrbeUjRrx8iL91"
-                              "4/srnyf6sh9c8Zk04xEOpK1ypvBz+Ks4uZObtjnnitf0NBGdjMKxveTq+VE7BWUI"
-                              "yQjtQ8mbDOsiLLvh7wIDAQAB"
-                              "-----END RSA PUBLIC KEY-----";
+    const unsigned char key[]="-----BEGIN PUBLIC KEY----- \
+MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMYfnvWtC8Id5bPKae5yXSxQTt \
++Zpul6AnnZWfI2TtIarvjHBFUtXRo96y7hoL4VWOPKGCsRqMFDkrbeUjRrx8iL91 \
+4/srnyf6sh9c8Zk04xEOpK1ypvBz+Ks4uZObtjnnitf0NBGdjMKxveTq+VE7BWUI \
+yQjtQ8mbDOsiLLvh7wIDAQAB \
+-----END PUBLIC KEY-----";
 
 
     /*