Home
last modified time | relevance | path

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

/linux/crypto/
H A Dadiantum.c556 struct crypto_alg *blockcipher_alg) in adiantum_supported_algorithms() argument
562 if (blockcipher_alg->cra_cipher.cia_min_keysize > BLOCKCIPHER_KEY_SIZE || in adiantum_supported_algorithms()
563 blockcipher_alg->cra_cipher.cia_max_keysize < BLOCKCIPHER_KEY_SIZE) in adiantum_supported_algorithms()
565 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()
577 struct crypto_alg *blockcipher_alg; in adiantum_create() local
604 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in adiantum_create()
617 if (!adiantum_supported_algorithms(streamcipher_alg, blockcipher_alg)) { in adiantum_create()
620 blockcipher_alg->cra_name); in adiantum_create()
630 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
634 blockcipher_alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
[all …]
H A Dhctr2.c332 struct crypto_alg *blockcipher_alg; in hctr2_create_common() local
371 blockcipher_alg = crypto_spawn_cipher_alg(&ictx->blockcipher_spawn); in hctr2_create_common()
375 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in hctr2_create_common()
382 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in hctr2_create_common()
393 blockcipher_alg->cra_priority) / in hctr2_create_common()