Lines Matching refs:iv_state
67 ctx->iv_state = IV_STATE_BUFFERED; in gcm_init()
126 ctx->iv_state = IV_STATE_COPIED; in getivgen()
140 ctx->iv_state = IV_STATE_COPIED; in setivinv()
184 if (ctx->iv_state == IV_STATE_UNINITIALISED) in ossl_gcm_get_ctx_params()
198 if (ctx->iv_state == IV_STATE_UNINITIALISED) in ossl_gcm_get_ctx_params()
288 if (ctx->iv_state != IV_STATE_UNINITIALISED) in ossl_gcm_set_ctx_params()
289 ctx->iv_state = IV_STATE_FINISHED; in ossl_gcm_set_ctx_params()
409 ctx->iv_state = IV_STATE_BUFFERED; in gcm_iv_generate()
425 if (!ctx->key_set || ctx->iv_state == IV_STATE_FINISHED) in gcm_cipher_internal()
434 if (ctx->iv_state == IV_STATE_UNINITIALISED) { in gcm_cipher_internal()
439 if (ctx->iv_state == IV_STATE_BUFFERED) { in gcm_cipher_internal()
442 ctx->iv_state = IV_STATE_COPIED; in gcm_cipher_internal()
461 ctx->iv_state = IV_STATE_FINISHED; /* Don't reuse the IV */ in gcm_cipher_internal()
510 ctx->iv_state = IV_STATE_BUFFERED; in gcm_tls_iv_set_fixed()
525 ctx->iv_state = IV_STATE_BUFFERED; in gcm_tls_iv_set_fixed()
592 ctx->iv_state = IV_STATE_FINISHED; in gcm_tls_cipher()