--- Log opened Wed Feb 17 00:00:33 2021 05:06 -!- jonatack [~jon@37.171.131.157] has joined #secp256k1 12:23 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 246 seconds] 12:27 -!- queip [~queip@unaffiliated/rezurus] has joined #secp256k1 12:50 -!- jonatack_ [~jon@37.173.29.80] has joined #secp256k1 12:53 -!- jonatack [~jon@37.171.131.157] has quit [Ping timeout: 260 seconds] 12:58 -!- jonatack_ [~jon@37.173.29.80] has quit [Read error: Connection reset by peer] 14:04 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Read error: Connection reset by peer] 14:07 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #secp256k1 17:23 < BlueMatt> is there some place where the flags required for a context passed to a given function is documented? 17:23 < BlueMatt> I cant seem to find it in the header file(s) 17:25 < sipa> for some it is listed at least, secp256k1_ecdsa_verify e.g. says "context object, initialized for verification." 17:25 < BlueMatt> hmm, i didnt read them all but definitely seems to be a minority 17:25 < BlueMatt> is there some trivially-describable rule which I could apply? 17:26 < sipa> generally, the ones that operate on secret data and do EC arithmetic will require sign-initialization 17:26 < sipa> and others that do EC arithmetic require verify-initialization 17:26 < BlueMatt> I suppose "a secret key is passed as an argument" isnt sufficiently descriptive 17:27 < sipa> the secret key tweak functions for example operate on secret data, but don't do EC arithmetic 17:28 < BlueMatt> right 17:28 < sipa> so they don't need anything 17:28 < sipa> i think the ones in secp256k1.h itself at least are all correct 17:28 < BlueMatt> ok, well I'll take a guess and see if andytoshi yells at me in review. 17:28 < sipa> if it's not listed for a function, it doesn't need anything 17:28 < BlueMatt> ohhhhh, thats helpful 17:29 < BlueMatt> ok, well then a feature request this is! Maybe mention "with any flags" instead of not mentioning it at all on functions that dont care :) 17:30 < sipa> sgtm 17:30 < sipa> i went through all of them, i don't see any obvious misses 17:30 < BlueMatt> thanks 17:49 < andytoshi> good catch 17:49 < andytoshi> i was about to complain "100% of the functions should be labeled" but i realize "no information" is not actually a clear label :P 17:50 < sipa> turns out, in fact 100% of the functions are correctly labeled (or close to 100%, i may have overlooked one or two) 17:50 < sipa> only in a confusing manner 17:53 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #secp256k1 17:56 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 265 seconds] 18:59 -!- kiltzman [~k1ltzman@5.206.224.243] has quit [Ping timeout: 240 seconds] 19:00 -!- kiltzman [~k1ltzman@195.189.99.96] has joined #secp256k1 19:01 -!- kiltzman [~k1ltzman@195.189.99.96] has quit [Excess Flood] 19:01 -!- k1ltzman [~k1ltzman@195.189.99.96] has joined #secp256k1 20:01 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Quit: ZNC - http://znc.sourceforge.net] 20:02 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #secp256k1 21:53 -!- jessepos_ [~jp@2601:645:200:162f:70af:6c8d:477c:f040] has joined #secp256k1 21:56 -!- jesseposner [~jp@2601:645:200:162f:7169:2a92:e85f:5daa] has quit [Ping timeout: 260 seconds] 22:47 -!- jessepos_ [~jp@2601:645:200:162f:70af:6c8d:477c:f040] has quit [Quit: Textual IRC Client: www.textualapp.com] 22:48 -!- jesseposner [~jp@2601:645:200:162f:70af:6c8d:477c:f040] has joined #secp256k1 23:33 -!- jonatack_ [~jon@37.167.103.144] has joined #secp256k1 --- Log closed Thu Feb 18 00:00:33 2021