Skip to content
Commit db6d5d77 authored by Pablo de Lara's avatar Pablo de Lara
Browse files

lib: add GHASH API

Add API to perform GHASH on an input buffer,
giving up to 16 bytes of output.

IMB_GHASH() requires gcm_key_data structure to be initialized
calling previously IMB_GCM_PRE_xxx() function, which is the key precompute
function used for AES-GCM, before it is passed as one of the parameters.
parent bc4ce8b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment