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:
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user