Lines Matching refs:hmac_length
407 kt->hmac_length);
450 kt->hmac_length = md_kt_size (kt->digest);
486 if (kt->digest && kt->hmac_length > 0)
489 hmac_ctx_init (ctx->hmac, key->hmac, kt->hmac_length, kt->digest);
496 format_hex (key->hmac, kt->hmac_length, 0, &gc));
642 if (kt->digest && kt->hmac_length > 0 && kt->hmac_length <= hmac_len)
643 hmac_len = kt->hmac_length;
675 format_hex (k->keys[0].hmac, kt->hmac_length, 0, &gc));
681 format_hex (k->keys[1].hmac, kt->hmac_length, 0, &gc));
748 if (passphrase_file && key_type->hmac_length)
792 ASSERT (hash_size == kt.hmac_length);
1244 && kt->hmac_length <= MAX_HMAC_KEY_LENGTH);
1248 if (!buf_write (buf, &kt->hmac_length, 1))
1252 if (!buf_write (buf, key->hmac, kt->hmac_length))
1268 uint8_t hmac_length;
1273 if (!buf_read (buf, &hmac_length, 1))
1278 if (!buf_read (buf, key->hmac, hmac_length))
1281 if (cipher_length != kt->cipher_length || hmac_length != kt->hmac_length)
1293 kt->cipher_length, kt->hmac_length, cipher_length, hmac_length);