Function bearssl::br_gcm_flip [] [src]

pub unsafe extern "C" fn br_gcm_flip(ctx: *mut br_gcm_context)

\brief Finish injection of additional authenticated data into GCM.

This function MUST be called before beginning the actual encryption or decryption (with br_gcm_run()), even if no additional authenticated data was injected. No additional authenticated data may be injected after this function call.

\param ctx GCM context structure.