Searched refs:iv_gen (Results 1 – 1 of 1) sorted by relevance
93 int iv_gen; /* It is OK to generate IVs */ member495 gctx->iv_gen = 0; in aes_gcm_init_key()533 gctx->iv_gen = 0; in aes_gcm_ctrl()573 gctx->iv_gen = 1; in aes_gcm_ctrl()587 gctx->iv_gen = 1; in aes_gcm_ctrl()591 if (gctx->iv_gen == 0 || gctx->key_set == 0) { in aes_gcm_ctrl()607 if (gctx->iv_gen == 0 || gctx->key_set == 0 || c->encrypt) { in aes_gcm_ctrl()910 gctx->iv_gen = 0; in aesni_gcm_init_key()