Home
last modified time | relevance | path

Searched refs:blockcipher_alg (Results 1 – 2 of 2) sorted by relevance

/linux/crypto/
H A Dadiantum.c503 struct crypto_alg *blockcipher_alg, in adiantum_supported_algorithms() argument
510 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() local
556 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 …]
H A Dhctr2.c413 struct crypto_alg *blockcipher_alg; in hctr2_create_common() local
453 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()