tools: add benchmark for crypto functions.