aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c')
-rw-r--r--thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c b/thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c
new file mode 100644
index 0000000..f461d1a
--- /dev/null
+++ b/thirdparty/nRF5_SDK_15.0.0_a53641a/examples/dfu/dfu_public_key.c
@@ -0,0 +1,21 @@
+
+/* This file was automatically generated by nrfutil on 2018-03-22 (YY-MM-DD) at 12:39:00 */
+
+#include "stdint.h"
+#include "compiler_abstraction.h"
+
+/* This file was generated with a throwaway private key, that is only inteded for a debug version of the DFU project.
+ Please see https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/README.md to generate a valid public key. */
+
+#ifdef NRF_DFU_DEBUG_VERSION
+
+/** @brief Public key used to verify DFU images */
+__ALIGN(4) const uint8_t pk[64] =
+{
+ 0x65, 0xfc, 0x2b, 0xf8, 0x16, 0xda, 0x01, 0x9a, 0xde, 0x75, 0xd4, 0xa8, 0x47, 0x71, 0x96, 0x21, 0x1c, 0x87, 0x55, 0x69, 0x10, 0x5a, 0xbe, 0x04, 0x57, 0x8f, 0xd2, 0xb0, 0x29, 0x94, 0x56, 0xb8,
+ 0xca, 0x03, 0x63, 0xd6, 0x35, 0xc6, 0x4d, 0xa7, 0x81, 0x9f, 0xef, 0xa7, 0xd2, 0xec, 0xb7, 0xf3, 0x07, 0xff, 0x80, 0xaf, 0x7a, 0x3b, 0x4c, 0x19, 0xb8, 0x91, 0xc5, 0x14, 0x3c, 0xe8, 0x76, 0x6d
+};
+
+#else
+#error "Debug public key not valid for production. Please see https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/README.md to generate it"
+#endif