diff options
author | Günther Deschner <gd@samba.org> | 2012-11-29 21:23:30 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-09 19:39:07 +0100 |
commit | 429600c5f3079c8433d5a542383908d6ff61fe60 (patch) | |
tree | 03a27acf7668602e4147bb9cec6bbd2f2b51ac32 /libcli/auth/proto.h | |
parent | b6e2be8e147b4d34a0424a8851b03b24f180048c (diff) | |
download | samba-429600c5f3079c8433d5a542383908d6ff61fe60.tar.gz samba-429600c5f3079c8433d5a542383908d6ff61fe60.tar.bz2 samba-429600c5f3079c8433d5a542383908d6ff61fe60.zip |
libcli/auth: add netlogon_creds_aes_{en|de}crypt routines.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/auth/proto.h')
-rw-r--r-- | libcli/auth/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h index 37c87b4a74..b9d91d04ea 100644 --- a/libcli/auth/proto.h +++ b/libcli/auth/proto.h @@ -16,6 +16,8 @@ void netlogon_creds_des_decrypt_LMKey(struct netlogon_creds_CredentialState *cre void netlogon_creds_des_encrypt(struct netlogon_creds_CredentialState *creds, struct samr_Password *pass); void netlogon_creds_des_decrypt(struct netlogon_creds_CredentialState *creds, struct samr_Password *pass); void netlogon_creds_arcfour_crypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); +void netlogon_creds_aes_encrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); +void netlogon_creds_aes_decrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len); /***************************************************************** The above functions are common to the client and server interface |