Module util

Source
Expand description

Utilities for cryptographic purposes

For now, this module is just contains a couple of workarounds for the limitations of other libraries.

Modules§

ct
Define helpers for working with types in constant time.
rng
Prng utilities.

Structs§

Asn1 🔒
Helper to wrap a simple_asn1::Asn1Block and add more methods to it.

Functions§

x509_extract_rsa_subject_kludge
Given an X.509 certificate in DER, return its SubjectPublicKey if that key is an RSA key.