Lines Matching refs:base
389 req->base.flags, in adiantum_crypt()
484 if (strcmp(streamcipher_alg->base.cra_name, "xchacha12") != 0 && in adiantum_supported_algorithms()
485 strcmp(streamcipher_alg->base.cra_name, "xchacha20") != 0) in adiantum_supported_algorithms()
494 if (strcmp(hash_alg->base.cra_name, "nhpoly1305") != 0) in adiantum_supported_algorithms()
577 streamcipher_alg->base.cra_name, in adiantum_create()
578 blockcipher_alg->cra_name, hash_alg->base.cra_name); in adiantum_create()
586 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in adiantum_create()
587 "adiantum(%s,%s)", streamcipher_alg->base.cra_name, in adiantum_create()
590 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in adiantum_create()
592 streamcipher_alg->base.cra_driver_name, in adiantum_create()
594 hash_alg->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
597 inst->alg.base.cra_flags = streamcipher_alg->base.cra_flags & in adiantum_create()
599 inst->alg.base.cra_blocksize = BLOCKCIPHER_BLOCK_SIZE; in adiantum_create()
600 inst->alg.base.cra_ctxsize = sizeof(struct adiantum_tfm_ctx); in adiantum_create()
601 inst->alg.base.cra_alignmask = streamcipher_alg->base.cra_alignmask | in adiantum_create()
602 hash_alg->base.cra_alignmask; in adiantum_create()
609 inst->alg.base.cra_priority = (4 * streamcipher_alg->base.cra_priority + in adiantum_create()
610 2 * hash_alg->base.cra_priority + in adiantum_create()