This code implements the authentication part of Grain128-a according to the following paper:
"Grain-128a: a new version of Grain-128 with optional authentication".
aslo available at https://lup.lub.lu.se/search/files/3454246/2296485.pdf
Execute "Grain128a.m" in MATLAB and verify the test vectors provided in the paper.