Commit Graph

126 Commits

Author SHA1 Message Date
Steffen Jaeckel
8fabca6171 merge duplicated tables into separate chapter
[skip ci]
2018-10-06 23:04:51 +02:00
Karel Miko
14b09138a9 doc update
[skip ci]
2018-10-06 23:04:51 +02:00
Russ Williams
88d9b6db26 Make ECC signature format explicit
Optionally return recovery ID from ecc_sign_hash()

Update documentation

Update tests for ECC recovery

Fix (v,r,s) signature format, regenerate recovery test

Fix over-freeing of private key

Code review fixes to docs

Rename LTC_ECCSIG_BLOCKCHAIN to LTC_ECCSIG_ETH to reflect original definition

Rename to LTC_ECCSIG_ETH27 to make clear it's using the Ethereum +27 convention

Code review changes - calculate recovery ID only if needed, type safety on signature format enum

Use enum for sigformat in docs, and add explanatory note for recid<0

Range checks on v, check RFC7518 signatures' length based on size of key. Fix for when order>prime.

Limit LET_ECCSIG_ETH27 to secp256k1 curve only
2018-09-29 21:07:41 +01:00
Russ Williams
76190521e3 Implementation of ecc_recover_key to obtain public key from hash+signature
Workaround for TFM missing sqrtmod_prime

Fix unused variable warnings with USE_TFM, make TomsFastMath a runtime check

Disable ecc_recover_key if no ecc_mul2add available

Wrap ecc_recover_key and its test in #ifdef LTC_ECC_SHAMIR

Fix unused variables when built without LTC_ECC_SHAMIR

Code review tweaks

Code review tweaks - remove sigformat, tidy up (de)allocation

Code review tweaks
2018-09-23 09:03:30 +01:00
buggywhip
a2b343b2d0 streams-add-single-call-crypt-functions
fix mixed declarations and code

add _memory chacha_ivctr32() test
2018-09-10 02:21:09 -07:00
buggywhip
380d1d2452 streams-make_state_names_consistent 2018-07-09 17:31:24 -07:00
Karel Miko
4f3bce103f move ecc_make_key_ex to Legacy Key Generation
[skip ci]
2018-07-06 13:42:54 +02:00
Karel Miko
b30c27066d new names: ecc_find_curve, ecc_set_curve 2018-07-06 13:42:38 +02:00
Steffen Jaeckel
415c19b8df re-work ECC docs a bit
[skip ci]
2018-07-06 13:42:38 +02:00
Karel Miko
57c884d50d ECC doc update
[skip ci]
2018-07-06 13:42:38 +02:00
Steffen Jaeckel
3fb0eea01b show in SCRYPT etc. that we're on develop 2018-07-02 23:25:20 +02:00
Steffen Jaeckel
215ec5f69d Merge tag 'v1.18.2' into develop
libtomcrypt v1.18.2
2018-07-02 23:23:47 +02:00
Steffen Jaeckel
54e6db588a Bump version 2018-07-01 12:51:54 +02:00
Steffen Jaeckel
06c0606da2 generalize caps argument of base16_encode()
probably we want to add more options in the future

