 if (alg->cra_alignmask & (alg->cra_alignmask + 1)) return -EINVAL;  if (alg->cra_alignmask > PAGE_SIZE) return -EINVAL; 
int crypto_register_alg(struct crypto_alg *alg){	int ret = 0;	struct crypto_alg *q;		down_write(&crypto_alg_sem);		list_for_each_entry(q, &crypto_alg_list, cra_list) {		if (!(strcmp(q->cra_name, alg->cra_name))) {			ret = -EEXIST;			goto out;		}	}		list_add_tail(&alg->cra_list, &crypto_alg_list);out:		up_write(&crypto_alg_sem);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/95477377995aefa2ec1654a9a3777bd57ea99146/api.c/buggy/crypto/api.c