# Initial Vector
[OMXMLSecurity]

## Defines
#define | OXS_IV_DEFAULT OPENSSL_DEFAULT_IV16
## Functions
AXIS2_EXTERN axis2_char_t * | oxs_iv_generate_for_algo (const axutil_env_t *env, axis2_char_t *key_algo)

## Function Documentation

AXIS2_EXTERN axis2_char_t* oxs_iv_generate_for_algo | ( | const axutil_env_t * | env,
|  | axis2_char_t * | key_algo |
| ) |  |  |

Generates an Initial Vector(IV) for the given algorithm

Parameters:

  | env | pointer to environment struct
  | key_algo | the algorithm

Returns:
  the generated IV