/linux-4.4.14/include/crypto/ |
H A D | xts.h | 15 void *tweak_ctx; member in struct:xts_crypt_req
|
/linux-4.4.14/arch/x86/include/asm/crypto/ |
H A D | twofish.h | 15 struct twofish_ctx tweak_ctx; member in struct:twofish_xts_ctx
|
H A D | serpent-avx.h | 15 struct serpent_ctx tweak_ctx; member in struct:serpent_xts_ctx
|
H A D | camellia.h | 24 struct camellia_ctx tweak_ctx; member in struct:camellia_xts_ctx
|
H A D | glue_helper.h | 139 common_glue_func_t tweak_fn, void *tweak_ctx,
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | twofish_glue_3way.c | 294 return __twofish_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, xts_twofish_setkey() 308 .tweak_ctx = &ctx->tweak_ctx, xts_encrypt() 326 .tweak_ctx = &ctx->tweak_ctx, xts_decrypt()
|
H A D | serpent_sse2_glue.c | 304 struct serpent_ctx tweak_ctx; member in struct:serpent_xts_ctx 329 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2); xts_serpent_setkey() 345 .tweak_ctx = &ctx->tweak_ctx, xts_encrypt() 372 .tweak_ctx = &ctx->tweak_ctx, xts_decrypt()
|
H A D | cast6_avx_glue.c | 321 struct cast6_ctx tweak_ctx; member in struct:cast6_xts_ctx 346 return __cast6_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, xts_cast6_setkey() 357 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 367 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | serpent_avx_glue.c | 352 return __serpent_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2); xts_serpent_setkey() 363 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 373 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | camellia_aesni_avx_glue.c | 320 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 330 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | glue_helper.c | 347 void *tweak_ctx, void *crypt_ctx) glue_xts_crypt_128bit() 367 tweak_fn(tweak_ctx, walk.iv, walk.iv); glue_xts_crypt_128bit() 343 glue_xts_crypt_128bit(const struct common_glue_ctx *gctx, struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, void (*tweak_fn)(void *ctx, u8 *dst, const u8 *src), void *tweak_ctx, void *crypt_ctx) glue_xts_crypt_128bit() argument
|
H A D | serpent_avx2_glue.c | 294 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 304 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | camellia_aesni_avx2_glue.c | 328 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 338 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | twofish_avx_glue.c | 324 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_encrypt() 334 &ctx->tweak_ctx, &ctx->crypt_ctx); xts_decrypt()
|
H A D | camellia_glue.c | 1520 return __camellia_setkey(&ctx->tweak_ctx, key + keylen / 2, keylen / 2, xts_camellia_setkey() 1534 .tweak_ctx = &ctx->tweak_ctx, xts_encrypt() 1552 .tweak_ctx = &ctx->tweak_ctx, xts_decrypt()
|
H A D | aesni-intel_glue.c | 750 .tweak_ctx = aes_ctx(ctx->raw_tweak_ctx), xts_encrypt() 775 .tweak_ctx = aes_ctx(ctx->raw_tweak_ctx), xts_decrypt()
|
/linux-4.4.14/crypto/ |
H A D | xts.c | 195 req->tweak_fn(req->tweak_ctx, (u8 *)&t_buf[0], walk.iv); xts_crypt()
|