VUSB-Firmware for Attiny85 implementing HMAC one time password authentication
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
hmac-otp/libcrypt/main.h

17 lines
343 B

#include "sha1/sha1.h"
#include "hmac-sha1/hmac-sha1.h"
#include "mem_eval/mem_eval.h"
#include "trunc.h"
#include "usart.h"
#include <util/delay.h>
#include <avr/io.h>
#define _PORT_BTN B
#define _NUM_BTN 3
#define PORT_BTN PORT_PORT_BTN
#define DDR_BTN DDR_PORT_BTN
#define P_BTN P_PORT_BTN_NUM_BTN
#define BTN_VECT INT_NUM_BTN_vect