--- Log opened Fri Apr 23 00:00:34 2021 00:08 -!- mol_ [~mol@unaffiliated/molly] has joined ##taproot-bip-review 00:11 -!- mol [~mol@unaffiliated/molly] has quit [Ping timeout: 260 seconds] 00:40 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 01:14 -!- RusAlex_ [~Chel@BSN-77-82-41.static.siol.net] has joined ##taproot-bip-review 01:15 -!- RusAlex [~Chel@unaffiliated/rusalex] has quit [Ping timeout: 240 seconds] 02:05 -!- queip [~queip@unaffiliated/rezurus] has quit [Ping timeout: 240 seconds] 02:45 -!- shesek [~shesek@164.90.217.137] has joined ##taproot-bip-review 02:45 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 02:45 -!- shesek [~shesek@unaffiliated/shesek] has joined ##taproot-bip-review 03:05 -!- Jackielove4u [uid43977@gateway/web/irccloud.com/x-wozivfdmchvrtxja] has quit [Ping timeout: 258 seconds] 03:05 -!- Jackielove4u [uid43977@gateway/web/irccloud.com/x-zdrlyohajirblhze] has joined ##taproot-bip-review 03:21 -!- queip [~queip@unaffiliated/rezurus] has joined ##taproot-bip-review 03:55 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 252 seconds] 04:06 -!- belcher [~belcher@unaffiliated/belcher] has joined ##taproot-bip-review 04:46 -!- mol [~mol@unaffiliated/molly] has joined ##taproot-bip-review 04:49 -!- mol_ [~mol@unaffiliated/molly] has quit [Ping timeout: 252 seconds] 07:31 -!- waxwing [~waxwing@unaffiliated/waxwing] has joined ##taproot-bip-review 07:32 < waxwing> From BIP340: "The function hashtag(x) where tag is a UTF-8 encoded tag name and x is a byte array returns the 32-byte hash SHA256(SHA256(tag) || SHA256(tag) || x)." 07:32 < waxwing> is it intention to use 'tag' twice there? in uses below, it seems like there are maybe two distinct tags allowed? (e.g. "BIP340" and "challenge") 07:34 < waxwing> oh, apparently it's literally like that, according to: https://github.com/bitcoin-core/secp256k1/blob/1e5d50fa93d71d751b95eec6a80f6732879a0071/src/modules/schnorrsig/main_impl.h#L96-L98 07:35 < waxwing> is there an easy to explain reason why the two? 07:40 < nickler> waxwing: Because this is a 64-byte long context-specific constant and the SHA256 block size is also 64 bytes, optimized implementations are possible (identical to SHA256 itself, but with a modified initial state). 07:41 < nickler> (it's mentioned in the bip, ctrl-f "tagged hashes") 07:50 < waxwing> i see thanks nickler 14:02 -!- mips_ [~mips@gateway/tor-sasl/mips] has joined ##taproot-bip-review 14:04 -!- mips [~mips@gateway/tor-sasl/mips] has quit [Ping timeout: 240 seconds] 17:01 -!- belcher_ [~belcher@unaffiliated/belcher] has joined ##taproot-bip-review 17:05 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 260 seconds] 17:06 -!- belcher_ is now known as belcher 20:48 -!- mips_ is now known as mips 23:03 -!- mips [~mips@gateway/tor-sasl/mips] has quit [Quit: Leaving] 23:48 -!- RusAlex_ [~Chel@BSN-77-82-41.static.siol.net] has quit [Quit: WeeChat 3.0] 23:48 -!- RusAlex [~Chel@unaffiliated/rusalex] has joined ##taproot-bip-review --- Log closed Sat Apr 24 00:00:35 2021