The krb5_auth_con_getivector() routine returns the address
of the initial vector used by the specified authentication context. The
application can then use this address to change the contents of the initial
vector. The application, however, must not free the storage represented by the
initial vector.
Authorities
No authorities are required.
Parameters
context (Input)
The Kerberos context.
auth_context (Input)
The authentication context.
ivec (Output)
The address of the initial vector. The authentication context still points
to this vector, so any changes made to the vector may affect future data
encryption operations performed using the authentication context.
Return Value
If no errors occur, the return value is 0. Otherwise, a Kerberos error code
is returned.
The Kerberos protocol runtime provides no concurrency control for the
authentication context. If the application wants to use the same authentication
context in multiple threads, it is the responsibility of the application to
serialize access to the authentication context so that only a single thread is
accessing the authentication context at any time.