Lines Matching refs:lzeros
201 int lzeros, ents; in caam_rsa_count_leading_zeros() local
212 lzeros = 0; in caam_rsa_count_leading_zeros()
216 while (len && !*buff && lzeros < nbytes) { in caam_rsa_count_leading_zeros()
217 lzeros++; in caam_rsa_count_leading_zeros()
229 nbytes -= lzeros; in caam_rsa_count_leading_zeros()
230 lzeros = 0; in caam_rsa_count_leading_zeros()
233 miter.consumed = lzeros; in caam_rsa_count_leading_zeros()
235 nbytes -= lzeros; in caam_rsa_count_leading_zeros()
256 int lzeros; in rsa_edesc_alloc() local
263 lzeros = caam_rsa_count_leading_zeros(req->src, req->src_len - in rsa_edesc_alloc()
265 if (lzeros < 0) in rsa_edesc_alloc()
266 return ERR_PTR(lzeros); in rsa_edesc_alloc()
269 lzeros); in rsa_edesc_alloc()
270 req_ctx->fixup_src_len = req->src_len - lzeros; in rsa_edesc_alloc()