Commit Graph

42 Commits

Author SHA1 Message Date
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced 2017-10-31 14:02:54 +01:00
Christian Grothoff
ec8146de92
rename: TALER_setup_planchet -> TALER_planchet_setup_refresh 2017-10-31 12:44:17 +01:00
Christian Grothoff
a491a4709a
rename: TALER_FreshCoinP -> TALER_PlanchetSecretsP, and TALER_setup_fresh_coin -> TALER_setup_planchet 2017-10-31 12:38:14 +01:00
Christian Grothoff
1e30d60a25
fixing misc doxygen issues 2017-06-04 11:30:43 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Jeff Burdges
3115c6acc6 Kinda seems to work 2016-08-11 22:18:04 +02:00
Jeff Burdges
1f39f7e92b This might fix the compile error 2016-08-11 21:28:48 +02:00
Jeff Burdges
cdcd67a27d Use KDF better
We now send the secret_seed to the skm variable, while sending the
counter salt to the xts variable.  I have not check this with
http://eprint.iacr.org/2010/264 but it seems correct.

Indeed rsa_blinding_key_derive places the strong source of
randomness in skm too, and uses a constant string for xts.
2016-08-08 12:43:59 +02:00
Jeff Burdges
7958464696 Copy bit twiddling from libgcrypt/cipher/ecc.c
Reversed order buisness agrees with KC's experence from gnunet-rs
2016-08-08 10:38:07 +02:00
Christian Grothoff
745719dbc1 first half of changing refresh protocol to derive all key data from DH 2016-08-05 16:08:19 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
32bb3b14bf fix #4483 2016-05-24 20:13:31 +02:00
Christian Grothoff
80f6c4240e -fix (C) notices 2016-01-19 14:39:00 +01:00
Christian Grothoff
c6f88ebd61 doxygen-fixes 2015-08-09 15:40:16 +02:00
Christian Grothoff
00d613728f completing TALER_MINT_refresh_melt implementation 2015-08-08 19:52:05 +02:00
Christian Grothoff
3eddd802dc -fix ftbfs in wallet-only mode 2015-07-15 11:40:51 +02:00
Christian Grothoff
401745fc30 -include wallet headers if compiling wallet library 2015-06-02 12:52:05 +02:00
Christian Grothoff
7b4623706c Merge branch 'master' of git+ssh://taler.net/var/git/mint 2015-05-18 18:53:12 +02:00
Christian Grothoff
cb68cc7e5b fix reporting in constructor 2015-05-18 18:52:52 +02:00
Christian Grothoff
25e530f37a add test for varsize pq operation 2015-05-17 16:46:16 +02:00
Christian Grothoff
21da34a501 -fix doxygen errors 2015-05-16 18:26:34 +02:00
Christian Grothoff
f4a59d1ccc eliminating ECDSA, replacing with EdDSA-ECDHE-combo in transfer protocol 2015-05-16 14:15:34 +02:00
Christian Grothoff
95f99d32dd minor bugfixes 2015-05-01 09:59:18 +02:00
Christian Grothoff
e226e5c350 implementing TALER_refresh_link_encrypted_encode, and adding test 2015-04-18 13:08:19 +02:00
Christian Grothoff
0a0feeea86 finish #3777 including testing 2015-04-15 18:34:14 +02:00
Christian Grothoff
97e403bb66 moving core refresh crypto logic to util -- towards fixing #3777 2015-04-15 18:12:21 +02:00
Christian Grothoff
1fcd1873f0 basic tests for crypto functions 2015-04-13 18:57:37 +02:00
Christian Grothoff
2f6a4bb11c rename TALER_RefreshLinkDecryptedP to TALER_RefreshLinkDecrypted as it contains a pointer and is thus not (P)acked 2015-04-13 18:42:39 +02:00
Christian Grothoff
eca4f1a8fe -doxygen fixes 2015-03-28 15:42:07 +01:00
Christian Grothoff
eae1896a4b major rename-fest for more constent symbol names 2015-03-27 19:58:40 +01:00
Christian Grothoff
f73071bc62 fix #3638 2015-03-22 22:14:30 +01:00
Christian Grothoff
c2a42d5475 this is actually OK 2015-03-22 14:58:40 +01:00
Christian Grothoff
477e68c506 bringing copyright tags up to FSF standard 2015-02-08 00:16:22 +01:00
Christian Grothoff
41e1dd9738 finish cleanup of /refresh/commit parsing 2015-01-29 17:34:37 +01:00
Christian Grothoff
9c3c6295a8 even cleaner separation of PostGres-specific logic, and nicer libtalerutil headers 2015-01-28 20:53:21 +01:00
Christian Grothoff
62d3d35250 move coin validity test to libtalerutil 2015-01-28 20:23:19 +01:00
Christian Grothoff
2debf6c3f0 cleaning up includes 2015-01-28 20:12:15 +01:00
Christian Grothoff
162af316d3 cleaning up types used some more: also use a new struct for the transfer key secret 2015-01-27 22:05:31 +01:00
Christian Grothoff
27a72fdafe cleaning up types used 2015-01-27 22:01:08 +01:00
Christian Grothoff
019af0919e mint-httpd_db.c now compiles again 2015-01-27 18:49:02 +01:00
Christian Grothoff
16817ef0d1 implementing new link crypto API 2015-01-27 16:31:18 +01:00
Christian Grothoff
2cda5ea7ee rework taler lib, moving some code to GNUnet, cleaner refresh encrypt/decypt API 2015-01-27 16:18:33 +01:00