Searched refs:driver_alg (Results 1 – 1 of 1) sorted by relevance
4593 static int spu_register_ablkcipher(struct iproc_alg_s *driver_alg) in spu_register_ablkcipher() argument4596 struct crypto_alg *crypto = &driver_alg->alg.crypto; in spu_register_ablkcipher()4600 if ((driver_alg->cipher_info.alg == CIPHER_ALG_RC4) && in spu_register_ablkcipher()4623 driver_alg->registered = true; in spu_register_ablkcipher()4628 static int spu_register_ahash(struct iproc_alg_s *driver_alg) in spu_register_ahash() argument4631 struct ahash_alg *hash = &driver_alg->alg.hash; in spu_register_ahash()4635 if ((driver_alg->auth_info.alg == HASH_ALG_AES) && in spu_register_ahash()4636 (driver_alg->auth_info.mode != HASH_MODE_XCBC) && in spu_register_ahash()4641 if ((driver_alg->auth_info.alg >= HASH_ALG_SHA3_224) && in spu_register_ahash()4654 if (driver_alg->auth_info.mode != HASH_MODE_HMAC) { in spu_register_ahash()[all …]