229 Commits

Author SHA1 Message Date
Ken MacKay a24112de66 Implement mitigation for hcca attack 2024-11-12 08:44:34 -08:00
Ken MacKay fe8ed90abc Merge pull request #211 from Prabhuk/master
Update ARM inline assembly constraints.
2023-04-20 09:20:24 -07:00
prabhukr a029d90af0 Update ARM inline assembly constraints.
Inline assembly in uECC_vli_add is underspecified; the output
registers are written to before the input registers are fully
consumed. Updating the constraints to include earlyclobber `&`.
2023-04-19 08:37:17 -07:00
Ken MacKay 13721361f7 Merge pull request #209 from LevelHome/dmaestas/gitignore
Updates .gitignore to ignore *.a, *.o, and *.so
2023-03-22 19:48:39 -07:00
dmaestas 7ad0bbb501 updates .gitignore to ignore *.a, *.o, and *.so 2023-03-22 16:53:45 -05:00
Ken MacKay b335ee812b Merge pull request #191 from gridware/a-house-divided-cannot-stand
asm_arm.inc: use RESUME_SYNTAX everywhere
2022-03-28 14:56:06 -07:00
Andrew Jeddeloh 625beefa21 asm_arm.inc: use RESUME_SYNTAX everywhere
This makes it so clang wont yell when compiling.
2022-03-28 14:06:38 -07:00
Ken MacKay 24c60e2435 Add test vector for ECDSA secp256k1 v1.1 2020-12-24 17:45:25 -08:00
Ken MacKay 15e1a74649 Merge pull request #177 from jaroban/master
Add RNG for nRF52 series
2020-10-31 17:46:45 -07:00
Jaroslav Ban 71563d854c Added RNG for nRF52 series. Fixed infinite for loop because of int - wordcount_t mismatch 2020-10-27 23:51:07 +01:00
Ken MacKay 4b1709c17a Merge pull request #176 from benpicco/riot
platform-specific.inc: add support for RIOT-OS
2020-10-21 15:59:34 -07:00
Benjamin Valentin 6a53a0fbde platform-specific.inc: add support for RIOT-OS 2020-10-20 18:11:54 +02:00
Ken MacKay 51dfe37cea Add test vectors for public key generation 2020-10-12 16:51:00 -07:00
Ken MacKay d1ab664e02 Random initial Z when calculating the public key 2020-10-12 16:49:35 -07:00
Ken MacKay 1e6e86fa43 Add note about verifying public keys 2020-10-07 17:26:47 -07:00
Ken MacKay 6e9241793f Fix for #113 2020-10-07 12:27:10 -07:00
Ken MacKay 979d722c99 Cleanup emk files 2020-10-07 12:26:35 -07:00
Ken MacKay 01dd76e728 Fix for #148 2020-10-07 12:09:37 -07:00
Ken MacKay c1402e768a Merge pull request #143 from westin123/master
Conditionally removed vararg related macros for platforms where they …
2020-10-07 11:50:05 -07:00
westin123 66ef25a371 Update uECC.c
Added uECC_arm_thumb2
2020-10-07 13:02:43 -05:00
Ken MacKay 1b5f5cea51 Fix for #168 2020-10-07 10:47:40 -07:00
Ken MacKay 622a7f82ac Merge pull request #135 from junjiequ/patch-1
Update README.md
2020-10-07 09:59:11 -07:00
Ken MacKay 8935f0b94b Merge pull request #125 from vlovich/patch-1
Fix static annotation for uECC_valid_point
2020-10-07 09:58:40 -07:00
Westin Sykes 867e40b21e Conditionally removed vararg related macros for platforms where they are not used to prevent issues with compilers that don't support GCC features. 2018-08-23 16:06:19 -05:00
JJ_Q 725f37d601 Update README.md
Fixed the a typo.
2018-03-28 21:12:10 +02:00
Vitali Lovich d2f1bd6766 Fix static annotation for uECC_valid_point
Resolves #124
2017-08-16 17:34:23 -07:00
Ken MacKay 601bd11062 Fix for #111 2017-06-19 18:52:33 -07:00
Ken MacKay a76bd3f047 Merge pull request #114 from msembinelli/update_readme
Fix broken sec1 url in README
2017-06-17 10:26:51 -07:00
Matthew Sembinelli f8128a2b5b Fix broken sec1 url in README 2017-06-17 00:05:54 -06:00
Ken MacKay d037ec8954 Add note that uECC_VLI_NATIVE_LITTLE_ENDIAN affects key compatiblity v1.0 2017-05-21 11:05:04 -07:00
Ken MacKay 899a4396fc Merge pull request #106 from koh-osug/master
Update platform-specific.inc
2017-05-21 10:40:11 -07:00
Karsten Ohme e0af5a895b Update platform-specific.inc
Fix for Visual Studio 2015 compilation to find necessary libraries
2017-05-21 19:35:48 +02:00
Ken MacKay a148ae42f5 Merge pull request #95 from d00616/arduino_library
Add Arduino library manager support.
2017-05-21 09:57:39 -07:00
Frank Holtz 7c781edd6f Add Arduino library manager support. 2017-02-11 16:50:31 +01:00
Ken MacKay 14222e062d Merge pull request #85 from mtausig/master
Renamed variables 'private' and 'public' to prevent compilation problems with C++
2016-07-27 08:04:48 -07:00
Mathias Tausig 8d0af43866 Renamed variables named 'private' and 'public' to prevent compilation problems with C++ 2016-07-27 16:54:07 +02:00
Ken MacKay e862f7c5a1 Improve Thumb multiplication performance a bit (#67) 2016-04-23 22:50:41 -07:00
Ken MacKay d671b1cc22 Add faster ARM multiplication code using UMAAL (#69)
On ARM platforms that support UMAAL, this new code should speed up curve
operations by 15-20%. There is automatic detection of UMAAL support
using compiler macros, but if it doesn't work for a given platform,
#define uECC_ARM_USE_UMAAL to 1 or 0 as desired.
2016-04-20 21:22:40 -07:00
Ken MacKay b6c0cdbe7d Add functions to get the private/public key size for a curve (#73) 2016-03-08 21:29:40 -08:00
Ken MacKay 171475934d Merge pull request #74 from carlescufi/master
Avoid warnings when compiling without uECC_VLI_NATIVE_LITTLE_ENDIAN
2016-03-08 18:58:05 -08:00
cacu af1a5c75a0 Avoid warnings when compiling without uECC_VLI_NATIVE_LITTLE_ENDIAN 2016-03-08 20:30:59 +01:00
Ken MacKay bcc8143add Merge pull request #72 from carlescufi/master
Add a new compile-time macro to use the local native format for VLI
2016-03-08 07:59:43 -08:00
cacu ceae2ca088 Fix curly brace placement 2016-03-08 09:49:04 +01:00
cacu eff564675d Fix code formatting and document the fact that input arrays must be word
aligned
2016-03-08 09:47:02 +01:00
cacu 289a8e0340 Several fixes singled out in the pull request discussion thread. 2016-03-07 18:08:08 +01:00
cacu 778effd967 Add a new uECC_VLI_NATIVE_LITTLE_ENDIAN compile-time macro that enables
fully native little endian platforms interfacing with little endian byte
streams to avoid using additional stack space and pre and post byte
reversals
2016-03-07 13:09:22 +01:00
cacu 01f15fb6b3 Add a new compile-time macro to use the local native format for VLI
handling. This is useful for little-endian machines that have to
interface with protocol stacks using little-endian byte ordering.
2016-03-01 22:29:41 +01:00
Ken MacKay b970244fa1 Merge pull request #71 from mdxs/fix_typo
Fixed small typos in comments
2016-02-29 19:40:47 -08:00
mdxs 9dbd82890f Fixed small typos in comments 2016-03-01 00:40:47 +01:00
Ken MacKay ae17aaaf13 Merge pull request #64 from swilson/master
Provide API access to the built-in RNG code.
2016-01-24 19:19:04 -08:00