/arch/x86/crypto/ |
D | serpent_sse2_glue.c | 249 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 …]
|
D | cast6_avx_glue.c | 266 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()
|
D | serpent_avx_glue.c | 276 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()
|
D | twofish_avx_glue.c | 270 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()
|
D | serpent_avx2_glue.c | 240 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()
|
D | camellia_aesni_avx_glue.c | 266 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()
|
D | camellia_aesni_avx2_glue.c | 274 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()
|
D | twofish_glue_3way.c | 241 .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()
|
D | camellia_glue.c | 1467 .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()
|
D | glue_helper.c | 347 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()
|
D | aesni-intel_glue.c | 600 .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/ |
D | twofish.h | 16 struct twofish_ctx crypt_ctx; member
|
D | serpent-avx.h | 16 struct serpent_ctx crypt_ctx; member
|
D | camellia.h | 25 struct camellia_ctx crypt_ctx; member
|
D | glue_helper.h | 140 void *crypt_ctx);
|