]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add ASN.1 encoders and decoders for SPAKE types 713/head
authorGreg Hudson <ghudson@mit.edu>
Sat, 13 Jun 2015 20:04:53 +0000 (16:04 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sun, 4 Mar 2018 17:37:45 +0000 (12:37 -0500)
commit78a09d95dff6915da4079bc611f4bb95f6a95f70
tree1e77bf0284f065dde822890895c7472617c159ea
parentf79d71ecfd3aa2a25be6e4cef4eddd28bcccd722
Add ASN.1 encoders and decoders for SPAKE types

Add a new internal header k5-spake.h.  Add ASN.1 encoder and decoder
functions and an internal free function for SPAKE types.  Add ASN.1
tests and asn1c test vectors the new types.

The additions to to make-vectors.c use C99 designated initializers in
order to initialize unions.  This is okay since make-vectors.c is only
compiled as part of "make test-vectors" and not as part of the regular
build.
15 files changed:
src/include/k5-spake.h [new file with mode: 0644]
src/lib/krb5/asn.1/asn1_k_encode.c
src/lib/krb5/krb/kfree.c
src/lib/krb5/libkrb5.exports
src/tests/asn.1/Makefile.in
src/tests/asn.1/krb5_decode_test.c
src/tests/asn.1/krb5_encode_test.c
src/tests/asn.1/ktest.c
src/tests/asn.1/ktest.h
src/tests/asn.1/ktest_equal.c
src/tests/asn.1/ktest_equal.h
src/tests/asn.1/make-vectors.c
src/tests/asn.1/reference_encode.out
src/tests/asn.1/spake.asn1 [new file with mode: 0644]
src/tests/asn.1/trval_reference.out