Lines Matching refs:algt
183 struct crypto_attr_type *algt; in crypto_ctr_alloc() local
192 algt = crypto_get_attr_type(tb); in crypto_ctr_alloc()
193 if (IS_ERR(algt)) in crypto_ctr_alloc()
194 return ERR_CAST(algt); in crypto_ctr_alloc()
197 crypto_requires_off(algt->type, algt->mask, in crypto_ctr_alloc()
356 struct crypto_attr_type *algt; in crypto_rfc3686_create() local
365 algt = crypto_get_attr_type(tb); in crypto_rfc3686_create()
366 if (IS_ERR(algt)) in crypto_rfc3686_create()
367 return PTR_ERR(algt); in crypto_rfc3686_create()
369 if ((algt->type ^ CRYPTO_ALG_TYPE_SKCIPHER) & algt->mask) in crypto_rfc3686_create()
380 mask = crypto_requires_sync(algt->type, algt->mask) | in crypto_rfc3686_create()
381 crypto_requires_off(algt->type, algt->mask, in crypto_rfc3686_create()