HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_c_block_size — Get the block size for the given encryption type

  Table of Contents



C Prototype

krb5_error_code krb5_c_block_size (
krb5_context context,
krb5_enctype enctype,
size_t *blocksize );


context (input/output) 

The context structure.

enctype (input) 

The encryption type.

blocksize (output) 

A pointer to the block size.


This routine returns the block size for the encryption type enctype in the blocksize argument.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.

Bad encryption type.


Insufficient memory.