aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.c
blob: 7362ac259b86b0ab9707eed38ec057056b586150 (plain)
1
2
3
4
5
#include "crypto.h"

unsigned i_lr(unsigned y, unsigned offset){
    return ( y << offset ) | ( y >> (32 - offset));
}