From 54df2afaa61c6a03cbb4a33c9b90fa572b6d07b8 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 17 Dec 2016 21:28:53 -0800 Subject: Berkeley DB 4.8 with rust build script for linux. --- db-4.8.30/dbinc_auto/crypto_ext.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 db-4.8.30/dbinc_auto/crypto_ext.h (limited to 'db-4.8.30/dbinc_auto/crypto_ext.h') diff --git a/db-4.8.30/dbinc_auto/crypto_ext.h b/db-4.8.30/dbinc_auto/crypto_ext.h new file mode 100644 index 0000000..cd7113d --- /dev/null +++ b/db-4.8.30/dbinc_auto/crypto_ext.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT: automatically built by dist/s_include. */ +#ifndef _crypto_ext_h_ +#define _crypto_ext_h_ + +#if defined(__cplusplus) +extern "C" { +#endif + +int __aes_setup __P((ENV *, DB_CIPHER *)); +u_int __aes_adj_size __P((size_t)); +int __aes_close __P((ENV *, void *)); +int __aes_decrypt __P((ENV *, void *, void *, u_int8_t *, size_t)); +int __aes_encrypt __P((ENV *, void *, void *, u_int8_t *, size_t)); +int __aes_init __P((ENV *, DB_CIPHER *)); +int __crypto_env_close __P((ENV *)); +int __crypto_env_refresh __P((ENV *)); +int __crypto_algsetup __P((ENV *, DB_CIPHER *, u_int32_t, int)); +int __crypto_decrypt_meta __P((ENV *, DB *, u_int8_t *, int)); +int __crypto_set_passwd __P((ENV *, ENV *)); +int __db_generate_iv __P((ENV *, u_int32_t *)); +int __db_rijndaelKeySetupEnc __P((u32 *, const u8 *, int)); +int __db_rijndaelKeySetupDec __P((u32 *, const u8 *, int)); +void __db_rijndaelEncrypt __P((u32 *, int, const u8 *, u8 *)); +void __db_rijndaelDecrypt __P((u32 *, int, const u8 *, u8 *)); +void __db_rijndaelEncryptRound __P((const u32 *, int, u8 *, int)); +void __db_rijndaelDecryptRound __P((const u32 *, int, u8 *, int)); +int __db_makeKey __P((keyInstance *, int, int, char *)); +int __db_cipherInit __P((cipherInstance *, int, char *)); +int __db_blockEncrypt __P((cipherInstance *, keyInstance *, u_int8_t *, size_t, u_int8_t *)); +int __db_padEncrypt __P((cipherInstance *, keyInstance *, u_int8_t *, int, u_int8_t *)); +int __db_blockDecrypt __P((cipherInstance *, keyInstance *, u_int8_t *, size_t, u_int8_t *)); +int __db_padDecrypt __P((cipherInstance *, keyInstance *, u_int8_t *, int, u_int8_t *)); +int __db_cipherUpdateRounds __P((cipherInstance *, keyInstance *, u_int8_t *, int, u_int8_t *, int)); + +#if defined(__cplusplus) +} +#endif +#endif /* !_crypto_ext_h_ */ -- cgit v1.2.3