This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===== Directory structure ===== | |
# build/ | |
# foo/ | |
# another.c.o | |
# main | |
# main.c.o | |
# other.c.o | |
# | |
# lib/ | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bearssl.h> | |
#include <derdec.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <string.h> | |
/* (RSA-2048) | |
-----BEGIN PUBLIC KEY----- | |
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBez9MX9NzGasT/wlMKgLPL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef DERDEC_H | |
#define DERDEC_H | |
// clang-format off | |
/**************************************************************************** | |
* | |
* MIT License | |
* | |
* Copyright (c) 2022 by pr3 (https://discord.com/users/552136433742381066 👀) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
/** | |
* A (better-coded) example of a 0-to-9 counter running on | |
* an Arduino & displaying the digits on a 7-segment LED display. | |
* | |
* Based on: https://create.arduino.cc/projecthub/akhtar/simple-0-9-counter-dcba41 | |
* | |
* Try it in a simulator: https://wokwi.com/projects/335025004843369044 | |
*/ |
NewerOlder