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/buffer/buffer.h

16 lines
253 B

#ifndef _BUFFER_H
#define _BUFFER_H
#include "../usb_key_codes.h"
#include <avr/io.h>
#define BUFFER_SIZE 10
extern uint8_t buff_empty;
uint8_t readBuffer(void);
void writeToBuffer(uint8_t data);
void buffer_unum(uint32_t num);
#endif //_BUFFER_H