Add krb5_crypto_iov

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23645 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-08-21 21:23:57 +00:00
parent 2b1fadb026
commit f258e5136e

View File

@@ -760,6 +760,28 @@ struct credentials; /* this is to keep the compiler happy */
struct getargs; struct getargs;
struct sockaddr; struct sockaddr;
/**
* Semi private, not stable yet
*/
typedef struct krb5_crypto_iov {
unsigned int flags;
/* ignored */
#define KRB5_CRYPTO_TYPE_EMPTY 0
/* OUT krb5_crypto_length(crypto, len, KRB5_CRYPTO_TYPE_HEADER) */
#define KRB5_CRYPTO_TYPE_HEADER 1
/* IN and OUT */
#define KRB5_CRYPTO_TYPE_DATA 2
/* IN */
#define KRB5_CRYPTO_TYPE_SIGN_ONLY 3
/* (only for encryption) OUT krb5_crypto_length(crypto, len, KRB5_CRYPTO_TYPE_TRAILER) */
#define KRB5_CRYPTO_TYPE_PADDING 4
/* OUT krb5_crypto_length(crypto, len, KRB5_CRYPTO_TYPE_TRAILER) */
#define KRB5_CRYPTO_TYPE_TRAILER 5
krb5_data data;
} krb5_crypto_iov;
#include <krb5-protos.h> #include <krb5-protos.h>
/* variables */ /* variables */