convert one if-else instance to the switch to ease gcm integration; use proper define for the initial counter block
convert one if-else instance to the switch to ease gcm integration;
use proper define for the initial counter block

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars