cleanup: use dns_secalg_t and dns_dsdigest_t where appropriate

Use them in structs for various rdata types where they are missing.
This doesn't change the structs since we are replacing explicit
uint8_t field types with aliases for uint8_t.

Use dns_dsdigest_t in library function arguments.

Improve dnssec-cds with these more specific types.
39 jobs from u/fanf2/sectypes in 44 minutes and 41 seconds (queued for 3 seconds)
merge request
Status Job ID Name Coverage
  Precheck
passed #173421
linux amd64
🐞:sid:amd64

00:00:36

passed #173420
linux amd64
misc:sid:amd64

00:00:17

 
  Build
passed #173432
linux amd64
asan:sid:amd64

00:05:24

passed #173433
linux amd64
clang:stretch:amd64

00:02:03

passed #173434
linux i386
clang:stretch:i386

00:03:22

passed #173422
linux amd64
docs:sid:amd64

00:00:51

passed #173431
linux amd64
gcc:bionic:amd64

00:02:33

passed #173423
linux amd64
gcc:centos6:amd64

00:02:19

passed #173424
linux amd64
gcc:centos7:amd64

00:02:22

passed #173429
linux amd64
gcc:fedora29:amd64

00:02:42

passed #173425
linux amd64
gcc:jessie:amd64

00:01:54

passed #173427
linux amd64
gcc:sid:amd64

00:02:46

passed #173428
linux i386
gcc:sid:i386

00:03:33

passed #173426
linux amd64
gcc:stretch:amd64

00:01:59

passed #173430
linux amd64
gcc:xenial:amd64

00:02:45

passed #173435
linux amd64
pkcs11:sid:amd64

00:02:02

 
  Test
passed #173454
linux amd64
system:asan:sid:amd64

00:38:37

passed #173452
linux amd64
system:gcc:bionic:amd64

00:32:28

passed #173436
linux amd64
system:gcc:centos6:amd64

00:32:32

passed #173438
linux amd64
system:gcc:centos7:amd64

00:33:24

passed #173448
linux amd64
system:gcc:fedora29:amd64

00:34:15

passed #173440
linux amd64
system:gcc:jessie:amd64

00:33:43

passed #173444
linux amd64
system:gcc:sid:amd64

00:33:41

passed #173446
linux i386
system:gcc:sid:i386

00:32:43

passed #173442
linux amd64
system:gcc:stretch:amd64

00:32:47

passed #173450
linux amd64
system:gcc:xenial:amd64

00:33:39

passed #173457
linux amd64
system:pkcs11:sid:amd64

00:32:45

passed #173455
linux amd64
unit:asan:sid:amd64

00:02:11

passed #173456
linux amd64
unit:clang:stretch:amd64

00:01:47

passed #173453
linux amd64
unit:gcc:bionic:amd64

00:01:41

passed #173437
linux amd64
unit:gcc:centos6:amd64

00:01:18

passed #173439
linux amd64
unit:gcc:centos7:amd64

00:01:18

passed #173449
linux amd64
unit:gcc:fedora29:amd64

00:01:19

passed #173441
linux amd64
unit:gcc:jessie:amd64

00:00:33

passed #173445
linux amd64
unit:gcc:sid:amd64

00:01:57

passed #173447
linux i386
unit:gcc:sid:i386

00:01:16

passed #173443
linux amd64
unit:gcc:stretch:amd64

00:01:12

passed #173451
linux amd64
unit:gcc:xenial:amd64

00:01:21

passed #173458
linux amd64
unit:pkcs11:sid:amd64

00:01:16