Commit d003f088 authored by Timo Teräs's avatar Timo Teräs Committed by Bastien Nocera
Browse files

lib: Add support for DigitalPersona URU4500

By adding native encryption support, rather than poking at
the firmware to disable it.

This also makes the URU4000B use native encryption.
parent 0f7ad00f
This diff is collapsed.
......@@ -28,6 +28,8 @@
#include <fprint.h>
#define array_n_elements(array) (sizeof(array) / sizeof(array[0]))
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment