Returns true when the prefix indicates the associated value is a confidential value. */
| 29 | |
| 30 | /* Returns true when the prefix indicates the associated value is a confidential value. */ |
| 31 | static inline bool is_confidential(confPrefix prefix) { |
| 32 | return EVEN_Y == prefix || ODD_Y == prefix; |
| 33 | } |
| 34 | |
| 35 | /* A confidential (256-bit) hash. |
| 36 | * When 'prefix' is either 'EVEN_Y' or 'ODD_Y' then 'data' contains the x-coordinate of the point on the secp256k1 curve |
no outgoing calls
no test coverage detected