Commit Graph

134 Commits

Author SHA1 Message Date
Steffen Jaeckel
9423f3b26d add bcrypt 2019-10-12 14:31:38 +02:00
Steffen Jaeckel
06a58ab519 update doc 2019-10-11 14:20:43 +02:00
Steffen Jaeckel
3da27d71a0 Improve comments&doc
[skip ci]
2019-06-10 03:28:42 +02:00
Steffen Jaeckel
fef07fd843 add documentation of Curve25519 API 2019-06-09 23:20:45 +02:00
Karel Miko
7d8567695b update doc - chacha20poly1305_memory + gcm_memory 2018-10-29 07:28:18 +01:00
Marcos Brito
be29591812
Fix RSA Encryption Example
RSA Encryption Example is missing a closing comment bracket */
2018-10-25 16:34:45 +02:00
Karel Miko
9c0d708523 fix typo pkcs7_depad > padding_depad [skip-ci] 2018-10-15 10:51:17 +02:00
Russ Williams
b4b50cc0c6 Initial commit of SSH+ECDSA signature format
Wrap signature format in #ifdef LTC_SSH
Update docs
Code review fixes
Replace strcmp/memcmp with XSTRCMP/XMEMCMP for check-source
Fix for check-defines
XSTRCMP/XMEMCMP != 0
GCC7.3 wants only literal strings for sprintf format
Code review changes
Rework SSH decoding and tests
Fix encoding and tests
COMPARE_TESTVECTOR macro
Single return point in ssh_decode_sequence_multi
Actually use XSTRNCPY rather than just defining it
More code review fixes
Code review tweaks
Ensure it's not possible to read past buffer end
Keep track of size remaining, not end pointer
2018-10-12 10:22:10 +01:00
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