Import BSDDB 4.7.25 (as of svn r89086)

This commit is contained in:
Zachary Ware
2017-09-04 13:40:25 -05:00
parent 4b29e0458f
commit 8f590873d0
4781 changed files with 2241032 additions and 6 deletions

38
dbinc_auto/crypto_ext.h Normal file
View File

@@ -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_ */