E(i+1) = H(E(i) || ss(i)) * E(i) */
| 20 | |
| 21 | /* E(i+1) = H(E(i) || ss(i)) * E(i) */ |
| 22 | bool blinding_next_path_key(const struct pubkey *pk, |
| 23 | const struct sha256 *h, |
| 24 | struct pubkey *next) |
| 25 | { |
| 26 | |
| 27 | *next = *pk; |
| 28 | return secp256k1_ec_pubkey_tweak_mul(secp256k1_ctx, &next->pubkey, |
| 29 | h->u.u8) == 1; |
| 30 | } |
| 31 | |
| 32 | /* e(i+1) = H(E(i) || ss(i)) * e(i) */ |
| 33 | bool blinding_next_path_privkey(const struct privkey *e, |
no outgoing calls
no test coverage detected