Home
last modified time | relevance | path

Searched refs:hmacsize (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_decrypt.c47 size_t hmacsize);
82 krb5_data *output, size_t hmacsize) in krb5_dk_decrypt_maybe_trunc_hmac() argument
109 if (hmacsize == 0) in krb5_dk_decrypt_maybe_trunc_hmac()
110 hmacsize = hashsize; in krb5_dk_decrypt_maybe_trunc_hmac()
111 else if (hmacsize > hashsize) in krb5_dk_decrypt_maybe_trunc_hmac()
115 if (input->length < blocksize + hmacsize) in krb5_dk_decrypt_maybe_trunc_hmac()
117 if (output->length < input->length - blocksize - hmacsize) in krb5_dk_decrypt_maybe_trunc_hmac()
120 enclen = input->length - hmacsize; in krb5_dk_decrypt_maybe_trunc_hmac()
163 if (memcmp(cksum, input->data+enclen, hmacsize) != 0) { in krb5_dk_decrypt_maybe_trunc_hmac()