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.c322 struct cast6_ctx tweak_ctx; member
347 return __cast6_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, in xts_cast6_setkey()
358 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
368 &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.c353 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, 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()
Dglue_helper.c348 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument
368 tweak_fn(tweak_ctx, walk.iv, walk.iv); in glue_xts_crypt_128bit()
Dtwofish_avx_glue.c326 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
336 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dserpent_avx2_glue.c295 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
305 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx_glue.c321 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
331 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Dcamellia_aesni_avx2_glue.c329 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt()
339 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
Daesni-intel_glue.c748 .tweak_ctx = aes_ctx(ctx->raw_tweak_ctx), in xts_encrypt()
773 .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,