Home
last modified time | relevance | path

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

/linux/drivers/crypto/bcm/
H A Dcipher.c4367 static int spu_register_skcipher(struct iproc_alg_s *driver_alg) in spu_register_skcipher() argument
4369 struct skcipher_alg *crypto = &driver_alg->alg.skcipher; in spu_register_skcipher()
4389 driver_alg->registered = true; in spu_register_skcipher()
4394 static int spu_register_ahash(struct iproc_alg_s *driver_alg) in spu_register_ahash() argument
4397 struct ahash_alg *hash = &driver_alg->alg.hash; in spu_register_ahash()
4401 if ((driver_alg->auth_info.alg == HASH_ALG_AES) && in spu_register_ahash()
4402 (driver_alg->auth_info.mode != HASH_MODE_XCBC) && in spu_register_ahash()
4407 if ((driver_alg->auth_info.alg >= HASH_ALG_SHA3_224) && in spu_register_ahash()
4421 if (driver_alg->auth_info.mode != HASH_MODE_HMAC) { in spu_register_ahash()
4427 if ((driver_alg->auth_info.alg == HASH_ALG_AES) && in spu_register_ahash()
[all …]