Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
Makefile.in | H A D | 04-May-2020 | 3.2 KiB | 99 | 66 | |
README | H A D | 04-May-2020 | 1.3 KiB | 29 | 23 | |
cammac.asn1 | H A D | 04-May-2020 | 929 | 31 | 25 | |
debug.h | H A D | 04-May-2020 | 1.7 KiB | 47 | 8 | |
deps | H A D | 04-May-2020 | 4.8 KiB | 76 | 75 | |
krb5.asn1 | H A D | 04-May-2020 | 12.9 KiB | 393 | 333 | |
krb5_decode_leak.c | H A D | 04-May-2020 | 24.5 KiB | 687 | 460 | |
krb5_decode_test.c | H A D | 04-May-2020 | 86.5 KiB | 1,300 | 919 | |
krb5_encode_test.c | H A D | 04-May-2020 | 30.9 KiB | 871 | 638 | |
ktest.c | H A D | 04-May-2020 | 46.4 KiB | 1,873 | 1,617 | |
ktest.h | H A D | 04-May-2020 | 9.9 KiB | 215 | 169 | |
ktest_equal.c | H A D | 04-May-2020 | 32.3 KiB | 1,095 | 960 | |
ktest_equal.h | H A D | 04-May-2020 | 7.1 KiB | 159 | 106 | |
ldap_encode.out | H A D | 04-May-2020 | 447 | 2 | 1 | |
ldap_trval.out | H A D | 04-May-2020 | 868 | 31 | 28 | |
make-vectors.c | H A D | 04-May-2020 | 12.7 KiB | 334 | 218 | |
otp.asn1 | H A D | 04-May-2020 | 4 KiB | 110 | 96 | |
pkinit-agility.asn1 | H A D | 04-May-2020 | 3.6 KiB | 100 | 89 | |
pkinit.asn1 | H A D | 04-May-2020 | 10.6 KiB | 254 | 230 | |
pkinit_encode.out | H A D | 04-May-2020 | 1.7 KiB | 9 | 8 | |
pkinit_trval.out | H A D | 04-May-2020 | 3.3 KiB | 104 | 87 | |
pkix.asn1 | H A D | 04-May-2020 | 22.7 KiB | 655 | 491 | |
reference_encode.out | H A D | 04-May-2020 | 31.2 KiB | 81 | 80 | |
spake.asn1 | H A D | 04-May-2020 | 1 KiB | 45 | 37 | |
t_trval.c | H A D | 04-May-2020 | 3.5 KiB | 108 | 62 | |
trval.c | H A D | 04-May-2020 | 20.1 KiB | 770 | 618 | |
trval_reference.out | H A D | 04-May-2020 | 55.7 KiB | 1,637 | 1,477 | |
utility.c | H A D | 04-May-2020 | 3.6 KiB | 143 | 101 | |
utility.h | H A D | 04-May-2020 | 2.4 KiB | 58 | 11 |
README
1krb5_encode_test runs through all the functions declared in 2 src/include/krb5/asn.1/krb5_encode.h. It passes various sample 3 inputs to each function and prints the result to standard 4 output. This output should match the contents of the file 5 "reference_encode.out". 6 7 Each function is first run with a relatively simple, contrived 8 sample structure. Then if the structure has any optional parts, 9 these parts are cleared and another run is made. 10 11 Some structures (namely, those containing a krb5_kdc_req_body) 12 have a third run, due to the fact that two of the kdc_req_body's 13 optional fields have mutually exclusive conditions under which 14 they may be omitted. 15 16 17krb5_decode_test runs through all the functions declared in 18 src/include/krb5/asn.1/krb5_decode.h. It has the encodings in 19 reference_encode.out hard-coded into itself. It sets up the 20 krb5 structures the same way krb5_encode_test does, then passes 21 its hard-coded encoding strings through the krb5 decoders. 22 23 The outputs of these functions are compared to the previously 24 set-up structures in memory, and the results are reported to 25 standard output. If every line comes out prefixed by "OK: ", 26 then the decoders are working properly. If any decoder produces 27 an anomalous output, then its output line will be prefixed by 28 "ERROR: " 29