miniroon

Simplistic macaroon-based authorization for Unix systems
git clone https://ccx.te2000.cz/git/miniroon
Log | Files | Refs

common.h (271B)


      1 #ifndef MINIROON_COMMON_H
      2 #define MINIROON_COMMON_H
      3 
      4 #define MAX_MINIROON_SIZE 1024*1024
      5 
      6 #define MINIROON_HMAC_SIZE 32
      7 //#define MINIROON_HMAC_FUNC(key, msg, out) hmac_b2s_256(key, msg, out)
      8 #define MINIROON_HMAC_FUNC(key, msg, out) hmac_sha2_256(key, msg, out)
      9 
     10 #endif