Skip to content

Commit f4aff77

Browse files
author
lzj
committed
优化编译脚本
1 parent 696740c commit f4aff77

File tree

31,575 files changed

+271
-845784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

31,575 files changed

+271
-845784
lines changed
-144 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
-144 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
-136 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
-320 Bytes
Binary file not shown.
-320 Bytes
Binary file not shown.
-256 Bytes
Binary file not shown.
-256 Bytes
Binary file not shown.
-272 Bytes
Binary file not shown.
-320 Bytes
Binary file not shown.
-288 Bytes
Binary file not shown.
-256 Bytes
Binary file not shown.
-384 Bytes
Binary file not shown.
-384 Bytes
Binary file not shown.
-384 Bytes
Binary file not shown.
-384 Bytes
Binary file not shown.
-400 Bytes
Binary file not shown.
-448 Bytes
Binary file not shown.
-384 Bytes
Binary file not shown.
-448 Bytes
Binary file not shown.

4.2/build-ffmpeg-android.sh

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,50 @@ SHELL_PATH=`pwd`
77
FF_PATH=$SHELL_PATH/$SOURCE
88
#输出路径
99
PREFIX=$SHELL_PATH/FFmpeg_android
10+
#需要编译的平台
1011
COMP_BUILD=$1
12+
#是否重新编译其他库
13+
COMP_OTHER=$2
14+
ANDROID_API=$3
15+
NDK=$4
1116

12-
#需要编译的Android API版本
13-
ANDROID_API=21
1417
#需要编译的NDK路径,NDK版本需大等于r15c
18+
if [ ! "$ANDROID_API" ]
19+
then
1520
NDK=/Users/lzj/Library/Android/sdk/ndk-bundle
21+
fi
1622

23+
#需要编译的Android API版本
24+
if [ ! "$ANDROID_API" ]
25+
then
26+
ANDROID_API=21
27+
fi
1728
if [ ! "$COMP_BUILD" ]
1829
then
1930
COMP_BUILD="all"
2031
fi
2132

2233
#x264库路径
34+
if [ "$COMP_OTHER" = "x264" ] || [ "$COMP_OTHER" = "all" ]
35+
then
2336
x264=$SHELL_PATH/x264_android
2437
if [ "$x264" ] && [[ $FF_VERSION == 3.0.* ]] || [[ $FF_VERSION == 3.1.* ]]
2538
then
2639
echo "Use low version x264"
27-
sh $SHELL_PATH/build-x264-android.sh $COMP_BUILD
40+
sh $SHELL_PATH/build-x264-android.sh $COMP_BUILD low $ANDROID_API $NDK
2841
elif [ "$x264" ]
2942
then
3043
echo "Use last version x264"
31-
#sh $SHELL_PATH/build-x264-android.sh $COMP_BUILD last $ANDROID_API $NDK
44+
sh $SHELL_PATH/build-x264-android.sh $COMP_BUILD last $ANDROID_API $NDK
45+
fi
3246
fi
3347

3448
#OpenSSL库路径
49+
if [ "$COMP_OTHER" = "openssl" ] || [ "$COMP_OTHER" = "all" ]
50+
then
3551
OpenSSL=$SHELL_PATH/openssl_android
36-
#sh $SHELL_PATH/build-openssl-android.sh $COMP_BUILD
52+
sh $SHELL_PATH/build-openssl-android.sh $COMP_BUILD $ANDROID_API $NDK
53+
fi
3754

3855
#需要编译的平台:arm arm64 x86 x86_64,可传入平台单独编译对应的库
3956
ARCHS=(arm arm64 x86 x86_64)
@@ -44,7 +61,7 @@ FF_CONFIGURE_FLAGS="--enable-static --disable-shared --disable-encoders --disabl
4461
FF_CONFIGURE_FLAGS="$FF_CONFIGURE_FLAGS --enable-mediacodec --enable-decoder=h264_mediacodec --enable-decoder=hevc_mediacodec --enable-decoder=mpeg4_mediacodec --enable-decoder=vp8_mediacodec --enable-decoder=vp9_mediacodec"
4562
FF_CONFIGURE_FLAGS="$FF_CONFIGURE_FLAGS --enable-encoder=h264,aac --enable-decoder=h264,aac --enable-muxer=h264,aac,flv --enable-demuxer=h264,aac,flv --enable-parser=h264,aac --disable-protocol=rtp --disable-protocol=sctp --disable-protocol=ftp --disable-protocol=hls --disable-protocol=concat --disable-protocol=icecast --disable-bsfs --enable-bsf=aac_adtstoasc --enable-bsf=h264_mp4toannexb --enable-bsf=null --enable-bsf=noise"
4663

