--- Log opened Thu Jan 13 00:00:29 2022 02:38 -!- meshcollider [meshcollid@meshcollider.jujube.ircnow.org] has quit [Changing host] 02:38 -!- meshcollider [meshcollid@user/meshcollider] has joined #secp256k1 03:09 -!- orionwl is now known as laanwj 10:49 < mercurian> so, I have a set of blinding factors from pedersen commitments, and I want to make a new set of pedersen commitments where the sum of all the blinding factors sums to 0; the plan I've been working on is to sum all the blinding factors I start with; then, for the new set of pedersen commitments, I just randomly roll new blinding factors till I get to the last one. 10:49 < mercurian> so, I can control the last blinding factor to make sure the input blinding factors and the output blinding factors sum to 0 10:50 < mercurian> secp256k1_pedersen_blind_sum() (setting npositive to the number of input blinding factors) will give me the sum of all factors made so far 10:50 < mercurian> the final blinding factor, then, should be the negation of that sum 10:51 < mercurian> is there either a built-in function that will do this process for me (secp256k1_pedersen_blind_generator_sum() seems close; maybe I'm missing how to tie this together), or is there a built-in way to negate a blinding factor? 10:54 < mercurian> I suppose a blinding factor is equivalent to a scalar, so secp256k1_scalar_negate() would be reasonable 10:55 < sipa> a blinding factor is a scalar 10:55 < sipa> not "equivalent to" 10:56 < mercurian> mm, fair 10:58 < mercurian> mm, scalar_negate() doesn't seem to be public 10:59 < sipa> it's not 10:59 < sipa> though, it's also kind of trivial :) 11:01 < mercurian> hmm, is it unreasonable to just use secp256k1_ec_seckey_negate()? 11:01 < mercurian> I mean, it should be pretty much the same thing (just with error-handling), right? 11:01 < sipa> oh, sure 11:01 < sipa> i forget we had that 11:01 < mercurian> hehe 13:06 < mercurian> good news! I don't need to negate it anyway ☺ 13:08 -!- lukedashjr [~luke-jr@user/luke-jr] has joined #secp256k1 13:10 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 256 seconds] 13:11 -!- lukedashjr is now known as luke-jr 20:41 -!- uasf_ [~uasf@2604:a880:2:d0::1bda:1001] has joined #secp256k1 20:41 -!- uasf [~uasf@2604:a880:2:d0::1bda:1001] has quit [Read error: Connection reset by peer] 21:06 -!- meshcollider [meshcollid@user/meshcollider] has quit [Ping timeout: 240 seconds] 21:09 -!- meshcollider [meshcollid@meshcollider.jujube.ircnow.org] has joined #secp256k1 21:12 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Remote host closed the connection] 21:13 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #secp256k1 --- Log closed Fri Jan 14 00:00:29 2022