e(i+1) = H(E(i) || ss(i)) * e(i) */
| 31 | |
| 32 | /* e(i+1) = H(E(i) || ss(i)) * e(i) */ |
| 33 | bool blinding_next_path_privkey(const struct privkey *e, |
| 34 | const struct sha256 *h, |
| 35 | struct privkey *next) |
| 36 | { |
| 37 | *next = *e; |
| 38 | return secp256k1_ec_seckey_tweak_mul(secp256k1_ctx, next->secret.data, |
| 39 | h->u.u8) == 1; |
| 40 | } |