47-
rm -rf "$PREFIX"
64+
#rm -rf "$PREFIX"
4865
#rm -rf "$SOURCE"
4966
if [ ! -r $SOURCE ]
5067
then
@@ -121,6 +138,7 @@ do
121138
then
122139
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${OpenSSL}/${ARCHS[$i]}$TRMP_P/lib/pkgconfig
123140
FF_EXTRA_CONFIGURE_FLAGS="$FF_EXTRA_CONFIGURE_FLAGS --enable-openssl --pkg-config=pkg-config"
141+
# FF_EXTRA_CONFIGURE_FLAGS="$FF_EXTRA_CONFIGURE_FLAGS --enable-openssl"
124142
FF_EXTRA_CFLAGS="$FF_EXTRA_CFLAGS -I$OpenSSL/${ARCHS[$i]}$TRMP_P/include"
125143
FF_LDFLAGS="$FF_LDFLAGS -L$OpenSSL/${ARCHS[$i]}$TRMP_P/lib"
126144
else

4.2/build-ffmpeg-patch.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ patch -p0 -f $FF_PATH/configure < $SHELL_PATH/ffmpeg_modify_configure_to_gcc.pat
99
fi
1010
set +x
1111

12-
12+
patch -p0 -N --dry-run --silent -f $FF_PATH/configure < $SHELL_PATH/ffmpeg_modify_configure_to_openssl.patch 1>/dev/null
13+
if [ $? -eq 0 ]; then
14+
patch -p0 -f $FF_PATH/configure < $SHELL_PATH/ffmpeg_modify_configure_to_openssl.patch
15+
fi
16+
set +x

4.2/build-openssl-android.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#https://www.openssl.org/source/openssl-1.1.1d.tar.gz
33

