Lines Matching refs:base
54 struct crypto_skcipher *child = &ctx->cryptd_tfm->base; in simd_skcipher_setkey()
74 child = &ctx->cryptd_tfm->base; in simd_skcipher_encrypt()
95 child = &ctx->cryptd_tfm->base; in simd_skcipher_decrypt()
131 reqsize = max(reqsize, crypto_skcipher_reqsize(&cryptd_tfm->base)); in simd_skcipher_init()
166 if (snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", algname) >= in simd_skcipher_create_compat()
170 if (snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in simd_skcipher_create_compat()
174 alg->base.cra_flags = CRYPTO_ALG_ASYNC | in simd_skcipher_create_compat()
175 (ialg->base.cra_flags & CRYPTO_ALG_INHERITED_FLAGS); in simd_skcipher_create_compat()
176 alg->base.cra_priority = ialg->base.cra_priority; in simd_skcipher_create_compat()
177 alg->base.cra_blocksize = ialg->base.cra_blocksize; in simd_skcipher_create_compat()
178 alg->base.cra_alignmask = ialg->base.cra_alignmask; in simd_skcipher_create_compat()
179 alg->base.cra_module = ialg->base.cra_module; in simd_skcipher_create_compat()
180 alg->base.cra_ctxsize = sizeof(struct simd_skcipher_ctx); in simd_skcipher_create_compat()
244 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
245 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat()
246 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
247 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat()
248 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat()
294 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setkey()
305 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setauthsize()
322 child = &ctx->cryptd_tfm->base; in simd_aead_encrypt()
343 child = &ctx->cryptd_tfm->base; in simd_aead_decrypt()
378 reqsize = max(reqsize, crypto_aead_reqsize(&cryptd_tfm->base)); in simd_aead_init()
413 if (snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", algname) >= in simd_aead_create_compat()
417 if (snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in simd_aead_create_compat()
421 alg->base.cra_flags = CRYPTO_ALG_ASYNC | in simd_aead_create_compat()
422 (ialg->base.cra_flags & CRYPTO_ALG_INHERITED_FLAGS); in simd_aead_create_compat()
423 alg->base.cra_priority = ialg->base.cra_priority; in simd_aead_create_compat()
424 alg->base.cra_blocksize = ialg->base.cra_blocksize; in simd_aead_create_compat()
425 alg->base.cra_alignmask = ialg->base.cra_alignmask; in simd_aead_create_compat()
426 alg->base.cra_module = ialg->base.cra_module; in simd_aead_create_compat()
427 alg->base.cra_ctxsize = sizeof(struct simd_aead_ctx); in simd_aead_create_compat()
491 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_aeads_compat()
492 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_aeads_compat()
493 algname = algs[i].base.cra_name + 2; in simd_register_aeads_compat()
494 drvname = algs[i].base.cra_driver_name + 2; in simd_register_aeads_compat()
495 basename = algs[i].base.cra_driver_name; in simd_register_aeads_compat()