Module ucrypto_types

July 22, 2013 · View on GitHub

uCrypto Types. Copyright (c) 2013 Alexander Færøy

Authors: Alexander Færøy (ahf@0x90.dk).

Description

This module contains common types used in the uCrypto code.

Data Types

ec_curve()


ec_curve() = secp112r1 | secp112r2 | secp128r1 | secp128r2 | secp160k1 | secp160r1 | secp160r2 | secp192k1 | secp224k1 | secp224r1 | secp256k1 | secp384r1 | secp521r1

ec_hash_function()


ec_hash_function() = fun((iodata()) -> binary())

ec_key()


ec_key() = {ec_key, ec_key_ref()}

ec_key_ref()

abstract datatype: ec_key_ref()

ec_private_key()


ec_private_key() = binary

ec_public_key()


ec_public_key() = binary

ec_signature()


ec_signature() = binary