4-
OPENSSL_VERSION="1.1.1d"
4+
OPENSSL_VERSION="1.1.1f"
55
SOURCE="openssl-$OPENSSL_VERSION"
66
SHELL_PATH=`pwd`
77
OPENSSL_PATH=$SHELL_PATH/$SOURCE
@@ -37,7 +37,7 @@ TRIPLES_PATH=(arm-linux-androideabi-4.9 aarch64-linux-android-4.9 x86-4.9 x86_64
3737
#FF_CONFIGURE_FLAGS="-D__ANDROID_API__=$ANDROID_API no-ssl2 no-ssl3 no-comp no-hw no-engine"
3838
FF_CONFIGURE_FLAGS="-D__ANDROID_API__=$ANDROID_API no-engine"
3939

40-
rm -rf "$PREFIX"
40+
#rm -rf "$PREFIX"
4141
#rm -rf "$SOURCE"
4242
if [ ! -r $SOURCE ]
4343
then
@@ -62,7 +62,8 @@ do
6262
CC=gcc
6363
echo PATH=$PATH
6464
if [ "$COMP_BUILD" = "all" -o "$COMP_BUILD" = "$ARCH" ]
65-
then
65+
then
66+
TRMP_P=""
6667
if [ "$ARCH" = "arm" ]
6768
then
6869
TRMP_P="eabi-v7a"
@@ -95,6 +96,7 @@ do
9596
$FF_FLAGS || exit 1
9697
make -j3 && make -j3 install || exit 1
9798
make clean
99+
rm -rf "$PREFIX_ARCH/share" "$PREFIX_ARCH/bin" "$PREFIX_ARCH/ssl"
98100
# if [[ $FF_FLAGS == *no-shared* ]]
99101
# then
100102
# mv $PREFIX_ARCH/lib/libcrypto.so.* $PREFIX_ARCH/lib/libcrypto.so

4.2/build-x264-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ TRIPLES_PATH=(arm-linux-androideabi-4.9 aarch64-linux-android-4.9 x86-4.9 x86_64
4242
FF_FLAGS="--enable-static --enable-pic --disable-cli"
4343
#FF_FLAGS="--enable-shared --enable-pic --disable-cli"
4444

45-
rm -rf "$PREFIX"
45+
#rm -rf "$PREFIX"
4646
#rm -rf "$SOURCE"
4747
if [ ! -r $SOURCE ]
4848
then

4.2/openssl_android/arm64-v8a/include/openssl/bio.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
2+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
33
*
44
* Licensed under the OpenSSL license (the "License"). You may not use
55
* this file except in compliance with the License. You can obtain a copy
@@ -169,6 +169,7 @@ extern "C" {
169169
*/
170170
# define BIO_FLAGS_MEM_RDONLY 0x200
171171
# define BIO_FLAGS_NONCLEAR_RST 0x400
172+
# define BIO_FLAGS_IN_EOF 0x800
172173

173174
typedef union bio_addr_st BIO_ADDR;
174175
typedef struct bio_addrinfo_st BIO_ADDRINFO;

4.2/openssl_android/arm64-v8a/include/openssl/ct.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,6 @@ __owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
463463

464464
/*
465465
* Loads the default CT log list into a |store|.
466-
* See internal/cryptlib.h for the environment variable and file path that are
467-
* consulted to find the default file.
468466
* Returns 1 if loading is successful, or 0 otherwise.
469467
*/
470468
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);

4.2/openssl_android/arm64-v8a/include/openssl/dsa.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ DH *DSA_dup_DH(const DSA *r);
162162
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
163163
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
164164
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
165+
# define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \
166+
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
167+
EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS, qbits, NULL)
168+
# define EVP_PKEY_CTX_set_dsa_paramgen_md(ctx, md) \
169+
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
170+
EVP_PKEY_CTRL_DSA_PARAMGEN_MD, 0, (void *)(md))
165171

166172
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
167173
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)

4.2/openssl_android/arm64-v8a/include/openssl/dtls1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extern "C" {
4343

4444
# define DTLS1_AL_HEADER_LENGTH 2
4545

46-
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
46+
/* Timeout multipliers */
4747
# define DTLS1_TMO_READ_COUNT 2
4848
# define DTLS1_TMO_WRITE_COUNT 2
4949

4.2/openssl_android/arm64-v8a/include/openssl/evp.h

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
180180
* if the following flag is set.
181181
*/
182182
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
183-
/* NOTE: 0x0400 is reserved for internal usage in evp_int.h */
183+
/* NOTE: 0x0400 is reserved for internal usage */
184184

185185
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
186186
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
@@ -1512,6 +1512,20 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
15121512
const char *type,
15131513
const char *value));
15141514

1515+
void EVP_PKEY_meth_set_digestsign(EVP_PKEY_METHOD *pmeth,
1516+
int (*digestsign) (EVP_MD_CTX *ctx,
1517+
unsigned char *sig,
1518+
size_t *siglen,
1519+
const unsigned char *tbs,
1520+
size_t tbslen));
1521+
1522+
void EVP_PKEY_meth_set_digestverify(EVP_PKEY_METHOD *pmeth,
1523+
int (*digestverify) (EVP_MD_CTX *ctx,
1524+
const unsigned char *sig,
1525+
size_t siglen,
1526+
const unsigned char *tbs,
1527+
size_t tbslen));
1528+
15151529
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
15161530
int (*check) (EVP_PKEY *pkey));
15171531

@@ -1617,6 +1631,20 @@ void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
16171631
const char *type,
16181632
const char *value));
16191633

1634+
void EVP_PKEY_meth_get_digestsign(EVP_PKEY_METHOD *pmeth,
1635+
int (**digestsign) (EVP_MD_CTX *ctx,
1636+
unsigned char *sig,
1637+
size_t *siglen,
1638+
const unsigned char *tbs,
1639+
size_t tbslen));
1640+
1641+
void EVP_PKEY_meth_get_digestverify(EVP_PKEY_METHOD *pmeth,
1642+
int (**digestverify) (EVP_MD_CTX *ctx,
1643+
const unsigned char *sig,
1644+
size_t siglen,
1645+
const unsigned char *tbs,
1646+
size_t tbslen));
1647+
16201648
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
16211649
int (**pcheck) (EVP_PKEY *pkey));
16221650

