ica_allow_external_gcm_iv_in_fips_mode
Purpose
When running in FIPS mode, the GCM initialization vector (IV) is created internally using an approved random source. Applications are not allowed to apply an own external IV. You can use this API function to override this behavior and to allow an external GCM IV in FIPS mode. In this case, your application is responsible for creating the IV in a compliant way.
Format
void ica_allow_external_gcm_iv_in_fips_mode(int allow);
Parameters
- int allow
- Specify either 0 to prohibit an external GCM initialization vector in FIPS mode, or specify 1 to
allow it. The default is
allow = 0, that is, no external GCM IV is allowed.
Return codes
None.