CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ISecureElement.h File Reference
#include "cdc_core/IService.h"
#include <cstdint>
#include <cstddef>

Go to the source code of this file.

Classes

class  cdc::hal::ISecureElement

Namespaces

namespace  cdc
namespace  cdc::hal

Enumerations

enum class  cdc::hal::EccCurve : uint8_t { cdc::hal::P256 , cdc::hal::ED25519 }
enum class  cdc::hal::SeResult : uint8_t {
  cdc::hal::OK , cdc::hal::ERROR , cdc::hal::SESSION_REQUIRED , cdc::hal::SLOT_EMPTY ,
  cdc::hal::SLOT_OCCUPIED , cdc::hal::INVALID_PARAM , cdc::hal::ALARM_MODE , cdc::hal::NOT_SUPPORTED
}

Functions

uint8_t cdc::hal::curveByte (EccCurve c)
 Maps an EccCurve to the module-level curve byte.
EccCurve cdc::hal::curveFromByte (uint8_t b)
 Maps a curve byte to its EccCurve enum.
ISecureElementcdc::hal::getSecureElementInstance ()
 Returns singleton secure-element stub instance.