4.2/openssl_android/arm64-v8a/include/openssl/evperr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Generated by util/mkerr.pl DO NOT EDIT
3-
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
3+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
44
*
55
* Licensed under the OpenSSL license (the "License"). You may not use
66
* this file except in compliance with the License. You can obtain a copy
@@ -160,6 +160,7 @@ int ERR_load_EVP_strings(void);
160160
# define EVP_R_INPUT_NOT_INITIALIZED 111
161161
# define EVP_R_INVALID_DIGEST 152
162162
# define EVP_R_INVALID_FIPS_MODE 168
163+
# define EVP_R_INVALID_IV_LENGTH 194
163164
# define EVP_R_INVALID_KEY 163
164165
# define EVP_R_INVALID_KEY_LENGTH 130
165166
# define EVP_R_INVALID_OPERATION 148

4.2/openssl_android/arm64-v8a/include/openssl/lhash.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
2+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
33
*
44
* Licensed under the OpenSSL license (the "License"). You may not use
55
* this file except in compliance with the License. You can obtain a copy
@@ -120,9 +120,8 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
120120

121121
# define DEFINE_LHASH_OF(type) \
122122
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
123-
static ossl_inline LHASH_OF(type) * \
124-
lh_##type##_new(unsigned long (*hfn)(const type *), \
125-
int (*cfn)(const type *, const type *)) \
123+
static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *), \
124+
int (*cfn)(const type *, const type *)) \
126125
{ \
127126
return (LHASH_OF(type) *) \
128127
OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); \

4.2/openssl_android/arm64-v8a/include/openssl/obj_mac.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* WARNING: do not edit!
33
* Generated by crypto/objects/objects.pl
44
*
5-
* Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
5+
* Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
66
* Licensed under the OpenSSL license (the "License"). You may not use
77
* this file except in compliance with the License. You can obtain a copy
88
* in the file LICENSE in the source distribution or at
@@ -1290,12 +1290,12 @@
12901290
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
12911291

12921292
#define SN_ms_smartcard_login "msSmartcardLogin"
1293-
#define LN_ms_smartcard_login "Microsoft Smartcardlogin"
1293+
#define LN_ms_smartcard_login "Microsoft Smartcard Login"
12941294
#define NID_ms_smartcard_login 648
12951295
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
12961296

12971297
#define SN_ms_upn "msUPN"
1298-
#define LN_ms_upn "Microsoft Universal Principal Name"
1298+
#define LN_ms_upn "Microsoft User Principal Name"
12991299
#define NID_ms_upn 649
13001300
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
13011301

4.2/openssl_android/arm64-v8a/include/openssl/ocsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ typedef struct ocsp_service_locator_st OCSP_SERVICELOC;
123123
(char *(*)())d2i_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST, \
124124
bp,(char **)(x),cb,NULL)
125125

126-
# define PEM_read_bio_OCSP_RESPONSE(bp,x,cb)(OCSP_RESPONSE *)PEM_ASN1_read_bio(\
126+
# define PEM_read_bio_OCSP_RESPONSE(bp,x,cb) (OCSP_RESPONSE *)PEM_ASN1_read_bio(\
127127
(char *(*)())d2i_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE, \
128128
bp,(char **)(x),cb,NULL)
129129

