1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-07 19:13:20 +00:00

Updated OpenSSL

This commit is contained in:
Bryan Roe
2019-01-11 11:10:28 -08:00
parent d336775275
commit 1c5d386e56
83 changed files with 3025 additions and 4524 deletions

View File

@@ -7,11 +7,14 @@
* https://www.openssl.org/source/license.html
*/
#include <stddef.h>
#ifndef HEADER_MODES_H
# define HEADER_MODES_H
#ifdef __cplusplus
# include <stddef.h>
# ifdef __cplusplus
extern "C" {
#endif
# endif
typedef void (*block128_f) (const unsigned char in[16],
unsigned char out[16], const void *key);
@@ -166,7 +169,7 @@ size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv,
unsigned char *out, const unsigned char *in,
size_t inlen, block128_f block);
#ifndef OPENSSL_NO_OCB
# ifndef OPENSSL_NO_OCB
typedef struct ocb128_context OCB128_CONTEXT;
typedef void (*ocb128_f) (const unsigned char *in, unsigned char *out,
@@ -196,8 +199,10 @@ int CRYPTO_ocb128_finish(OCB128_CONTEXT *ctx, const unsigned char *tag,
size_t len);
int CRYPTO_ocb128_tag(OCB128_CONTEXT *ctx, unsigned char *tag, size_t len);
void CRYPTO_ocb128_cleanup(OCB128_CONTEXT *ctx);
#endif /* OPENSSL_NO_OCB */
# endif /* OPENSSL_NO_OCB */
#ifdef __cplusplus
# ifdef __cplusplus
}
# endif
#endif