[fprint] AES2501 state confusion

Bastien Nocera hadess at hadess.net
Fri Jul 10 14:31:41 BST 2009


On Fri, 2009-07-10 at 16:18 +0300, Vasily Khoruzhick wrote:
> On Friday 10 July 2009 16:13:08 Bastien Nocera wrote:
> 
> > Even better would be to get rid of strips_len and use g_slist_length
> > instead everywhere (the list wouldn't be long enough as for this to
> > matter, right?).
> 
> AFAIR up to 100 items for slow swipe

Then it might be a good idea to use a GPtrArray instead, so that the
length is cached, and we can avoid allocating memory for each little bit
of data.

But I know Daniel wanted to reduce the glib dep in libfprint.

Cheers



More information about the fprint mailing list