Home
last modified time | relevance | path

Searched refs:crypt_ctx (Results 1 – 15 of 15) sorted by relevance

/arch/x86/crypto/
Dserpent_sse2_glue.c249 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
258 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
265 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
275 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
284 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
291 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
305 struct serpent_ctx crypt_ctx; member
324 err = __serpent_setkey(&ctx->crypt_ctx, key, keylen / 2); in xts_serpent_setkey()
337 struct crypt_priv crypt_ctx = { in xts_encrypt() local
338 .ctx = &ctx->crypt_ctx, in xts_encrypt()
[all …]
Dcast6_avx_glue.c267 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
276 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
283 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
293 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
302 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
309 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
323 struct cast6_ctx crypt_ctx; member
342 err = __cast6_setkey(&ctx->crypt_ctx, key, keylen / 2, flags); in xts_cast6_setkey()
358 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
368 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx_glue.c277 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
286 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
293 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
303 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
312 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
319 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
348 err = __serpent_setkey(&ctx->crypt_ctx, key, keylen / 2); in xts_serpent_setkey()
364 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
374 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dtwofish_avx_glue.c272 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
281 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
288 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
298 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
307 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
314 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
326 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
336 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx2_glue.c241 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
250 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
257 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
267 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
276 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
283 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
295 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
305 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx_glue.c267 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
276 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
283 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
293 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
302 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
309 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
321 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
331 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx2_glue.c275 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
284 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
291 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
301 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
310 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
317 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
329 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
339 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dtwofish_glue_3way.c241 .crypt_ctx = &ctx->twofish_ctx, in lrw_encrypt()
258 .crypt_ctx = &ctx->twofish_ctx, in lrw_decrypt()
289 err = __twofish_setkey(&ctx->crypt_ctx, key, keylen / 2, flags); in xts_twofish_setkey()
310 .crypt_ctx = &ctx->crypt_ctx, in xts_encrypt()
328 .crypt_ctx = &ctx->crypt_ctx, in xts_decrypt()
Dcamellia_glue.c1467 .crypt_ctx = &ctx->camellia_ctx, in lrw_encrypt()
1484 .crypt_ctx = &ctx->camellia_ctx, in lrw_decrypt()
1515 err = __camellia_setkey(&ctx->crypt_ctx, key, keylen / 2, flags); in xts_camellia_setkey()
1536 .crypt_ctx = &ctx->crypt_ctx, in xts_encrypt()
1554 .crypt_ctx = &ctx->crypt_ctx, in xts_decrypt()
Dglue_helper.c348 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument
371 nbytes = __glue_xts_crypt_128bit(gctx, crypt_ctx, desc, &walk); in glue_xts_crypt_128bit()
Daesni-intel_glue.c598 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_encrypt()
622 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_decrypt()
750 .crypt_ctx = aes_ctx(ctx->raw_crypt_ctx), in xts_encrypt()
775 .crypt_ctx = aes_ctx(ctx->raw_crypt_ctx), in xts_decrypt()
/arch/x86/include/asm/crypto/
Dtwofish.h16 struct twofish_ctx crypt_ctx; member
Dserpent-avx.h16 struct serpent_ctx crypt_ctx; member
Dcamellia.h25 struct camellia_ctx crypt_ctx; member
Dglue_helper.h140 void *crypt_ctx);