}if(key) {aesni_set_encrypt_key(key, ctx->key_len *8, &gctx->ks.ks); CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, (block128_f)aesni_encrypt,1); gctx->ctr = (ctr128_f)aesni_ctr32_encrypt_blocks;// If we have an iv can set it directly, otherwise use// saved IV.if(...