@annadata/capacitor-mqtt-quic 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/include/nghttp3/nghttp3.h +3295 -0
- package/ios/include/nghttp3/version.h +46 -0
- package/ios/include/ngtcp2/ngtcp2.h +6254 -0
- package/ios/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +147 -0
- package/ios/include/ngtcp2/version.h +51 -0
- package/ios/include/openssl/aes.h +111 -0
- package/ios/include/openssl/asn1.h +1131 -0
- package/ios/include/openssl/asn1_mac.h +10 -0
- package/ios/include/openssl/asn1err.h +140 -0
- package/ios/include/openssl/asn1t.h +946 -0
- package/ios/include/openssl/async.h +96 -0
- package/ios/include/openssl/asyncerr.h +29 -0
- package/ios/include/openssl/bio.h +887 -0
- package/ios/include/openssl/bioerr.h +65 -0
- package/ios/include/openssl/blowfish.h +78 -0
- package/ios/include/openssl/bn.h +584 -0
- package/ios/include/openssl/bnerr.h +47 -0
- package/ios/include/openssl/buffer.h +62 -0
- package/ios/include/openssl/buffererr.h +25 -0
- package/ios/include/openssl/camellia.h +117 -0
- package/ios/include/openssl/cast.h +71 -0
- package/ios/include/openssl/cmac.h +52 -0
- package/ios/include/openssl/cmp.h +597 -0
- package/ios/include/openssl/cmp_util.h +56 -0
- package/ios/include/openssl/cmperr.h +116 -0
- package/ios/include/openssl/cms.h +493 -0
- package/ios/include/openssl/cmserr.h +124 -0
- package/ios/include/openssl/comp.h +59 -0
- package/ios/include/openssl/comperr.h +31 -0
- package/ios/include/openssl/conf.h +214 -0
- package/ios/include/openssl/conf_api.h +46 -0
- package/ios/include/openssl/conferr.h +52 -0
- package/ios/include/openssl/configuration.h +149 -0
- package/ios/include/openssl/conftypes.h +44 -0
- package/ios/include/openssl/core.h +233 -0
- package/ios/include/openssl/core_dispatch.h +960 -0
- package/ios/include/openssl/core_names.h +561 -0
- package/ios/include/openssl/core_object.h +41 -0
- package/ios/include/openssl/crmf.h +227 -0
- package/ios/include/openssl/crmferr.h +50 -0
- package/ios/include/openssl/crypto.h +558 -0
- package/ios/include/openssl/cryptoerr.h +55 -0
- package/ios/include/openssl/cryptoerr_legacy.h +1466 -0
- package/ios/include/openssl/ct.h +573 -0
- package/ios/include/openssl/cterr.h +45 -0
- package/ios/include/openssl/decoder.h +133 -0
- package/ios/include/openssl/decodererr.h +28 -0
- package/ios/include/openssl/des.h +211 -0
- package/ios/include/openssl/dh.h +335 -0
- package/ios/include/openssl/dherr.h +58 -0
- package/ios/include/openssl/dsa.h +280 -0
- package/ios/include/openssl/dsaerr.h +44 -0
- package/ios/include/openssl/dtls1.h +57 -0
- package/ios/include/openssl/e_os2.h +308 -0
- package/ios/include/openssl/ebcdic.h +39 -0
- package/ios/include/openssl/ec.h +1572 -0
- package/ios/include/openssl/ecdh.h +10 -0
- package/ios/include/openssl/ecdsa.h +10 -0
- package/ios/include/openssl/ecerr.h +104 -0
- package/ios/include/openssl/encoder.h +124 -0
- package/ios/include/openssl/encodererr.h +28 -0
- package/ios/include/openssl/engine.h +833 -0
- package/ios/include/openssl/engineerr.h +63 -0
- package/ios/include/openssl/err.h +504 -0
- package/ios/include/openssl/ess.h +128 -0
- package/ios/include/openssl/esserr.h +32 -0
- package/ios/include/openssl/evp.h +2175 -0
- package/ios/include/openssl/evperr.h +134 -0
- package/ios/include/openssl/fips_names.h +77 -0
- package/ios/include/openssl/fipskey.h +36 -0
- package/ios/include/openssl/hmac.h +62 -0
- package/ios/include/openssl/http.h +109 -0
- package/ios/include/openssl/httperr.h +55 -0
- package/ios/include/openssl/idea.h +82 -0
- package/ios/include/openssl/kdf.h +138 -0
- package/ios/include/openssl/kdferr.h +16 -0
- package/ios/include/openssl/lhash.h +331 -0
- package/ios/include/openssl/macros.h +325 -0
- package/ios/include/openssl/md2.h +56 -0
- package/ios/include/openssl/md4.h +63 -0
- package/ios/include/openssl/md5.h +62 -0
- package/ios/include/openssl/mdc2.h +55 -0
- package/ios/include/openssl/modes.h +219 -0
- package/ios/include/openssl/obj_mac.h +5481 -0
- package/ios/include/openssl/objects.h +183 -0
- package/ios/include/openssl/objectserr.h +28 -0
- package/ios/include/openssl/ocsp.h +483 -0
- package/ios/include/openssl/ocsperr.h +53 -0
- package/ios/include/openssl/opensslconf.h +17 -0
- package/ios/include/openssl/opensslv.h +114 -0
- package/ios/include/openssl/ossl_typ.h +16 -0
- package/ios/include/openssl/param_build.h +63 -0
- package/ios/include/openssl/params.h +160 -0
- package/ios/include/openssl/pem.h +541 -0
- package/ios/include/openssl/pem2.h +19 -0
- package/ios/include/openssl/pemerr.h +58 -0
- package/ios/include/openssl/pkcs12.h +353 -0
- package/ios/include/openssl/pkcs12err.h +45 -0
- package/ios/include/openssl/pkcs7.h +430 -0
- package/ios/include/openssl/pkcs7err.h +63 -0
- package/ios/include/openssl/prov_ssl.h +34 -0
- package/ios/include/openssl/proverr.h +149 -0
- package/ios/include/openssl/provider.h +60 -0
- package/ios/include/openssl/quic.h +19 -0
- package/ios/include/openssl/rand.h +125 -0
- package/ios/include/openssl/randerr.h +69 -0
- package/ios/include/openssl/rc2.h +68 -0
- package/ios/include/openssl/rc4.h +47 -0
- package/ios/include/openssl/rc5.h +79 -0
- package/ios/include/openssl/ripemd.h +59 -0
- package/ios/include/openssl/rsa.h +610 -0
- package/ios/include/openssl/rsaerr.h +107 -0
- package/ios/include/openssl/safestack.h +297 -0
- package/ios/include/openssl/seed.h +113 -0
- package/ios/include/openssl/self_test.h +94 -0
- package/ios/include/openssl/sha.h +138 -0
- package/ios/include/openssl/srp.h +285 -0
- package/ios/include/openssl/srtp.h +56 -0
- package/ios/include/openssl/ssl.h +2671 -0
- package/ios/include/openssl/ssl2.h +30 -0
- package/ios/include/openssl/ssl3.h +347 -0
- package/ios/include/openssl/sslerr.h +348 -0
- package/ios/include/openssl/sslerr_legacy.h +468 -0
- package/ios/include/openssl/stack.h +90 -0
- package/ios/include/openssl/store.h +369 -0
- package/ios/include/openssl/storeerr.h +49 -0
- package/ios/include/openssl/symhacks.h +39 -0
- package/ios/include/openssl/tls1.h +1186 -0
- package/ios/include/openssl/trace.h +312 -0
- package/ios/include/openssl/ts.h +505 -0
- package/ios/include/openssl/tserr.h +67 -0
- package/ios/include/openssl/txt_db.h +63 -0
- package/ios/include/openssl/types.h +239 -0
- package/ios/include/openssl/ui.h +407 -0
- package/ios/include/openssl/uierr.h +38 -0
- package/ios/include/openssl/whrlpool.h +62 -0
- package/ios/include/openssl/x509.h +1279 -0
- package/ios/include/openssl/x509_vfy.h +894 -0
- package/ios/include/openssl/x509err.h +69 -0
- package/ios/include/openssl/x509v3.h +1453 -0
- package/ios/include/openssl/x509v3err.h +93 -0
- package/ios/libs/libcrypto.a +0 -0
- package/ios/libs/libnghttp3.a +0 -0
- package/ios/libs/libngtcp2.a +0 -0
- package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
- package/ios/libs/libssl.a +0 -0
- package/package.json +2 -2
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
6
|
+
* in the file LICENSE in the source distribution or at
|
|
7
|
+
* https://www.openssl.org/source/license.html
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef OPENSSL_DECODER_H
|
|
11
|
+
# define OPENSSL_DECODER_H
|
|
12
|
+
# pragma once
|
|
13
|
+
|
|
14
|
+
# include <openssl/opensslconf.h>
|
|
15
|
+
|
|
16
|
+
# ifndef OPENSSL_NO_STDIO
|
|
17
|
+
# include <stdio.h>
|
|
18
|
+
# endif
|
|
19
|
+
# include <stdarg.h>
|
|
20
|
+
# include <stddef.h>
|
|
21
|
+
# include <openssl/decodererr.h>
|
|
22
|
+
# include <openssl/types.h>
|
|
23
|
+
# include <openssl/core.h>
|
|
24
|
+
|
|
25
|
+
# ifdef __cplusplus
|
|
26
|
+
extern "C" {
|
|
27
|
+
# endif
|
|
28
|
+
|
|
29
|
+
OSSL_DECODER *OSSL_DECODER_fetch(OSSL_LIB_CTX *libctx, const char *name,
|
|
30
|
+
const char *properties);
|
|
31
|
+
int OSSL_DECODER_up_ref(OSSL_DECODER *encoder);
|
|
32
|
+
void OSSL_DECODER_free(OSSL_DECODER *encoder);
|
|
33
|
+
|
|
34
|
+
const OSSL_PROVIDER *OSSL_DECODER_get0_provider(const OSSL_DECODER *encoder);
|
|
35
|
+
const char *OSSL_DECODER_get0_properties(const OSSL_DECODER *encoder);
|
|
36
|
+
const char *OSSL_DECODER_get0_name(const OSSL_DECODER *decoder);
|
|
37
|
+
const char *OSSL_DECODER_get0_description(const OSSL_DECODER *decoder);
|
|
38
|
+
int OSSL_DECODER_is_a(const OSSL_DECODER *encoder, const char *name);
|
|
39
|
+
|
|
40
|
+
void OSSL_DECODER_do_all_provided(OSSL_LIB_CTX *libctx,
|
|
41
|
+
void (*fn)(OSSL_DECODER *encoder, void *arg),
|
|
42
|
+
void *arg);
|
|
43
|
+
int OSSL_DECODER_names_do_all(const OSSL_DECODER *encoder,
|
|
44
|
+
void (*fn)(const char *name, void *data),
|
|
45
|
+
void *data);
|
|
46
|
+
const OSSL_PARAM *OSSL_DECODER_gettable_params(OSSL_DECODER *decoder);
|
|
47
|
+
int OSSL_DECODER_get_params(OSSL_DECODER *decoder, OSSL_PARAM params[]);
|
|
48
|
+
|
|
49
|
+
const OSSL_PARAM *OSSL_DECODER_settable_ctx_params(OSSL_DECODER *encoder);
|
|
50
|
+
OSSL_DECODER_CTX *OSSL_DECODER_CTX_new(void);
|
|
51
|
+
int OSSL_DECODER_CTX_set_params(OSSL_DECODER_CTX *ctx,
|
|
52
|
+
const OSSL_PARAM params[]);
|
|
53
|
+
void OSSL_DECODER_CTX_free(OSSL_DECODER_CTX *ctx);
|
|
54
|
+
|
|
55
|
+
/* Utilities that help set specific parameters */
|
|
56
|
+
int OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx,
|
|
57
|
+
const unsigned char *kstr, size_t klen);
|
|
58
|
+
int OSSL_DECODER_CTX_set_pem_password_cb(OSSL_DECODER_CTX *ctx,
|
|
59
|
+
pem_password_cb *cb, void *cbarg);
|
|
60
|
+
int OSSL_DECODER_CTX_set_passphrase_cb(OSSL_DECODER_CTX *ctx,
|
|
61
|
+
OSSL_PASSPHRASE_CALLBACK *cb,
|
|
62
|
+
void *cbarg);
|
|
63
|
+
int OSSL_DECODER_CTX_set_passphrase_ui(OSSL_DECODER_CTX *ctx,
|
|
64
|
+
const UI_METHOD *ui_method,
|
|
65
|
+
void *ui_data);
|
|
66
|
+
|
|
67
|
+
/*
|
|
68
|
+
* Utilities to read the object to decode, with the result sent to cb.
|
|
69
|
+
* These will discover all provided methods
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
int OSSL_DECODER_CTX_set_selection(OSSL_DECODER_CTX *ctx, int selection);
|
|
73
|
+
int OSSL_DECODER_CTX_set_input_type(OSSL_DECODER_CTX *ctx,
|
|
74
|
+
const char *input_type);
|
|
75
|
+
int OSSL_DECODER_CTX_set_input_structure(OSSL_DECODER_CTX *ctx,
|
|
76
|
+
const char *input_structure);
|
|
77
|
+
int OSSL_DECODER_CTX_add_decoder(OSSL_DECODER_CTX *ctx, OSSL_DECODER *decoder);
|
|
78
|
+
int OSSL_DECODER_CTX_add_extra(OSSL_DECODER_CTX *ctx,
|
|
79
|
+
OSSL_LIB_CTX *libctx, const char *propq);
|
|
80
|
+
int OSSL_DECODER_CTX_get_num_decoders(OSSL_DECODER_CTX *ctx);
|
|
81
|
+
|
|
82
|
+
typedef struct ossl_decoder_instance_st OSSL_DECODER_INSTANCE;
|
|
83
|
+
OSSL_DECODER *
|
|
84
|
+
OSSL_DECODER_INSTANCE_get_decoder(OSSL_DECODER_INSTANCE *decoder_inst);
|
|
85
|
+
void *
|
|
86
|
+
OSSL_DECODER_INSTANCE_get_decoder_ctx(OSSL_DECODER_INSTANCE *decoder_inst);
|
|
87
|
+
const char *
|
|
88
|
+
OSSL_DECODER_INSTANCE_get_input_type(OSSL_DECODER_INSTANCE *decoder_inst);
|
|
89
|
+
const char *
|
|
90
|
+
OSSL_DECODER_INSTANCE_get_input_structure(OSSL_DECODER_INSTANCE *decoder_inst,
|
|
91
|
+
int *was_set);
|
|
92
|
+
|
|
93
|
+
typedef int OSSL_DECODER_CONSTRUCT(OSSL_DECODER_INSTANCE *decoder_inst,
|
|
94
|
+
const OSSL_PARAM *params,
|
|
95
|
+
void *construct_data);
|
|
96
|
+
typedef void OSSL_DECODER_CLEANUP(void *construct_data);
|
|
97
|
+
|
|
98
|
+
int OSSL_DECODER_CTX_set_construct(OSSL_DECODER_CTX *ctx,
|
|
99
|
+
OSSL_DECODER_CONSTRUCT *construct);
|
|
100
|
+
int OSSL_DECODER_CTX_set_construct_data(OSSL_DECODER_CTX *ctx,
|
|
101
|
+
void *construct_data);
|
|
102
|
+
int OSSL_DECODER_CTX_set_cleanup(OSSL_DECODER_CTX *ctx,
|
|
103
|
+
OSSL_DECODER_CLEANUP *cleanup);
|
|
104
|
+
OSSL_DECODER_CONSTRUCT *OSSL_DECODER_CTX_get_construct(OSSL_DECODER_CTX *ctx);
|
|
105
|
+
void *OSSL_DECODER_CTX_get_construct_data(OSSL_DECODER_CTX *ctx);
|
|
106
|
+
OSSL_DECODER_CLEANUP *OSSL_DECODER_CTX_get_cleanup(OSSL_DECODER_CTX *ctx);
|
|
107
|
+
|
|
108
|
+
int OSSL_DECODER_export(OSSL_DECODER_INSTANCE *decoder_inst,
|
|
109
|
+
void *reference, size_t reference_sz,
|
|
110
|
+
OSSL_CALLBACK *export_cb, void *export_cbarg);
|
|
111
|
+
|
|
112
|
+
int OSSL_DECODER_from_bio(OSSL_DECODER_CTX *ctx, BIO *in);
|
|
113
|
+
#ifndef OPENSSL_NO_STDIO
|
|
114
|
+
int OSSL_DECODER_from_fp(OSSL_DECODER_CTX *ctx, FILE *in);
|
|
115
|
+
#endif
|
|
116
|
+
int OSSL_DECODER_from_data(OSSL_DECODER_CTX *ctx, const unsigned char **pdata,
|
|
117
|
+
size_t *pdata_len);
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
* Create the OSSL_DECODER_CTX with an associated type. This will perform
|
|
121
|
+
* an implicit OSSL_DECODER_fetch(), suitable for the object of that type.
|
|
122
|
+
*/
|
|
123
|
+
OSSL_DECODER_CTX *
|
|
124
|
+
OSSL_DECODER_CTX_new_for_pkey(EVP_PKEY **pkey,
|
|
125
|
+
const char *input_type,
|
|
126
|
+
const char *input_struct,
|
|
127
|
+
const char *keytype, int selection,
|
|
128
|
+
OSSL_LIB_CTX *libctx, const char *propquery);
|
|
129
|
+
|
|
130
|
+
# ifdef __cplusplus
|
|
131
|
+
}
|
|
132
|
+
# endif
|
|
133
|
+
#endif
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
+
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
6
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
7
|
+
* in the file LICENSE in the source distribution or at
|
|
8
|
+
* https://www.openssl.org/source/license.html
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef OPENSSL_DECODERERR_H
|
|
12
|
+
# define OPENSSL_DECODERERR_H
|
|
13
|
+
# pragma once
|
|
14
|
+
|
|
15
|
+
# include <openssl/opensslconf.h>
|
|
16
|
+
# include <openssl/symhacks.h>
|
|
17
|
+
# include <openssl/cryptoerr_legacy.h>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* OSSL_DECODER reason codes.
|
|
23
|
+
*/
|
|
24
|
+
# define OSSL_DECODER_R_COULD_NOT_DECODE_OBJECT 101
|
|
25
|
+
# define OSSL_DECODER_R_DECODER_NOT_FOUND 102
|
|
26
|
+
# define OSSL_DECODER_R_MISSING_GET_PARAMS 100
|
|
27
|
+
|
|
28
|
+
#endif
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
6
|
+
* in the file LICENSE in the source distribution or at
|
|
7
|
+
* https://www.openssl.org/source/license.html
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef OPENSSL_DES_H
|
|
11
|
+
# define OPENSSL_DES_H
|
|
12
|
+
# pragma once
|
|
13
|
+
|
|
14
|
+
# include <openssl/macros.h>
|
|
15
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
16
|
+
# define HEADER_DES_H
|
|
17
|
+
# endif
|
|
18
|
+
|
|
19
|
+
# include <openssl/opensslconf.h>
|
|
20
|
+
|
|
21
|
+
# ifndef OPENSSL_NO_DES
|
|
22
|
+
# ifdef __cplusplus
|
|
23
|
+
extern "C" {
|
|
24
|
+
# endif
|
|
25
|
+
# include <openssl/e_os2.h>
|
|
26
|
+
|
|
27
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
28
|
+
typedef unsigned int DES_LONG;
|
|
29
|
+
|
|
30
|
+
# ifdef OPENSSL_BUILD_SHLIBCRYPTO
|
|
31
|
+
# undef OPENSSL_EXTERN
|
|
32
|
+
# define OPENSSL_EXTERN OPENSSL_EXPORT
|
|
33
|
+
# endif
|
|
34
|
+
|
|
35
|
+
typedef unsigned char DES_cblock[8];
|
|
36
|
+
typedef /* const */ unsigned char const_DES_cblock[8];
|
|
37
|
+
/*
|
|
38
|
+
* With "const", gcc 2.8.1 on Solaris thinks that DES_cblock * and
|
|
39
|
+
* const_DES_cblock * are incompatible pointer types.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
typedef struct DES_ks {
|
|
43
|
+
union {
|
|
44
|
+
DES_cblock cblock;
|
|
45
|
+
/*
|
|
46
|
+
* make sure things are correct size on machines with 8 byte longs
|
|
47
|
+
*/
|
|
48
|
+
DES_LONG deslong[2];
|
|
49
|
+
} ks[16];
|
|
50
|
+
} DES_key_schedule;
|
|
51
|
+
|
|
52
|
+
# define DES_KEY_SZ (sizeof(DES_cblock))
|
|
53
|
+
# define DES_SCHEDULE_SZ (sizeof(DES_key_schedule))
|
|
54
|
+
|
|
55
|
+
# define DES_ENCRYPT 1
|
|
56
|
+
# define DES_DECRYPT 0
|
|
57
|
+
|
|
58
|
+
# define DES_CBC_MODE 0
|
|
59
|
+
# define DES_PCBC_MODE 1
|
|
60
|
+
|
|
61
|
+
# define DES_ecb2_encrypt(i,o,k1,k2,e) \
|
|
62
|
+
DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
|
|
63
|
+
|
|
64
|
+
# define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
|
|
65
|
+
DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
|
|
66
|
+
|
|
67
|
+
# define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
|
|
68
|
+
DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
|
|
69
|
+
|
|
70
|
+
# define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
|
|
71
|
+
DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
|
|
72
|
+
|
|
73
|
+
# define DES_fixup_key_parity DES_set_odd_parity
|
|
74
|
+
# endif
|
|
75
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
76
|
+
OSSL_DEPRECATEDIN_3_0 const char *DES_options(void);
|
|
77
|
+
OSSL_DEPRECATEDIN_3_0
|
|
78
|
+
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
|
|
79
|
+
DES_key_schedule *ks1, DES_key_schedule *ks2,
|
|
80
|
+
DES_key_schedule *ks3, int enc);
|
|
81
|
+
OSSL_DEPRECATEDIN_3_0
|
|
82
|
+
DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
|
|
83
|
+
long length, DES_key_schedule *schedule,
|
|
84
|
+
const_DES_cblock *ivec);
|
|
85
|
+
# endif
|
|
86
|
+
/* DES_cbc_encrypt does not update the IV! Use DES_ncbc_encrypt instead. */
|
|
87
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
88
|
+
OSSL_DEPRECATEDIN_3_0
|
|
89
|
+
void DES_cbc_encrypt(const unsigned char *input, unsigned char *output,
|
|
90
|
+
long length, DES_key_schedule *schedule, DES_cblock *ivec,
|
|
91
|
+
int enc);
|
|
92
|
+
OSSL_DEPRECATEDIN_3_0
|
|
93
|
+
void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
|
|
94
|
+
long length, DES_key_schedule *schedule, DES_cblock *ivec,
|
|
95
|
+
int enc);
|
|
96
|
+
OSSL_DEPRECATEDIN_3_0
|
|
97
|
+
void DES_xcbc_encrypt(const unsigned char *input, unsigned char *output,
|
|
98
|
+
long length, DES_key_schedule *schedule, DES_cblock *ivec,
|
|
99
|
+
const_DES_cblock *inw, const_DES_cblock *outw, int enc);
|
|
100
|
+
OSSL_DEPRECATEDIN_3_0
|
|
101
|
+
void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
|
|
102
|
+
long length, DES_key_schedule *schedule, DES_cblock *ivec,
|
|
103
|
+
int enc);
|
|
104
|
+
OSSL_DEPRECATEDIN_3_0
|
|
105
|
+
void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
|
|
106
|
+
DES_key_schedule *ks, int enc);
|
|
107
|
+
# endif
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* This is the DES encryption function that gets called by just about every
|
|
111
|
+
* other DES routine in the library. You should not use this function except
|
|
112
|
+
* to implement 'modes' of DES. I say this because the functions that call
|
|
113
|
+
* this routine do the conversion from 'char *' to long, and this needs to be
|
|
114
|
+
* done to make sure 'non-aligned' memory access do not occur. The
|
|
115
|
+
* characters are loaded 'little endian'. Data is a pointer to 2 unsigned
|
|
116
|
+
* long's and ks is the DES_key_schedule to use. enc, is non zero specifies
|
|
117
|
+
* encryption, zero if decryption.
|
|
118
|
+
*/
|
|
119
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
120
|
+
OSSL_DEPRECATEDIN_3_0
|
|
121
|
+
void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc);
|
|
122
|
+
# endif
|
|
123
|
+
|
|
124
|
+
/*
|
|
125
|
+
* This functions is the same as DES_encrypt1() except that the DES initial
|
|
126
|
+
* permutation (IP) and final permutation (FP) have been left out. As for
|
|
127
|
+
* DES_encrypt1(), you should not use this function. It is used by the
|
|
128
|
+
* routines in the library that implement triple DES. IP() DES_encrypt2()
|
|
129
|
+
* DES_encrypt2() DES_encrypt2() FP() is the same as DES_encrypt1()
|
|
130
|
+
* DES_encrypt1() DES_encrypt1() except faster :-).
|
|
131
|
+
*/
|
|
132
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
133
|
+
OSSL_DEPRECATEDIN_3_0
|
|
134
|
+
void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc);
|
|
135
|
+
OSSL_DEPRECATEDIN_3_0
|
|
136
|
+
void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2,
|
|
137
|
+
DES_key_schedule *ks3);
|
|
138
|
+
OSSL_DEPRECATEDIN_3_0
|
|
139
|
+
void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2,
|
|
140
|
+
DES_key_schedule *ks3);
|
|
141
|
+
OSSL_DEPRECATEDIN_3_0
|
|
142
|
+
void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output,
|
|
143
|
+
long length, DES_key_schedule *ks1,
|
|
144
|
+
DES_key_schedule *ks2, DES_key_schedule *ks3,
|
|
145
|
+
DES_cblock *ivec, int enc);
|
|
146
|
+
OSSL_DEPRECATEDIN_3_0
|
|
147
|
+
void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
|
|
148
|
+
long length, DES_key_schedule *ks1,
|
|
149
|
+
DES_key_schedule *ks2, DES_key_schedule *ks3,
|
|
150
|
+
DES_cblock *ivec, int *num, int enc);
|
|
151
|
+
OSSL_DEPRECATEDIN_3_0
|
|
152
|
+
void DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out,
|
|
153
|
+
int numbits, long length, DES_key_schedule *ks1,
|
|
154
|
+
DES_key_schedule *ks2, DES_key_schedule *ks3,
|
|
155
|
+
DES_cblock *ivec, int enc);
|
|
156
|
+
OSSL_DEPRECATEDIN_3_0
|
|
157
|
+
void DES_ede3_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
|
158
|
+
long length, DES_key_schedule *ks1,
|
|
159
|
+
DES_key_schedule *ks2, DES_key_schedule *ks3,
|
|
160
|
+
DES_cblock *ivec, int *num);
|
|
161
|
+
OSSL_DEPRECATEDIN_3_0
|
|
162
|
+
char *DES_fcrypt(const char *buf, const char *salt, char *ret);
|
|
163
|
+
OSSL_DEPRECATEDIN_3_0
|
|
164
|
+
char *DES_crypt(const char *buf, const char *salt);
|
|
165
|
+
OSSL_DEPRECATEDIN_3_0
|
|
166
|
+
void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
|
|
167
|
+
long length, DES_key_schedule *schedule, DES_cblock *ivec);
|
|
168
|
+
OSSL_DEPRECATEDIN_3_0
|
|
169
|
+
void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
|
|
170
|
+
long length, DES_key_schedule *schedule,
|
|
171
|
+
DES_cblock *ivec, int enc);
|
|
172
|
+
OSSL_DEPRECATEDIN_3_0
|
|
173
|
+
DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[],
|
|
174
|
+
long length, int out_count, DES_cblock *seed);
|
|
175
|
+
OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret);
|
|
176
|
+
OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key);
|
|
177
|
+
OSSL_DEPRECATEDIN_3_0 int DES_check_key_parity(const_DES_cblock *key);
|
|
178
|
+
OSSL_DEPRECATEDIN_3_0 int DES_is_weak_key(const_DES_cblock *key);
|
|
179
|
+
# endif
|
|
180
|
+
/*
|
|
181
|
+
* DES_set_key (= set_key = DES_key_sched = key_sched) calls
|
|
182
|
+
* DES_set_key_checked
|
|
183
|
+
*/
|
|
184
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
185
|
+
OSSL_DEPRECATEDIN_3_0
|
|
186
|
+
int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule);
|
|
187
|
+
OSSL_DEPRECATEDIN_3_0
|
|
188
|
+
int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule);
|
|
189
|
+
OSSL_DEPRECATEDIN_3_0
|
|
190
|
+
int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule);
|
|
191
|
+
OSSL_DEPRECATEDIN_3_0
|
|
192
|
+
void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule);
|
|
193
|
+
OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key);
|
|
194
|
+
OSSL_DEPRECATEDIN_3_0
|
|
195
|
+
void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
|
|
196
|
+
OSSL_DEPRECATEDIN_3_0
|
|
197
|
+
void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out,
|
|
198
|
+
long length, DES_key_schedule *schedule,
|
|
199
|
+
DES_cblock *ivec, int *num, int enc);
|
|
200
|
+
OSSL_DEPRECATEDIN_3_0
|
|
201
|
+
void DES_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
|
202
|
+
long length, DES_key_schedule *schedule,
|
|
203
|
+
DES_cblock *ivec, int *num);
|
|
204
|
+
# endif
|
|
205
|
+
|
|
206
|
+
# ifdef __cplusplus
|
|
207
|
+
}
|
|
208
|
+
# endif
|
|
209
|
+
# endif
|
|
210
|
+
|
|
211
|
+
#endif
|