Module secp256k1::ecdsa::serialized_signature

source ·
Expand description

Implements SerializedSignature and related types.

DER-serialized signatures have the issue that they can have different lengths. We want to avoid using Vec since that would require allocations making the code slower and unable to run on platforms without allocator. We implement a special type to encapsulate serialized signatures and since it’s a bit more complicated it has its own module.

Structs§