/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 | 267 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 276 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 283 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 293 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 302 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 309 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 323 struct cast6_ctx crypt_ctx; member 342 err = __cast6_setkey(&ctx->crypt_ctx, key, keylen / 2, flags); in xts_cast6_setkey() 358 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt() 368 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
|
D | serpent_avx_glue.c | 277 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 286 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 293 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 303 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 312 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 319 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 348 err = __serpent_setkey(&ctx->crypt_ctx, key, 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()
|
D | twofish_avx_glue.c | 272 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 281 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 288 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 298 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 307 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 314 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 326 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt() 336 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
|
D | serpent_avx2_glue.c | 241 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 250 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 257 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 267 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 276 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 283 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 295 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt() 305 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
|
D | camellia_aesni_avx_glue.c | 267 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 276 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 283 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 293 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 302 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 309 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 321 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt() 331 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_decrypt()
|
D | camellia_aesni_avx2_glue.c | 275 struct crypt_priv crypt_ctx = { in lrw_encrypt() local 284 .crypt_ctx = &crypt_ctx, in lrw_encrypt() 291 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt() 301 struct crypt_priv crypt_ctx = { in lrw_decrypt() local 310 .crypt_ctx = &crypt_ctx, in lrw_decrypt() 317 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_decrypt() 329 &ctx->tweak_ctx, &ctx->crypt_ctx); in xts_encrypt() 339 &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 | 348 void *tweak_ctx, void *crypt_ctx) in glue_xts_crypt_128bit() argument 371 nbytes = __glue_xts_crypt_128bit(gctx, crypt_ctx, desc, &walk); in glue_xts_crypt_128bit()
|
D | aesni-intel_glue.c | 598 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_encrypt() 622 .crypt_ctx = aes_ctx(ctx->raw_aes_ctx), in lrw_decrypt() 750 .crypt_ctx = aes_ctx(ctx->raw_crypt_ctx), in xts_encrypt() 775 .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);
|