user_db: import lfsr polynomial generator

Signed-off-by: Alex Dubov <oakad@yahoo.com>