[]Function themis::keygen::gen_ec_key_pair

pub fn gen_ec_key_pair() -> EcdsaKeyPair

Generates a pair of Elliptic Curve (ECDSA) keys.

Elliptic Curve keys are supported by both Secure Message and Secure Session objects.

Panics

This function may panic in case of unrecoverable errors inside the library (e.g., out-of-memory or assertion violations).