4.2/openssl_android/arm64-v8a/include/openssl/opensslconf.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ extern "C" {
9999
#ifndef OPENSSL_NO_STATIC_ENGINE
100100
# define OPENSSL_NO_STATIC_ENGINE
101101
#endif
102-
#ifndef OPENSSL_NO_AFALGENG
103-
# define OPENSSL_NO_AFALGENG
104-
#endif
105102

106103

107104
/*

4.2/openssl_android/arm64-v8a/include/openssl/opensslv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
2+
* Copyright 1999-2020 The OpenSSL Project Authors. All Rights Reserved.
33
*
44
* Licensed under the OpenSSL license (the "License"). You may not use
55
* this file except in compliance with the License. You can obtain a copy
@@ -39,8 +39,8 @@ extern "C" {
3939
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
4040
* major minor fix final patch/beta)
4141
*/
42-
# define OPENSSL_VERSION_NUMBER 0x1010104fL
43-
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1d 10 Sep 2019"
42+
# define OPENSSL_VERSION_NUMBER 0x1010106fL
43+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1f 31 Mar 2020"
4444

4545
/*-
4646
* The macros below are to be used for shared library (.so, .dll, ...)

4.2/openssl_android/arm64-v8a/include/openssl/ossl_typ.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ typedef struct dsa_method DSA_METHOD;
109109

110110
typedef struct rsa_st RSA;
111111
typedef struct rsa_meth_st RSA_METHOD;
112+
typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
112113

113114
typedef struct ec_key_st EC_KEY;
114115
typedef struct ec_key_method_st EC_KEY_METHOD;

4.2/openssl_android/arm64-v8a/include/openssl/randerr.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Generated by util/mkerr.pl DO NOT EDIT
3-
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
3+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
44
*
55
* Licensed under the OpenSSL license (the "License"). You may not use
66
* this file except in compliance with the License. You can obtain a copy
@@ -21,6 +21,7 @@ int ERR_load_RAND_strings(void);
2121
/*
2222
* RAND function codes.
2323
*/
24+
# define RAND_F_DATA_COLLECT_METHOD 127
2425
# define RAND_F_DRBG_BYTES 101
2526
# define RAND_F_DRBG_GET_ENTROPY 105
2627
# define RAND_F_DRBG_SETUP 117
@@ -46,6 +47,7 @@ int ERR_load_RAND_strings(void);
4647
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
4748
# define RAND_F_RAND_POOL_GROW 125
4849
# define RAND_F_RAND_POOL_NEW 116
50+
# define RAND_F_RAND_PSEUDO_BYTES 126
4951
# define RAND_F_RAND_WRITE_FILE 112
5052

5153
/*

4.2/openssl_android/arm64-v8a/include/openssl/rsa.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ const BIGNUM *RSA_get0_q(const RSA *d);
224224
const BIGNUM *RSA_get0_dmp1(const RSA *r);
225225
const BIGNUM *RSA_get0_dmq1(const RSA *r);
226226
const BIGNUM *RSA_get0_iqmp(const RSA *r);
227+
const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
227228
void RSA_clear_flags(RSA *r, int flags);
228229
int RSA_test_flags(const RSA *r, int flags);
229230
void RSA_set_flags(RSA *r, int flags);
@@ -279,14 +280,14 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
279280
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
280281
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
281282

282-
typedef struct rsa_pss_params_st {
283+
struct rsa_pss_params_st {
283284
X509_ALGOR *hashAlgorithm;
284285
X509_ALGOR *maskGenAlgorithm;
285286
ASN1_INTEGER *saltLength;
286287
ASN1_INTEGER *trailerField;
287288
/* Decoded hash algorithm from maskGenAlgorithm */
288289
X509_ALGOR *maskHash;
289-
} RSA_PSS_PARAMS;
290+
};
290291

291292
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
292293

4.2/openssl_android/arm64-v8a/include/openssl/sslerr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Generated by util/mkerr.pl DO NOT EDIT
3-
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
3+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
44
*
55
* Licensed under the OpenSSL license (the "License"). You may not use
66
* this file except in compliance with the License. You can obtain a copy
@@ -88,6 +88,7 @@ int ERR_load_SSL_strings(void);
8888
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
8989
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
9090
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
91+
# define SSL_F_OSSL_STATEM_SERVER_PRE_WORK 640
9192
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
9293
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
9394
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
3.18 KB
Binary file not shown.

4.2/openssl_android/arm64-v8a/lib/libcrypto.so

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
1.99 KB
Binary file not shown.

4.2/openssl_android/arm64-v8a/lib/libssl.so

Lines changed: 0 additions & 1 deletion
This file was deleted.
-599 KB
Binary file not shown.

0 commit comments

Comments
 (0)