Home
last modified time | relevance | path

Searched refs:tweak_ctx (Results 1 – 14 of 14) sorted by relevance

/arch/x86/include/asm/crypto/
Dglue_helper.h155 common_glue_func_t tweak_fn, void *tweak_ctx,
162 common_glue_func_t tweak_fn, void *tweak_ctx,
167 common_glue_func_t tweak_fn, void *tweak_ctx,
Dtwofish.h16 struct twofish_ctx tweak_ctx; member
Dserpent-avx.h16 struct serpent_ctx tweak_ctx; member
Dcamellia.h25 struct camellia_ctx tweak_ctx; member
/arch/x86/crypto/
Dtwofish_glue_3way.c290 return __twofish_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_twofish_setkey()
304 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
322 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dserpent_sse2_glue.c304 struct serpent_ctx tweak_ctx; member
324 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2); in xts_serpent_setkey()
340 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
367 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dglue_helper.c380 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument
400 tweak_fn(tweak_ctx, walk.iv, walk.iv); in glue_xts_crypt_128bit()
417 common_glue_func_t tweak_fn, void *tweak_ctx, in glue_xts_req_128bit() argument
437 tweak_fn(tweak_ctx, walk.iv, walk.iv); in glue_xts_req_128bit()
Dcast6_avx_glue.c321 struct cast6_ctx tweak_ctx; member
342 return __cast6_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_cast6_setkey()
353 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
363 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_glue.c1516 return __camellia_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_camellia_setkey()
1530 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
1548 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dserpent_avx_glue.c347 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2); in xts_serpent_setkey()
358 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
368 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dtwofish_avx_glue.c324 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
334 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx2_glue.c294 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
304 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx2_glue.c328 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
338 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx_glue.c320 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
330 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()