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.c266 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
275 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
282 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
292 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
301 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
308 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
322 struct cast6_ctx crypt_ctx; member
341 err = __cast6_setkey(&ctx->crypt_ctx, key, keylen / 2, flags); in xts_cast6_setkey()
357 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
367 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx_glue.c276 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
285 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
292 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
302 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
311 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
318 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
347 err = __serpent_setkey(&ctx->crypt_ctx, key, keylen / 2); in xts_serpent_setkey()
363 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
373 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dtwofish_avx_glue.c270 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
279 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
286 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
296 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
305 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
312 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
324 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
334 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx2_glue.c240 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
249 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
256 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
266 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
275 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
282 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
294 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
304 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx_glue.c266 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
275 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
282 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
292 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
301 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
308 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
320 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
330 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx2_glue.c274 struct crypt_priv crypt_ctx = { in lrw_encrypt() local
283 .crypt_ctx = &crypt_ctx, in lrw_encrypt()
290 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
300 struct crypt_priv crypt_ctx = { in lrw_decrypt() local
309 .crypt_ctx = &crypt_ctx, in lrw_decrypt()
316 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt()
328 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
338 &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.c347 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument
370 nbytes = __glue_xts_crypt_128bit(gctx, crypt_ctx, desc, &walk); in glue_xts_crypt_128bit()
Daesni-intel_glue.c600 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_encrypt()
624 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_decrypt()
752 .crypt_ctx = aes_ctx(ctx->raw_crypt_ctx), in xts_encrypt()
777 .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);