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
amd64 linux
🐞:sid:amd64

00:00:36

passed #173420
amd64 linux
misc:sid:amd64

00:00:17

 
  Build
passed #173432
amd64 linux
asan:sid:amd64

00:05:24

passed #173433
amd64 linux
clang:stretch:amd64

00:02:03

passed #173434
i386 linux
clang:stretch:i386

00:03:22

passed #173422
amd64 linux
docs:sid:amd64

00:00:51

passed #173431
amd64 linux
gcc:bionic:amd64

00:02:33

passed #173423
amd64 linux
gcc:centos6:amd64

00:02:19

passed #173424
amd64 linux
gcc:centos7:amd64

00:02:22

passed #173429
amd64 linux
gcc:fedora29:amd64

00:02:42

passed #173425
amd64 linux
gcc:jessie:amd64

00:01:54

passed #173427
amd64 linux
gcc:sid:amd64

00:02:46

passed #173428
i386 linux
gcc:sid:i386

00:03:33

passed #173426
amd64 linux
gcc:stretch:amd64

00:01:59

passed #173430
amd64 linux
gcc:xenial:amd64

00:02:45

passed #173435
amd64 linux
pkcs11:sid:amd64

00:02:02

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

00:38:37

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

00:32:28

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

00:32:32

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

00:33:24

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

00:34:15

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

00:33:43

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

00:33:41

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

00:32:43

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

00:32:47

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

00:33:39

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

00:32:45

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

00:02:11

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

00:01:47

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

00:01:41

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

00:01:18

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

00:01:18

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

00:01:19

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

00:00:33

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

00:01:57

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

00:01:16

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

00:01:12

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

00:01:21

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

00:01:16