Searched refs:gcm_ctx (Results 1 – 1 of 1) sorted by relevance
2242 struct aead_aes_gcm_ctx *gcm_ctx; in aead_aes_gcm_init() local2265 CRYPTO_gcm128_init(&gcm_ctx->gcm, &gcm_ctx->ks.ks, in aead_aes_gcm_init()2271 gcm_ctx->ctr = aes_gcm_set_key(&gcm_ctx->ks.ks, &gcm_ctx->gcm, in aead_aes_gcm_init()2274 gcm_ctx->tag_len = tag_len; in aead_aes_gcm_init()2275 ctx->aead_state = gcm_ctx; in aead_aes_gcm_init()2285 freezero(gcm_ctx, sizeof(*gcm_ctx)); in aead_aes_gcm_cleanup()2314 if (gcm_ctx->ctr) { in aead_aes_gcm_seal()2316 in_len - bulk, gcm_ctx->ctr)) in aead_aes_gcm_seal()2342 if (in_len < gcm_ctx->tag_len) { in aead_aes_gcm_open()2365 if (gcm_ctx->ctr) { in aead_aes_gcm_open()[all …]