--- Log opened Mon Aug 05 00:00:30 2019 10:36 < real_or_random> https://github.com/bitcoin-core/secp256k1/blob/master/configure.ac#L462 I assume this is one error message for two entirely unrelated issues? 10:37 < real_or_random> (no JNI headers vs ECDH module disabled) 10:37 < sipa> i guess the JNI code requires ECDH? 10:38 < real_or_random> it does -- but the error message "jni [...] headers/dependencies were not found. Enable ECDH and try again" was very confusing to me 10:39 < real_or_random> why should enabling ECDH fix an issue with missing headers 10:40 < sipa> heh, true 10:43 < andytoshi> i wish the jni bindings were not part of the main library 10:43 < andytoshi> how many people among the libsecp developers are java developers? 10:44 < sipa> they only use the public C api internally, right? 10:44 < sipa> may make sense to split it off into a separate project 10:56 < real_or_random> this was my thought too 10:56 < real_or_random> cc nickler 10:57 < real_or_random> he was also interested in the idea. I think the jni binding get no love currently, and I'm not sure that this will change 10:57 < sipa> it seems to have been very much a one-off thing 10:58 < sipa> ping GAit :) 10:58 < sipa> idle : 42 days 7 hours 6 mins 29 secs 10:58 < sipa> hmm. 12:36 < elichai2> out of curiosity, how did the JNI binbdings end up in the main repo in the first place? 13:58 -!- arubi [~ese168@93-173-92-91.bb.netvision.net.il] has joined #secp256k1 13:58 -!- arubi [~ese168@93-173-92-91.bb.netvision.net.il] has quit [Remote host closed the connection] 14:00 -!- arubi [~ese168@unaffiliated/ese168] has joined #secp256k1 14:05 -!- arubi [~ese168@unaffiliated/ese168] has quit [Quit: Leaving] 14:06 -!- arubi_ [~ese168@gateway/tor-sasl/ese168] has joined #secp256k1 14:06 -!- arubi_ is now known as arubi 15:34 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 15:35 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #secp256k1 15:39 -!- nkohen [~nkohen@2601:282:4101:9356:98e9:d895:822c:6cdc] has joined #secp256k1 15:41 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 15:42 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #secp256k1 15:44 < nkohen> Hey all! I'm trying to implement a function (in a branch off of jonas' schnorrsig branch) that computes `s*G = R + e*P` given `R`, `m`, and `P` for the purposes of constructing a Discreet Log Contract.I'm pretty inexperienced in both C and libsecp256k1, and would love if I got some eyes on this as it doesn't seem to be working: https://github.com/nkohen/secp256k1/commit/5fd6b50c49e3db1698aa2ad9d0f26ed1bf990d13#diff-313ca26f0048bc 16:12 < nickler> hey! I don't see anything obviously wrong with it. Did you check that the hash matches what's computed in the schnorrsig module? 17:01 -!- Cory [Cory@unaffiliated/cory] has joined #secp256k1 17:14 < nkohen> No. That would be a good place to begin debugging :) I'll try and track this down tomorrow 18:12 < andytoshi> are you familiar with sage? 18:12 < andytoshi> and of this notebook http://bitcoin.ninja/secp256k1.ecdsa.sage 19:08 < nkohen> sage:yes, that notebook: I am now :) 19:21 < nkohen> andytoshi: is there a call in sage to get the byte encoding of a point like what I would get from doing `printf("%x", ...)` in C? I'm trying to compare things I get in C and in the sage notebook but in sage things are printed in base 10 coordinates 19:23 < sipa> "%064x" % P[0] 19:23 < sipa> gets you the X coordinate of P in hex 19:26 < nkohen> thanks so much :) 21:15 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-rnmnqbltvjwgcwfz] has quit [Quit: Connection closed for inactivity] --- Log closed Tue Aug 06 00:00:31 2019