Lines Matching defs:digestbits
417 isc_uint16_t digestbits = 0;
434 result = isc_parse_uint16(&digestbits, &buf[9], 10);
435 if (result != ISC_R_SUCCESS || digestbits > 128)
437 digestbits = (digestbits +7) & ~0x7U;
442 result = isc_parse_uint16(&digestbits, &buf[10], 10);
443 if (result != ISC_R_SUCCESS || digestbits > 160)
445 digestbits = (digestbits +7) & ~0x7U;
450 result = isc_parse_uint16(&digestbits, &buf[12], 10);
451 if (result != ISC_R_SUCCESS || digestbits > 224)
453 digestbits = (digestbits +7) & ~0x7U;
458 result = isc_parse_uint16(&digestbits, &buf[12], 10);
459 if (result != ISC_R_SUCCESS || digestbits > 256)
461 digestbits = (digestbits +7) & ~0x7U;
466 result = isc_parse_uint16(&digestbits, &buf[12], 10);
467 if (result != ISC_R_SUCCESS || digestbits > 384)
469 digestbits = (digestbits +7) & ~0x7U;
474 result = isc_parse_uint16(&digestbits, &buf[12], 10);
475 if (result != ISC_R_SUCCESS || digestbits > 512)
477 digestbits = (digestbits +7) & ~0x7U;
480 return (digestbits);
496 isc_uint16_t digestbits = 0;
513 digestbits = parse_hmac(&hmacname, keystr, s - keystr);
551 dst_key_setbits(tsigkey->key, digestbits);
1334 isc_uint16_t digestbits = 0;
1348 digestbits = parse_hmac(&hmacname, namestr, n - namestr);
1392 dst_key_setbits(tsigkey->key, digestbits);