Home
last modified time | relevance | path

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

/arch/x86/crypto/
Dtwofish_glue_3way.c294 return __twofish_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_twofish_setkey()
308 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
326 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dserpent_sse2_glue.c304 struct serpent_ctx tweak_ctx; member
329 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2); in xts_serpent_setkey()
345 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
372 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dcast6_avx_glue.c321 struct cast6_ctx tweak_ctx; member
346 return __cast6_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_cast6_setkey()
357 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
367 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_glue.c1520 return __camellia_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_camellia_setkey()
1534 .tweak_ctx = &ctx->tweak_ctx, in xts_encrypt()
1552 .tweak_ctx = &ctx->tweak_ctx, in xts_decrypt()
Dserpent_avx_glue.c352 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, 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()
Dglue_helper.c347 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument
367 tweak_fn(tweak_ctx, walk.iv, walk.iv); in glue_xts_crypt_128bit()
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_avx_glue.c320 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
330 &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()
Daesni-intel_glue.c750 .tweak_ctx = aes_ctx(ctx->raw_tweak_ctx), in xts_encrypt()
775 .tweak_ctx = aes_ctx(ctx->raw_tweak_ctx), in xts_decrypt()
/arch/x86/include/asm/crypto/
Dtwofish.h15 struct twofish_ctx tweak_ctx; member
Dserpent-avx.h15 struct serpent_ctx tweak_ctx; member
Dcamellia.h24 struct camellia_ctx tweak_ctx; member
Dglue_helper.h139 common_glue_func_t tweak_fn, void *tweak_ctx,