Module atsamd_hal::pukcc
source · [−]Expand description
Public Key Cryptography Controller (PUKCC)
This module provides both low and high level abstractions for dealing with a PUKCC peripheral.
PUKCC consists of a set of functions (called services) hidden within a reserved region of memory. These functions usually make use of a separate piece of RAM to operate called CryptoRAM.
c_abi
module contains raw structs and callable C-like function
definitions. Pukcc
wraps this low-level access API and exposes it in a
safe manner.
WARNING!
This module has not been evaluated for correctness nor suitability for any use-case. Subtle implementation details may have catastrophic implications for the security of your cryptosystem, and users are advised to engage a cryptographer before making use of this module.
Modules
Module that defines low-level constructs required for interaction with
PUKCC
Module that defines curves parametrizations
Structs
Struct representing a PUKCC peripheral.
An error type representing failure modes a
Pukcc::self_test
serviceEnums
An error type representing failure modes for a
Pukcc::zp_calculate_cns
serviceAn error type representing failure modes for a
Pukcc::zp_ecdsa_sign_with_entropy
and
Pukcc::zp_ecdsa_sign_with_raw_k
serviceAn error type representing failure modes for a
Pukcc::zp_ecdsa_verify_signature
serviceAn error type representing failure modes for a
Pukcc::modular_exponentiation
serviceAn enum describing available modes of operation of
Pukcc::modular_exponentiation
algoritmAn enum describing allowed, predefined window sizes for a calculation
workspace in CryptoRAM for
Pukcc::modular_exponentiation
algorithmAn error type specifying an expected length of a slice in question
An enum type that is a human readable representation of a low-level
c_abi::PukclReturnCode
type. Useful when used together with a Debug
traits and formatters.PukclReturnCode
nested enum subtypePukclReturnCode
nested enum subtypePukclReturnCode
nested enum subtype