Searched refs:streamcipher_alg (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | adiantum.c | 480 static bool adiantum_supported_algorithms(struct skcipher_alg *streamcipher_alg, in adiantum_supported_algorithms() argument 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() 508 struct skcipher_alg *streamcipher_alg; in adiantum_create() local 548 streamcipher_alg = crypto_spawn_skcipher_alg(&ictx->streamcipher_spawn); in adiantum_create() 574 if (!adiantum_supported_algorithms(streamcipher_alg, blockcipher_alg, in adiantum_create() 577 streamcipher_alg->base.cra_name, in adiantum_create() 587 "adiantum(%s,%s)", streamcipher_alg->base.cra_name, in adiantum_create() 592 streamcipher_alg->base.cra_driver_name, in adiantum_create() 597 inst->alg.base.cra_flags = streamcipher_alg->base.cra_flags & in adiantum_create() [all …]
|