Lines Matching refs:ctx
369 struct aegis_ctx *ctx = crypto_aead_ctx(aead);
374 memcpy(ctx->key.bytes, key, AEGIS128_KEY_SIZE);
393 struct aegis_ctx *ctx = crypto_aead_ctx(tfm);
399 crypto_aegis128_init(&state, &ctx->key, req->iv);
417 struct aegis_ctx *ctx = crypto_aead_ctx(tfm);
425 crypto_aegis128_init(&state, &ctx->key, req->iv);
454 struct aegis_ctx *ctx = crypto_aead_ctx(tfm);
463 crypto_aegis128_init_simd(&state, &ctx->key, req->iv);
480 struct aegis_ctx *ctx = crypto_aead_ctx(tfm);
491 crypto_aegis128_init_simd(&state, &ctx->key, req->iv);