Added support for the generic G_MAX_LEN, and thus two possible maximum lengths of AD/message/ciphertext,
equal to SINGLE_PASS_MAX (representing 2^32-1) and TWO_PASS_MAX (representing 2^11-1), as recommended in the
Addendum to the CAESAR Hardware API v1.0.