1 2016-03-25T00:02:56  *** d_t has quit IRC
  2 2016-03-25T00:04:04  *** justanotheruser has joined #bitcoin-core-dev
  3 2016-03-25T00:08:30  *** mrkent_ has quit IRC
  4 2016-03-25T00:09:19  *** molly has joined #bitcoin-core-dev
  5 2016-03-25T00:12:49  *** molz has quit IRC
  6 2016-03-25T00:28:47  *** supasonic has quit IRC
  7 2016-03-25T00:33:39  *** justanotheruser has quit IRC
  8 2016-03-25T00:35:25  *** frankenmint has joined #bitcoin-core-dev
  9 2016-03-25T00:39:39  *** frankenmint has quit IRC
 10 2016-03-25T00:44:26  *** justanotheruser has joined #bitcoin-core-dev
 11 2016-03-25T00:50:34  *** murch has joined #bitcoin-core-dev
 12 2016-03-25T01:03:31  *** justanotheruser has quit IRC
 13 2016-03-25T01:05:01  *** murch has quit IRC
 14 2016-03-25T01:36:10  *** frankenmint has joined #bitcoin-core-dev
 15 2016-03-25T01:40:25  *** frankenmint has quit IRC
 16 2016-03-25T01:41:14  *** kangx has quit IRC
 17 2016-03-25T01:47:04  *** Chris_Stewart_5 has quit IRC
 18 2016-03-25T01:51:40  *** Tasoshi has quit IRC
 19 2016-03-25T01:52:09  *** Tasoshi has joined #bitcoin-core-dev
 20 2016-03-25T02:06:12  *** wangchun_ has joined #bitcoin-core-dev
 21 2016-03-25T02:06:47  *** ChillazZ has quit IRC
 22 2016-03-25T02:06:48  *** wangchun has quit IRC
 23 2016-03-25T02:06:48  *** ChillazZ has joined #bitcoin-core-dev
 24 2016-03-25T02:07:01  *** Alopex has quit IRC
 25 2016-03-25T02:07:37  *** shesek has quit IRC
 26 2016-03-25T02:08:02  *** shesek has joined #bitcoin-core-dev
 27 2016-03-25T02:08:16  *** Alopex has joined #bitcoin-core-dev
 28 2016-03-25T02:11:01  *** Ylbam has quit IRC
 29 2016-03-25T02:14:38  *** Chris_Stewart_5 has joined #bitcoin-core-dev
 30 2016-03-25T02:20:33  *** AaronvanW has quit IRC
 31 2016-03-25T02:28:30  *** mrkent has joined #bitcoin-core-dev
 32 2016-03-25T02:31:08  *** PRab has joined #bitcoin-core-dev
 33 2016-03-25T02:33:33  *** mrkent has quit IRC
 34 2016-03-25T02:41:42  *** PaulCapestany has quit IRC
 35 2016-03-25T02:43:29  *** belcher has quit IRC
 36 2016-03-25T02:56:36  *** fengling has quit IRC
 37 2016-03-25T02:59:42  *** Chris_Stewart_5 has quit IRC
 38 2016-03-25T03:00:11  *** PaulCapestany has joined #bitcoin-core-dev
 39 2016-03-25T03:06:10  *** fengling has joined #bitcoin-core-dev
 40 2016-03-25T03:11:13  *** anttea has quit IRC
 41 2016-03-25T03:11:19  *** anttea has joined #bitcoin-core-dev
 42 2016-03-25T03:13:43  *** Chris_Stewart_5 has joined #bitcoin-core-dev
 43 2016-03-25T03:23:17  *** Chris_Stewart_5 has quit IRC
 44 2016-03-25T03:40:46  *** achow101 has quit IRC
 45 2016-03-25T03:40:49  *** wallet42 has quit IRC
 46 2016-03-25T03:42:03  *** wallet42 has joined #bitcoin-core-dev
 47 2016-03-25T04:07:30  *** mrkent has joined #bitcoin-core-dev
 48 2016-03-25T04:11:08  *** randy-waterhouse has joined #bitcoin-core-dev
 49 2016-03-25T04:13:20  *** mrkent has quit IRC
 50 2016-03-25T04:14:08  *** mrkent has joined #bitcoin-core-dev
 51 2016-03-25T04:22:07  *** zooko has joined #bitcoin-core-dev
 52 2016-03-25T04:23:24  *** frankenmint has joined #bitcoin-core-dev
 53 2016-03-25T04:28:07  *** frankenmint has quit IRC
 54 2016-03-25T04:31:01  *** Alopex has quit IRC
 55 2016-03-25T04:32:07  *** Alopex has joined #bitcoin-core-dev
 56 2016-03-25T05:05:01  *** Alopex has quit IRC
 57 2016-03-25T05:05:46  <cfields> sipa / jonasschnelli: i pushed a quick hack to libbtcnet that adds an option for chunked reads as opposed to header+message. It's clunky, but should be enough to test with
 58 2016-03-25T05:06:06  *** Alopex has joined #bitcoin-core-dev
 59 2016-03-25T05:08:38  *** d_t has joined #bitcoin-core-dev
 60 2016-03-25T05:11:59  *** zooko has quit IRC
 61 2016-03-25T05:18:34  *** molly has quit IRC
 62 2016-03-25T05:19:16  *** moli has joined #bitcoin-core-dev
 63 2016-03-25T05:25:34  *** d_t has quit IRC
 64 2016-03-25T05:26:02  *** d_t has joined #bitcoin-core-dev
 65 2016-03-25T05:32:01  *** Alopex has quit IRC
 66 2016-03-25T05:33:06  *** Alopex has joined #bitcoin-core-dev
 67 2016-03-25T05:40:49  *** justanotheruser has joined #bitcoin-core-dev
 68 2016-03-25T06:05:13  *** lysobit has quit IRC
 69 2016-03-25T06:05:21  *** lysobit has joined #bitcoin-core-dev
 70 2016-03-25T06:13:30  *** frankenmint has joined #bitcoin-core-dev
 71 2016-03-25T06:18:28  *** frankenmint has quit IRC
 72 2016-03-25T06:23:17  *** d_t has quit IRC
 73 2016-03-25T06:24:16  *** fengling has quit IRC
 74 2016-03-25T06:26:20  *** fengling has joined #bitcoin-core-dev
 75 2016-03-25T06:30:05  *** Don_John has quit IRC
 76 2016-03-25T06:32:01  *** Alopex has quit IRC
 77 2016-03-25T06:33:06  *** Alopex has joined #bitcoin-core-dev
 78 2016-03-25T06:34:59  *** mrkent has quit IRC
 79 2016-03-25T06:35:10  *** MarcoFalke has quit IRC
 80 2016-03-25T06:39:19  <gmaxwell> yippie. mutation testing proves the existing tests are inadequate.
 81 2016-03-25T06:39:24  <gmaxwell> (for ct aes)
 82 2016-03-25T06:50:13  *** Ylbam has joined #bitcoin-core-dev
 83 2016-03-25T06:56:56  *** fengling has quit IRC
 84 2016-03-25T07:08:01  *** Alopex has quit IRC
 85 2016-03-25T07:09:07  *** Alopex has joined #bitcoin-core-dev
 86 2016-03-25T07:23:09  *** frankenmint has joined #bitcoin-core-dev
 87 2016-03-25T07:27:29  *** frankenmint has quit IRC
 88 2016-03-25T07:38:28  <jonasschnelli> gmaxwell: what do you mean with inadequate? IIRC, the tests included a subset of the NIST test vectors.
 89 2016-03-25T07:39:02  <jonasschnelli> Or do you aim in particular for something to test the CT?
 90 2016-03-25T07:42:04  <gmaxwell> I mean I can add plausable bugs to the implementation which pass the vectors.
 91 2016-03-25T07:42:47  <gmaxwell> I'll create more vectors to resolve this, of course.
 92 2016-03-25T07:46:13  <jonasschnelli> Okay. Yes. That would be good.
 93 2016-03-25T07:46:46  <jonasschnelli> Is the CT behavior somehow testable in a test script that should be portable enought?
 94 2016-03-25T07:49:12  *** fengling has joined #bitcoin-core-dev
 95 2016-03-25T07:53:56  *** fengling has quit IRC
 96 2016-03-25T07:57:12  <gmaxwell> No, and not much reason to 'test' generally.. all the promises that can be given from C on that front are statically decidable.
 97 2016-03-25T08:04:14  *** AaronvanW has joined #bitcoin-core-dev
 98 2016-03-25T08:08:02  *** Alopex has quit IRC
 99 2016-03-25T08:09:07  *** Alopex has joined #bitcoin-core-dev
