Searched refs:blockcipher_alg (Results 1 – 2 of 2) sorted by relevance
503 struct crypto_alg *blockcipher_alg, in adiantum_supported_algorithms() argument510 if (blockcipher_alg->cra_cipher.cia_min_keysize > BLOCKCIPHER_KEY_SIZE || in adiantum_supported_algorithms()511 blockcipher_alg->cra_cipher.cia_max_keysize < BLOCKCIPHER_KEY_SIZE) in adiantum_supported_algorithms()513 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()529 struct crypto_alg *blockcipher_alg; in adiantum_create() local556 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in adiantum_create()570 if (!adiantum_supported_algorithms(streamcipher_alg, blockcipher_alg, in adiantum_create()574 blockcipher_alg->cra_name, hash_alg->base.cra_name); in adiantum_create()584 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()589 blockcipher_alg->cra_driver_name, in adiantum_create()[all …]
413 struct crypto_alg *blockcipher_alg; in hctr2_create_common() local453 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in hctr2_create_common()457 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in hctr2_create_common()477 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in hctr2_create_common()495 blockcipher_alg->cra_priority) / 7; in hctr2_create_common()