1 krb5_c_padding_length - Return a number of padding octets.
2 ============================================================
6 .. c:function:: krb5_error_code krb5_c_padding_length(krb5_context context, krb5_enctype enctype, size_t data_length, unsigned int * size)
13 **[in]** **context** - Library context
15 **[in]** **enctype** - Encryption type
17 **[in]** **data_length** - Length of the plaintext to pad
19 **[out]** **size** - Number of padding octets
26 - 0 Success; otherwise - KRB5_BAD_ENCTYPE
37 This function returns the number of the padding octets required to pad *data_length* octets of plaintext.