You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/mocks/generated/trezorpallas.pyi

80 lines
1.9 KiB

from typing import *
# https://zips.z.cash/protocol/protocol.pdf#orchardkeycomponents
# rust/src/zcash_primitives/pallas/mod.rs
def to_base(x: bytes) -> Fp:
...
# https://zips.z.cash/protocol/protocol.pdf#orchardkeycomponents
# rust/src/zcash_primitives/pallas/mod.rs
def to_scalar(x: bytes) -> Scalar:
...
# https://zips.z.cash/protocol/protocol.pdf#concretegrouphashpallasandvesta
# rust/src/zcash_primitives/pallas/mod.rs
def group_hash(domain: str, message: bytes) -> Point:
...
# rust/src/zcash_primitives/pallas/mod.rs
def scalar_from_i64(x: int) -> Scalar:
"""Converts integer to Scalar."""
# rust/src/zcash_primitives/pallas/mod.rs
class Fp:
"""Pallas base field."""
def __init__(self, repr: bytes) -> None:
...
def to_bytes(self) -> bytes:
...
# rust/src/zcash_primitives/pallas/mod.rs
class Scalar:
"""Pallas scalar field."""
def __init__(self, repr: bytes) -> None:
...
def to_bytes(self) -> bytes:
...
def is_not_zero(self) -> bool:
...
def __mul__(self, other: Point) -> Point:
...
def __add__(self, other: Scalar) -> Scalar:
...
def __neg__(self) -> Point:
...
# rust/src/zcash_primitives/pallas/mod.rs
class Point:
"""Pallas point."""
def __init__(self, repr: bytes) -> None:
...
def to_bytes(self) -> bytes:
...
def extract(self) -> Fp:
...
def is_identity(self) -> bool:
...
def __add__(self, other: Point) -> Point:
...
def __neg__(self) -> Point:
...
# rust/src/zcash_primitives/pallas/mod.rs
class generators:
SPENDING_KEY_BASE: Point
NULLIFIER_K_BASE: Point
VALUE_COMMITMENT_VALUE_BASE: Point
VALUE_COMMITMENT_RANDOMNESS_BASE: Point
NOTE_COMMITMENT_BASE: Point
NOTE_COMMITMENT_Q: Point
IVK_COMMITMENT_BASE: Point
IVK_COMMITMENT_Q: Point