I could think of support for some options of `xxd` resp. `hexdump`
2018-06-03 20:50:06 +02:00
Steffen Jaeckel
e31e757a86 fix build of crypt.pdf 2018-06-03 17:48:48 +02:00
Steffen Jaeckel
d752f90d18 fix Doxygen docs 2018-06-03 15:07:28 +02:00
buggywhip
8144209695 add XSalsa20 2018-05-31 11:58:21 -07:00
Steffen Jaeckel
c7a880f222 update docs 2018-04-09 23:30:27 +02:00
Steffen Jaeckel
89dffe6c7e add comment to Fortuna docs
(cherry picked from commit cccd1e3053)
2018-04-04 19:25:31 +02:00
Karel Miko
f0f1283dbb doc - add indexes for base64url_* 2018-03-27 21:06:31 +02:00
Karel Miko
ad8067eaf7 doc for base64_sane_decode 2018-03-27 21:06:30 +02:00
Karel Miko
b10bf8fa0d make base64_decode relaxed mode less relaxed 2018-03-27 21:06:30 +02:00
Steffen Jaeckel
efbf38adce update docs 2018-03-27 10:08:29 +02:00
Karel Miko
e73bb36f3f update doc - base64 & char* 2018-03-26 16:42:19 +02:00
Karel Miko
7a7b773b3c Revert "make base64_decode relaxed mode less relaxed"
This reverts commit e7117ea9df.
2018-03-25 19:41:43 +02:00
Karel Miko
e7117ea9df make base64_decode relaxed mode less relaxed 2018-03-25 15:46:49 +02:00
Steffen Jaeckel
daed6fe91e add padding documentation 2018-03-23 22:01:41 +01:00
Steffen Jaeckel
cccd1e3053 add comment to Fortuna docs 2018-03-23 15:16:13 +01:00
Steffen Jaeckel
0dc3ab00d9 update/improve docs 2018-03-22 16:12:56 +01:00
RektInator
b477e2c221 Renamed class->klass 2018-03-09 16:37:18 +01:00
Karel Miko
3cd8044290 Keccak 2018-03-08 07:18:33 +01:00
Steffen Jaeckel
d89326bbea update doc 2018-02-25 20:42:26 +01:00
Steffen Jaeckel
fa96614366 Update makefiles 2018-01-22 11:05:22 +01:00
Steffen Jaeckel
7de2d910fe libtomcrypt v1.18.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 Comment: Gnu Privacy Tools
 
 iF4EABEIAAYFAlpltt4ACgkQrwyxdiHtrXIaugD+PZ1lGJ3Hhm5nQzVycQqp5ryc
 BbfeJhhrRVr1art3ftMA/2AOFXS0SEKtkgALCh1qJkK9YwZIZcDGPqSl/6uTEbKq
 =1DpZ
 -----END PGP SIGNATURE-----

Merge tag 'v1.18.1' into develop

libtomcrypt v1.18.1
2018-01-22 11:04:49 +01:00
Steffen Jaeckel
da7054820c Fix some latex formatting errors
[skip ci]
2018-01-20 15:31:00 +01:00
Larry Bugbee
8ef60f7b47 add rabbit 2017-12-17 08:05:41 -08:00
Steffen Jaeckel
10ad3b5b41 fixup type of type in ltc_asn1_list doc
(cherry picked from commit 5e3e7e5304)
2017-12-17 01:05:43 +01:00
Steffen Jaeckel
5e3e7e5304 fixup type of type in ltc_asn1_list doc 2017-12-10 12:35:59 +01:00
Larry Bugbee
b6ae9ab000
grammatical change 2017-12-05 09:53:15 -08:00
Steffen Jaeckel
cfaf964284 Bump version 2017-12-05 18:40:49 +01:00
Larry Bugbee
c4fdf5c1fc
rephrase one sentence 2017-12-05 00:55:07 -08:00
Steffen Jaeckel
521d0737ea fix typo
(cherry picked from commit 442bb90a51)
2017-12-05 09:17:30 +01:00
Larry Bugbee
f42bf2f942 updated comments and doc 2017-12-04 22:15:18 -08:00
J08nY
684c0890e7 Fix docs build in Sosemanuk section. 2017-11-28 17:13:09 +01:00
Larry Bugbee
108ddf5b50 add Sosemanuk 2017-11-20 02:41:30 -08:00
Larry Bugbee
4341424ce9 Add Salsa20 2017-10-23 15:45:02 -07:00
Karel Miko
854a145c92 Base32: alpha_id >> id 2017-10-20 20:00:46 +02:00
Karel Miko
3fc98adaf5 tuning base32 stuff 2017-10-20 19:51:40 +02:00
Karel Miko
8674eb3097 base32_decode + base32_encode 2017-10-20 19:51:40 +02:00
Karel Miko
a37a93aecc doc update 2017-10-18 17:21:46 +02:00