|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
#include "xsig.h"#include "fingerprint.h"#include "mod_gpg/gpg.h"#include "mod_gpg/GpgStorage.h"#include "mod_gpg/openpgp/constants.h"#include "cdc_hal/ISecureElement.h"#include "cdc_log.h"#include <mbedtls/base64.h>#include <mbedtls/sha256.h>#include <algorithm>#include <cstdio>#include <cstring>Go to the source code of this file.
Namespaces | |
| namespace | cdc |
| namespace | cdc::mod_gpg |
Functions | |
| bool | cdc::mod_gpg::gpgCrossSign (const gpg_recv_key_t &target, uint32_t sig_creation_time, uint8_t out_sig[64]) |
| Cross-sign a received key with the badge's own SIG ECC slot. | |
| bool | cdc::mod_gpg::gpgBuildSignedKeyArmored (const gpg_recv_key_t &key, char *out, size_t out_size, size_t *out_len) |
| Build an ASCII-armored OpenPGP block carrying the cross-signed key. | |