skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_build_principal_va  Fill in pointer to principal structure krb5_build_principal_va Fill in pointer to principal structure
go to next page: krb5_c_checksum_length  Get the checksum length for a checksum typekrb5_c_checksum_length Get the checksum length for a checksum...
end of book navigation links

krb5_c_block_size -- Get the block size for the given encryption type 



C Prototype 

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

Arguments 

context
(input/output)
 The context structure.
enctype (input) The encryption type.
blocksize (output) A pointer to the block size.

Description 

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:

0
Successful completion.
KRB5_BAD_ENCTYPE
Bad encryption type.
ENOMEM
Insufficient memory.


go to previous page: krb5_build_principal_va  Fill in pointer to principal structure krb5_build_principal_va Fill in pointer to principal structure
go to next page: krb5_c_checksum_length  Get the checksum length for a checksum typekrb5_c_checksum_length Get the checksum length for a checksum...