100 2016-03-25T08:15:18  <jonasschnelli> For ChaCha20-poly1305, would this require two keys? One for the chacha cipher and one for the poly1305 AED?
101 2016-03-25T08:15:34  <jonasschnelli> *AEAD
102 2016-03-25T08:34:52  *** fengling has joined #bitcoin-core-dev
103 2016-03-25T08:44:01  *** Alopex has quit IRC
104 2016-03-25T08:45:06  *** Alopex has joined #bitcoin-core-dev
105 2016-03-25T09:12:48  *** Guyver2 has joined #bitcoin-core-dev
106 2016-03-25T09:39:52  *** slackircbridge has quit IRC
107 2016-03-25T09:40:22  *** slackircbridge has joined #bitcoin-core-dev
108 2016-03-25T09:48:39  *** ChillazZ has quit IRC
109 2016-03-25T09:48:40  *** anttea has quit IRC
110 2016-03-25T09:48:40  *** anttea has joined #bitcoin-core-dev
111 2016-03-25T09:51:53  *** ChillazZ has joined #bitcoin-core-dev
112 2016-03-25T09:51:53  *** anttea has quit IRC
113 2016-03-25T09:53:32  *** ChillazZ has joined #bitcoin-core-dev
114 2016-03-25T09:59:01  *** Alopex has quit IRC
115 2016-03-25T10:00:06  *** Alopex has joined #bitcoin-core-dev
116 2016-03-25T10:04:33  *** demaged has joined #bitcoin-core-dev
117 2016-03-25T10:04:58  *** ChillazZ has quit IRC
118 2016-03-25T10:05:35  <demaged> hi, have you guys seen this? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812275
119 2016-03-25T10:06:27  <demaged> besideds, what's the reason bitcoin isn't migrating to testing, stuck in ustable for years now :/
120 2016-03-25T10:09:29  *** anttea has joined #bitcoin-core-dev
121 2016-03-25T10:12:28  *** anttea has quit IRC
122 2016-03-25T10:17:54  <wumpus> I'm quite happy that bitcoin isn't packaged by distributions - we had some bad experiences in the past with ubuntu's bitcoin package being stuck at 0.3.x, for example.
123 2016-03-25T10:18:34  <wumpus> distributions have their own pecularities in versioning, releases, etc. I think it'd be better to release our own packages for various distros, like we do with the ppa.
124 2016-03-25T10:22:25  <GitHub14> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/b88e0b0c610a...0b98dd793967
125 2016-03-25T10:22:26  <GitHub14> bitcoin/master 4856f1d Jonas Schnelli: [Qt] Debug window: replace "Build date" with "Datadir"...
126 2016-03-25T10:22:26  <GitHub14> bitcoin/master fc737d1 Jonas Schnelli: [Qt] remove unused formatBuildDate method
127 2016-03-25T10:22:27  <GitHub14> bitcoin/master 0b98dd7 Wladimir J. van der Laan: Merge #7732: [Qt] Debug window: replace "Build date" with "Datadir"...
128 2016-03-25T10:22:35  <GitHub39> [bitcoin] laanwj closed pull request #7732: [Qt] Debug window: replace "Build date" with "Datadir" (master...2016/03/qt_datadir) https://github.com/bitcoin/bitcoin/pull/7732
129 2016-03-25T10:23:25  *** fengling has quit IRC
130 2016-03-25T10:23:35  *** Guyver2 has quit IRC
131 2016-03-25T10:29:16  *** shesek has quit IRC
132 2016-03-25T10:30:21  *** anttea has joined #bitcoin-core-dev
133 2016-03-25T10:30:21  *** ChillazZ has joined #bitcoin-core-dev
134 2016-03-25T10:35:22  *** laurentmt has joined #bitcoin-core-dev
135 2016-03-25T10:35:30  *** laurentmt has quit IRC
136 2016-03-25T10:35:47  *** ChillazZ has quit IRC
137 2016-03-25T10:38:09  <demaged> wumpus, maybe though I think for the convenience of users, free auditing done by the maintaners, extra exposure and bug reporting, etc. is worth the cooperation
138 2016-03-25T10:38:28  <wumpus> well, feel free to do so
139 2016-03-25T10:38:38  <wumpus> I can say a lot of people have tried and failed :)
140 2016-03-25T10:39:31  <wumpus> and for example it doesn't help bug reporting *at all* if some distribution, in its stable release, keeps shipping bitcoin 10.2 forever. We'd get tons of reports against old versions, for bugs that have probably been solved ages ago.
141 2016-03-25T10:40:00  *** ChillazZ has joined #bitcoin-core-dev
142 2016-03-25T10:40:01  *** anttea has quit IRC
143 2016-03-25T10:40:41  <wumpus> also philosophically, upgrading bitcoin core should be a conscioius decision. You may or may not agree with any consensus changes.
144 2016-03-25T10:41:02  *** ChillazZ has quit IRC
145 2016-03-25T10:41:05  <wumpus> that's why there are no auto-upgraders nor even new version notification in the client
146 2016-03-25T10:47:45  <demaged> wumpus, regarding your comment on bug reporting I disagree, imo it helps with the diversification of the ecosystem as it would be a disaster if all the nodes were on v0.12 for example
147 2016-03-25T10:49:13  <demaged> just wondering, debian has what 50k+ packages  in its main repo, surely there's a way to cooperate otherewise the number wouldn't be so high
148 2016-03-25T10:51:21  *** anttea has joined #bitcoin-core-dev
149 2016-03-25T10:52:26  <demaged> i agree with you on the point of forced upgrades but I don't see distro updates as such
150 2016-03-25T10:53:35  <demaged> anyway, I only wanted to point out that bug report in case it's interesting for devs as I don't have github account to report
151 2016-03-25T10:56:52  *** ChillazZ has joined #bitcoin-core-dev
152 2016-03-25T10:58:25  *** ChillazZ has quit IRC
153 2016-03-25T11:01:06  <demaged> from personal experience, I'm a sys-admin and have been running non-wallet full nodes on multiple servers I maintaining for many years now to help the network and having bitcoind package in Debian was always my biggest wish... for convenience... one day.
154 2016-03-25T11:01:08  <demaged> thanks
155 2016-03-25T11:01:38  *** demaged has quit IRC
156 2016-03-25T11:03:44  <wumpus> no, it wouldn't be a disaster if all nodes were 0.12
157 2016-03-25T11:04:17  <wumpus> a group like debian indescriminately deciding what version a large part of the network runs is much more disastrous
158 2016-03-25T11:04:51  *** anttea has quit IRC
159 2016-03-25T11:11:14  *** anttea has joined #bitcoin-core-dev
160 2016-03-25T11:14:42  *** ChillazZ has joined #bitcoin-core-dev
161 2016-03-25T11:23:58  *** murch has joined #bitcoin-core-dev
162 2016-03-25T11:24:00  *** demaged has joined #bitcoin-core-dev
163 2016-03-25T11:27:08  *** laurentmt has joined #bitcoin-core-dev
164 2016-03-25T11:27:10  *** laurentmt has quit IRC
165 2016-03-25T11:27:44  *** randy-waterhouse has quit IRC
166 2016-03-25T11:27:57  <demaged> wumpus, I'm sorry but you're wrong. With no safe fallback to nodes running v0.10 or v0.11 one critical security bug could bring the whole network down or worse.
167 2016-03-25T11:28:13  <demaged> Also, Debian is far from indiscriminate in their choices nor it would make up large part of the network. This would add to diversity and decentralisation of, for example, update channels, etc.
168 2016-03-25T11:28:19  <wumpus> what makes you think v0.10 or v0.11 is any safer?
169 2016-03-25T11:28:33  <wumpus> if anything, many security bugs get solved every release
170 2016-03-25T11:28:43  <demaged> wumpus, it may not contain bu that was introduced in v0.12
171 2016-03-25T11:29:40  <demaged> s/bu/bug
172 2016-03-25T11:29:55  <demaged> What if your infrastructure is compromised? What you're proposing is very dangerous.
173 2016-03-25T11:30:07  <wumpus> that's true, that is a reason why one would run multiple versions of bitcoin core, some people indeed do that
174 2016-03-25T11:30:14  <wumpus> consciouisly, not because a distro forces them to
175 2016-03-25T11:30:37  <wumpus> I'm not proposing anything but keeping the status quo, you are the one proposing something
176 2016-03-25T11:30:56  <demaged> in practical terms distro dosn't force me to do anything, it makes things more convenient
177 2016-03-25T11:31:18  <demaged> Decentralisation in terms of whether software can run on RasPi is  important but so is decentralisation of update channels, development, ideas. Just m y 2c.
178 2016-03-25T11:32:24  <wumpus> the point is that distros are used by a lot of newbies, and for newbies the best choice is generally to use the latest and greatest version. Advanced users may indeed chose to run older versions for verious reasons, that's fine.
179 2016-03-25T11:33:49  <wumpus> in any case, I'm done discussing this
180 2016-03-25T11:34:03  <demaged> true, that's why different distros target different audience for example ubuntu and debian; diversification of bitoind for free :)
181 2016-03-25T11:34:19  <demaged> I didn't mean to sound pushy
182 2016-03-25T11:46:08  *** demaged has quit IRC
183 2016-03-25T11:57:54  *** davec has quit IRC
184 2016-03-25T12:03:12  *** davec has joined #bitcoin-core-dev
185 2016-03-25T12:15:53  *** frankenmint has joined #bitcoin-core-dev
186 2016-03-25T12:28:23  *** Chris_Stewart_5 has joined #bitcoin-core-dev
187 2016-03-25T12:55:48  <wumpus> hm re: https://github.com/bitcoin/bitcoin/issues/7463, it seems that if bitcoind never spins up RPC (for example, if init failures) the successive bitcoin-cli -rpcwait getblockcount will wait forever
188 2016-03-25T12:56:48  <wumpus> that's something of a race condition, I think I'm going to implement the getblockcount loop myself, each time checking if bitcoind is still alive, instead of relying on -rpcwait
189 2016-03-25T12:57:00  *** achow101 has joined #bitcoin-core-dev
190 2016-03-25T13:25:08  <GitHub25> [bitcoin] laanwj opened pull request #7744: test_framework: detect failure of bitcoind startup (master...2016_03_detect_startup_failure) https://github.com/bitcoin/bitcoin/pull/7744
191 2016-03-25T13:33:59  <wumpus> voila
192 2016-03-25T13:44:00  *** supasonic has joined #bitcoin-core-dev
193 2016-03-25T13:50:35  *** d_t has joined #bitcoin-core-dev
194 2016-03-25T13:55:10  *** d_t has quit IRC
195 2016-03-25T14:11:39  *** laurentmt has joined #bitcoin-core-dev
196 2016-03-25T14:11:43  *** laurentmt has quit IRC
197 2016-03-25T14:14:03  <wumpus> heh "In fact one of the reasons given for OpenSSH's adoption of the chacha20-poly1305 crypto mechanisms (alongside Curve25519 and others) was that it finally allowed them to remove the last vestiges of OpenSSL from their code."
198 2016-03-25T14:22:11  *** achow101 has quit IRC
199 2016-03-25T14:31:01  *** Alopex has quit IRC
200 2016-03-25T14:32:06  *** Alopex has joined #bitcoin-core-dev
201 2016-03-25T14:34:04  *** treehug88 has joined #bitcoin-core-dev
202 2016-03-25T14:41:01  *** belcher has joined #bitcoin-core-dev
203 2016-03-25T14:50:00  *** Chris_Stewart_5 has quit IRC
204 2016-03-25T14:56:24  *** lejitz has joined #bitcoin-core-dev
205 2016-03-25T15:00:04  *** lejitz has quit IRC
206 2016-03-25T15:02:28  *** lejitz has joined #bitcoin-core-dev
207 2016-03-25T15:06:33  *** laurentmt has joined #bitcoin-core-dev
208 2016-03-25T15:08:59  *** lejitz has quit IRC
209 2016-03-25T15:12:21  *** tucenaber has quit IRC
210 2016-03-25T15:18:46  *** murch has quit IRC
211 2016-03-25T15:59:43  <instagibbs> does an empty vector being serialized using READWRITE end up being read correctly? I'm running tests and have read the code to the best of my ability, but want to check.
212 2016-03-25T16:04:27  <sipa> it should
213 2016-03-25T16:04:47  *** hybridsole has quit IRC
214 2016-03-25T16:06:22  *** belcher has quit IRC
215 2016-03-25T16:09:27  *** hybridsole has joined #bitcoin-core-dev
216 2016-03-25T16:10:03  <instagibbs> ok thanks
217 2016-03-25T16:10:41  <instagibbs> It appears you attach a size message of 0, then nothing else, which should be enough.
218 2016-03-25T16:12:52  *** Chris_Stewart_5 has joined #bitcoin-core-dev
219 2016-03-25T16:14:50  *** da2ce7 has quit IRC
220 2016-03-25T16:14:51  *** da2ce7_mobile has quit IRC
221 2016-03-25T16:21:23  *** belcher has joined #bitcoin-core-dev
222 2016-03-25T16:42:16  *** PaulCapestany has quit IRC
223 2016-03-25T16:43:54  *** PaulCapestany has joined #bitcoin-core-dev
224 2016-03-25T16:45:05  *** da2ce7_mobile has joined #bitcoin-core-dev
225 2016-03-25T16:47:50  *** bsm117532 has joined #bitcoin-core-dev
226 2016-03-25T16:48:05  *** da2ce7 has joined #bitcoin-core-dev
227 2016-03-25T16:48:24  *** moli has quit IRC
228 2016-03-25T17:00:18  *** hybridsole has quit IRC
229 2016-03-25T17:02:57  *** hybridsole has joined #bitcoin-core-dev
230 2016-03-25T17:30:32  *** achow101 has joined #bitcoin-core-dev
231 2016-03-25T18:00:33  *** tucenaber has joined #bitcoin-core-dev
232 2016-03-25T18:30:25  *** d_t has joined #bitcoin-core-dev
233 2016-03-25T18:31:02  *** d_t has joined #bitcoin-core-dev
234 2016-03-25T18:31:49  *** d_t has joined #bitcoin-core-dev
235 2016-03-25T18:32:31  *** d_t has joined #bitcoin-core-dev
236 2016-03-25T18:33:13  *** d_t has joined #bitcoin-core-dev
237 2016-03-25T18:58:53  *** p15x has joined #bitcoin-core-dev
238 2016-03-25T19:08:07  <gmaxwell> jonasschnelli: I see your updated encryption draft. It doesn't appear to specify a KDF. The output of ECDH should not be used directly. (also, you're going to need a 256 bit session ID for later auth, and two 512 bit keys for the authenticated encryption); so that will be needed.   I'm not sure if that ciphersuite negoiation procedure is sufficient to achieve the goal that if X is faster for bot
239 2016-03-25T19:08:13  <gmaxwell> h peers, they'll pick it... but regardless, both of their ciphersuite sets also need to be included in the KDF.  Otherwise a MITM could force ciphersuite selection (say to a weaker cipher) without disrupting changing the session ID.  Personally I'd just suggest dropping the negoation; having it and avoiding introducing downgrading attacks is hard... also supporting many ciphers pushes people to
240 2016-03-25T19:08:19  <gmaxwell> using kitchen soup crypto libraries, which is bad for attack surface.
241 2016-03-25T19:10:48  <gmaxwell> the input to the KDF should probably be the ECDH value, one of the public keys (doesn't matter which of the two-- assuming the pubkeys are all valid), and the offered paramters of each side.
242 2016-03-25T19:40:45  *** laurentmt has quit IRC
243 2016-03-25T19:51:01  *** Ylbam has quit IRC
244 2016-03-25T19:52:58  *** moli has joined #bitcoin-core-dev
245 2016-03-25T19:53:32  *** Ylbam has joined #bitcoin-core-dev
246 2016-03-25T19:56:09  *** AaronvanW has quit IRC
247 2016-03-25T20:18:51  *** Don_John has joined #bitcoin-core-dev
248 2016-03-25T20:42:12  *** murch has joined #bitcoin-core-dev
249 2016-03-25T20:56:39  *** johnwhitton has joined #bitcoin-core-dev
250 2016-03-25T21:14:29  <jonasschnelli> gmaxwell: I'm kind of afk but will check you feedback and update the BIP. Thanks!
251 2016-03-25T21:24:47  *** jgarzik has quit IRC
252 2016-03-25T21:26:26  <sipa> jonasschnelli: typically what you'll do is take the ECDH result (an EC point), and use that to seed some PRNG, from which you then draw the session key, encryption keys, ...
253 2016-03-25T21:27:03  *** davec has quit IRC
254 2016-03-25T21:27:13  <sipa> jonasschnelli: note that libsecp256k1 at this point does not return the ECDH result point directly, but it returns a SHA256 of it (which guarantees all its entropy is used)
255 2016-03-25T21:28:55  *** Guyver2 has joined #bitcoin-core-dev
256 2016-03-25T21:47:28  *** davec has joined #bitcoin-core-dev
257 2016-03-25T21:53:53  *** murch has quit IRC
258 2016-03-25T22:14:53  *** treehug88 has quit IRC
259 2016-03-25T22:16:05  *** dgenr8 has quit IRC
260 2016-03-25T22:22:13  *** dgenr8 has joined #bitcoin-core-dev
261 2016-03-25T22:32:53  *** randy-waterhouse has joined #bitcoin-core-dev
262 2016-03-25T22:33:23  *** zooko has joined #bitcoin-core-dev
263 2016-03-25T22:36:14  *** frankenmint has quit IRC
264 2016-03-25T22:37:21  *** supasonic has quit IRC
265 2016-03-25T22:37:47  *** supasonic has joined #bitcoin-core-dev
266 2016-03-25T22:38:31  *** frankenmint has joined #bitcoin-core-dev
267 2016-03-25T22:46:08  *** JeromeLegoupil has joined #bitcoin-core-dev
268 2016-03-25T23:07:38  *** achow101 has quit IRC
269 2016-03-25T23:12:24  *** Guyver2 has quit IRC
270 2016-03-25T23:22:59  *** JeromeLegoupil has quit IRC
271 2016-03-25T23:27:44  *** JeromeLegoupil has joined #bitcoin-core-dev
272 2016-03-25T23:51:01  *** Ylbam has quit IRC
273 2016-03-25T23:56:13  *** jyap has quit IRC