Home
last modified time | relevance | path

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

/crypto/
Dadiantum.c473 struct crypto_alg *blockcipher_alg, in adiantum_supported_algorithms() argument
480 if (blockcipher_alg->cra_cipher.cia_min_keysize > BLOCKCIPHER_KEY_SIZE || in adiantum_supported_algorithms()
481 blockcipher_alg->cra_cipher.cia_max_keysize < BLOCKCIPHER_KEY_SIZE) in adiantum_supported_algorithms()
483 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()
499 struct crypto_alg *blockcipher_alg; in adiantum_create() local
526 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in adiantum_create()
540 if (!adiantum_supported_algorithms(streamcipher_alg, blockcipher_alg, in adiantum_create()
544 blockcipher_alg->cra_name, hash_alg->base.cra_name); in adiantum_create()
554 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
559 blockcipher_alg->cra_driver_name, in adiantum_create()
[all …]
Dhctr2.c414 struct crypto_alg *blockcipher_alg; in hctr2_create_common() local
454 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in hctr2_create_common()
458 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in hctr2_create_common()
478 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in hctr2_create_common()
497 blockcipher_alg->cra_priority) / 7; in hctr2_create_common()