micro-ecc
==========
A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors.
The static version of micro-ecc (ie, where the curve was selected at compile-time) can be found in the "static" branch.
Features
--------
* Resistant to known side-channel attacks.
* Written in C, with optional GCC inline assembly for AVR, ARM and Thumb platforms.
* Supports 8, 32, and 64-bit architectures.
* Small code size.
* No dynamic memory allocation.
* Support for 5 standard curves: secp160r1, secp192r1, secp224r1, secp256r1, and secp256k1.
* BSD 2-clause license.
Usage Notes
-----------
### Point Representation ###
Compressed points are represented in the standard format as defined in http://www.secg.org/sec1-v2.pdf; uncompressed points are represented in standard format, but without the `0x04` prefix. All functions except `uECC_compress()` only accept uncompressed points; use `uECC_compress()` and `uECC_decompress()` to convert between compressed and uncompressed point representations.
Private keys are represented in the standard format.
### Using the Code ###
I recommend just copying (or symlink) the uECC files into your project. Then just `#include "uECC.h"` to use the micro-ecc functions.
For use with Arduino, you can use the Library Manager to download micro-ecc (**Sketch**=>**Include Library**=>**Manage Libraries**). You can then use uECC just like any other Arduino library (uECC should show up in the **Sketch**=>**Import Library** submenu).
See uECC.h for documentation for each function.
### Compilation Notes ###
* Should compile with any C/C++ compiler that supports stdint.h (this includes Visual Studio 2013).
* If you want to change the defaults for any of the uECC compile-time options (such as `uECC_OPTIMIZATION_LEVEL`), you must change them in your Makefile or similar so that uECC.c is compiled with the desired values (ie, compile uECC.c with `-DuECC_OPTIMIZATION_LEVEL=3` or whatever).
* When compiling for a Thumb-1 platform, you must use the `-fomit-frame-pointer` GCC option (this is enabled by default when compiling with `-O1` or higher).
* When compiling for an ARM/Thumb-2 platform with `uECC_OPTIMIZATION_LEVEL` >= 3, you must use the `-fomit-frame-pointer` GCC option (this is enabled by default when compiling with `-O1` or higher).
* When compiling for AVR, you must have optimizations enabled (compile with `-O1` or higher).
* When building for Windows, you will need to link in the `advapi32.lib` system library.
没有合适的资源?快使用搜索试试~ 我知道了~
uECC.h和micro-ecc-lib-nrf52.lib

共30个文件
py:8个
inc:7个
c:5个

需积分: 1 26 下载量 80 浏览量
2018-12-13
10:48:27
上传
评论
收藏 140KB ZIP 举报
温馨提示
Nordic 52832 dfu 升级 keil编译 缺少的uECC.h和micro_ecc_lib_nrf52.lib相关文件。将micro-ecc拷入nRF5_SDK_14.2.0_17b948a\external\micro-ecc,然后将micro_ecc_lib_nrf52.lib复制到nRF5_SDK_14.2.0_17b948a\external\micro-ecc\nrf52hf_keil\armgcc和nRF5_SDK_14.2.0_17b948a\external\micro-ecc\nrf52nf_keil\armgcc文件下即可。重新编译文件nRF5_SDK_14.2.0_17b948a\examples\dfu\bootloader_secure_serial\pca10040\s132\arm5_no_packs。
资源详情
资源评论
资源推荐
收起资源包目录




































共 30 条
- 1


















格式:rar 资源大小:833.4KB












玩转物联网
- 粉丝: 3382
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 2017通信中级实务互联网技术考试解答参考-2题未解.docx
- 铁路通信工程施工工艺标准.doc
- 特教学校计算机教学方法的运用.docx
- 安卓手机在三维度手机商城购物全攻略.doc
- 江苏省计算机一级考试复习资料很全面的.doc
- 独立学院非计算机专业Python程序设计课程教学改革探索.docx
- 个人做电子商务.ppt
- 公路施工管理中计算机应用研究.doc
- 单片机开发语言特点研究.docx
- 大数据算法的输电线路故障分析研究.docx
- 基于项目驱动的计算机网络技术课程实践教学改革初探.docx
- asmeg-汇编语言资源
- 校园数字IP网络广播系统解决方案.doc
- 波分复用光纤通信系统课程设计.doc
- 现代智能停车场物联网系统方案设计概要.doc
- qqzeng-ip-C语言资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0