-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.xml
321 lines (321 loc) · 12.3 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<?xml version="1.0"?>
<package xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>crypto</name>
<channel>pecl.php.net</channel>
<summary>Wrapper for OpenSSL Crypto Library</summary>
<description>This package provides an objective wrapper for OpenSSL Crypto Library</description>
<lead>
<name>Jakub Zelenka</name>
<user>bukka</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2021-03-07</date>
<version>
<release>0.3.2</release>
<api>0.3.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Fixed compatibility with PHP 8
]]></notes>
<contents>
<dir name="/">
<file role="doc" name="CREDITS"/>
<file role="doc" name="LICENSE"/>
<file role="doc" name="HISTORY.md"/>
<file role="doc" name="NEWS.md"/>
<file role="doc" name="README.md"/>
<file role="doc" name="TODO.md"/>
<file role="src" name="config.m4"/>
<file role="src" name="config.w32"/>
<file role="src" name="php_crypto.h"/>
<file role="src" name="php_crypto_base64.h"/>
<file role="src" name="php_crypto_cipher.h"/>
<file role="src" name="php_crypto_hash.h"/>
<file role="src" name="php_crypto_kdf.h"/>
<file role="src" name="php_crypto_object.h"/>
<file role="src" name="php_crypto_rand.h"/>
<file role="src" name="php_crypto_stream.h"/>
<file role="src" name="crypto.c"/>
<file role="src" name="crypto_base64.c"/>
<file role="src" name="crypto_cipher.c"/>
<file role="src" name="crypto_hash.c"/>
<file role="src" name="crypto_kdf.c"/>
<file role="src" name="crypto_object.c"/>
<file role="src" name="crypto_rand.c"/>
<file role="src" name="crypto_stream.c"/>
<dir name="docs">
<file role="doc" name="Crypto.php"/>
<file role="doc" name="base64.md"/>
<file role="doc" name="cipher.md"/>
<file role="doc" name="cmac.md"/>
<file role="doc" name="hash.md"/>
<file role="doc" name="hmac.md"/>
<file role="doc" name="kdf.md"/>
<file role="doc" name="mac.md"/>
<file role="doc" name="pbkdf2.md"/>
<file role="doc" name="rand.md"/>
<file role="doc" name="streams.md"/>
</dir>
<dir name="examples">
<file role="doc" name="cipher.php"/>
<file role="doc" name="gcm.php"/>
<file role="doc" name="hash.php"/>
<file role="doc" name="rand.php"/>
<file role="doc" name="stream_cipher_cbc.php"/>
<file role="doc" name="stream_cipher_gcm.php"/>
</dir>
<dir name="phpc">
<file role="src" name="phpc.h"/>
</dir>
<dir name="tests">
<file role="test" name="001.phpt"/>
<file role="test" name="Base64___clone_basic.phpt"/>
<file role="test" name="Base64___construct_basic.phpt"/>
<file role="test" name="Base64_decodeFinish_basic.phpt"/>
<file role="test" name="Base64_decodeUpdate_basic.phpt"/>
<file role="test" name="Base64_decode_basic.phpt"/>
<file role="test" name="Base64_encodeFinish_basic.phpt"/>
<file role="test" name="Base64_encodeUpdate_basic.phpt"/>
<file role="test" name="Base64_encode_basic.phpt"/>
<file role="test" name="CMAC___clone_basic.phpt"/>
<file role="test" name="CMAC___construct_basic.phpt"/>
<file role="test" name="CMAC_digest_basic.phpt"/>
<file role="test" name="CMAC_getBlockSize_basic.phpt"/>
<file role="test" name="CMAC_getSize_basic.phpt"/>
<file role="test" name="CMAC_hexdigest_basic.phpt"/>
<file role="test" name="CMAC_update_basic.phpt"/>
<file role="test" name="Cipher___callStatic_basic.phpt"/>
<file role="test" name="Cipher___clone_basic.phpt"/>
<file role="test" name="Cipher___construct_basic.phpt"/>
<file role="test" name="Cipher_decryptFinish_basic.phpt"/>
<file role="test" name="Cipher_decryptInit_basic.phpt"/>
<file role="test" name="Cipher_decryptUpdate_basic.phpt"/>
<file role="test" name="Cipher_decrypt_basic.phpt"/>
<file role="test" name="Cipher_encryptFinish_basic.phpt"/>
<file role="test" name="Cipher_encryptInit_basic.phpt"/>
<file role="test" name="Cipher_encryptUpdate_basic.phpt"/>
<file role="test" name="Cipher_encrypt_basic.phpt"/>
<file role="test" name="Cipher_getAlgorithmName_basic.phpt"/>
<file role="test" name="Cipher_getAlgorithms_all_basic.phpt"/>
<file role="test" name="Cipher_getAlgorithms_ccm_basic.phpt"/>
<file role="test" name="Cipher_getBlockSize_basic.phpt"/>
<file role="test" name="Cipher_getIVLength_basic.phpt"/>
<file role="test" name="Cipher_getKeyLength_basic.phpt"/>
<file role="test" name="Cipher_getTag_ccm_basic.phpt"/>
<file role="test" name="Cipher_getTag_gcm_basic.phpt"/>
<file role="test" name="Cipher_hasAlgorithm_basic.phpt"/>
<file role="test" name="Cipher_hasMode_basic.phpt"/>
<file role="test" name="Cipher_setAAD_ccm_basic.phpt"/>
<file role="test" name="Cipher_setAAD_gcm_basic.phpt"/>
<file role="test" name="Cipher_setTagLength_ccm_basic.phpt"/>
<file role="test" name="Cipher_setTagLength_gcm_basic.phpt"/>
<file role="test" name="Cipher_setTag_ccm_basic.phpt"/>
<file role="test" name="Cipher_setTag_gcm_basic.phpt"/>
<file role="test" name="HMAC___clone_basic.phpt"/>
<file role="test" name="HMAC___construct_basic.phpt"/>
<file role="test" name="HMAC_digest_basic.phpt"/>
<file role="test" name="HMAC_getAlgorithmName_basic.phpt"/>
<file role="test" name="HMAC_getBlockSize_basic.phpt"/>
<file role="test" name="HMAC_getSize_basic.phpt"/>
<file role="test" name="HMAC_hexdigest_basic.phpt"/>
<file role="test" name="HMAC_update_basic.phpt"/>
<file role="test" name="Hash___callStatic_basic.phpt"/>
<file role="test" name="Hash___clone_basic.phpt"/>
<file role="test" name="Hash___construct_basic.phpt"/>
<file role="test" name="Hash_digest_basic.phpt"/>
<file role="test" name="Hash_getAlgorithmName_basic.phpt"/>
<file role="test" name="Hash_getAlgorithms_basic.phpt"/>
<file role="test" name="Hash_getBlockSize_basic.phpt"/>
<file role="test" name="Hash_getSize_basic.phpt"/>
<file role="test" name="Hash_hasAlgorithm_basic.phpt"/>
<file role="test" name="Hash_hexdigest_basic.phpt"/>
<file role="test" name="Hash_update_basic.phpt"/>
<file role="test" name="KDF___clone_basic.phpt"/>
<file role="test" name="KDF___construct_basic.phpt"/>
<file role="test" name="KDF_getLength_basic.phpt"/>
<file role="test" name="KDF_getSalt_basic.phpt"/>
<file role="test" name="KDF_setLength_basic.phpt"/>
<file role="test" name="KDF_setSalt_basic.phpt"/>
<file role="test" name="PBKDF2___clone_basic.phpt"/>
<file role="test" name="PBKDF2___construct_basic.phpt"/>
<file role="test" name="PBKDF2_derive_basic.phpt"/>
<file role="test" name="PBKDF2_getHashAlgorithm_basic.phpt"/>
<file role="test" name="PBKDF2_getIterations_basic.phpt"/>
<file role="test" name="PBKDF2_setHashAlgorithm_basic.phpt"/>
<file role="test" name="PBKDF2_setIterations_basic.phpt"/>
<file role="test" name="Rand_cleanup_basic.phpt"/>
<file role="test" name="Rand_generate_basic.phpt"/>
<file role="test" name="Rand_loadFile_basic.phpt"/>
<file role="test" name="Rand_seed_basic.phpt"/>
<file role="test" name="Rand_writeFile_basic.phpt"/>
<file role="test" name="stream_file_plain_open.phpt"/>
<file role="test" name="stream_file_plain_read.phpt"/>
<file role="test" name="stream_file_plain_seek.phpt"/>
<file role="test" name="stream_file_plain_write.phpt"/>
<file role="test" name="stream_filters_cipher_cbc_dec_read.phpt"/>
<file role="test" name="stream_filters_cipher_cbc_dec_write.phpt"/>
<file role="test" name="stream_filters_cipher_cbc_enc_read.phpt"/>
<file role="test" name="stream_filters_cipher_cbc_enc_write.phpt"/>
<file role="test" name="stream_filters_cipher_ccm_error.phpt"/>
<file role="test" name="stream_filters_cipher_gcm_dec_read.phpt"/>
<file role="test" name="stream_filters_cipher_gcm_dec_write.phpt"/>
<file role="test" name="stream_filters_cipher_gcm_enc_read.phpt"/>
<file role="test" name="stream_filters_cipher_gcm_enc_write.phpt"/>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.6.0</min>
</php>
<pearinstaller>
<min>1.4.0a1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>crypto</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2016-12-15</date>
<version>
<release>0.3.1</release>
<api>0.3.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Fixed segfault on PHP 5 in setting KDF key length and PBKDF2 iterations
]]></notes>
</release>
<release>
<date>2016-12-14</date>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Fixed compilation with OpenSSL 1.1 and PHP 7.1
* Added KDF abstract class to be a parent for all key derivation function classes
* Added PBKDF2 class extending KDF class and implementing PBKDF2
* Renamed HashException code ALGORITHM_NOT_FOUND to HASH_ALGORITHM_NOT_FOUND
* Renamed MACException code ALGORITHM_NOT_FOUND to MAC_ALGORITHM_NOT_FOUND
]]></notes>
</release>
<release>
<date>2015-11-25</date>
<version>
<release>0.2.2</release>
<api>0.2.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Fixed missing CCM cipher algorithms with OpenSSL 1.0.1
]]></notes>
</release>
<release>
<date>2015-11-15</date>
<version>
<release>0.2.1</release>
<api>0.2.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Fixed C89 compatibility issue in Base64
]]></notes>
</release>
<release>
<date>2015-11-15</date>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Support for PHP 7
* Added Crypto stream BIO wrapper
* Improved error handling
* Added an integer overflow checking
* Removed Algorithm class and AlogirithmException class
* Introduced a MAC class as a subclass of Hash and parent of HMAC and CMAC
* Added MACException class subclassing HashException
* Fixed HMAC and CMAC implementation and added key param to constructor
* Fixed and tested CCM mode
* Added new error code for failed tag verification (TAG_VERIFY_FAILED)
* Add setTagLength Cipher method replacing length param in getTag
* Removed Rand::egd
* Created a complete API documentation
]]></notes>
</release>
<release>
<date>2014-01-04</date>
<version>
<release>0.1.1</release>
<api>0.1.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Added linking of openssl shared lib to the config.m4
* Fixed buffer overflow in Base64 encoding
]]></notes>
</release>
<release>
<date>2014-01-01</date>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<license uri="http://www.php.net/license">PHP 3.01</license>
<notes><![CDATA[
* Incremental cipher decryption and encryption
* Support for authenticated encryption and decryption (GCM and CCM modes)
* Incremental hash creation
* Methods for retrieving informations about cipher and hash algorithms
* HMAC and CMAC creation
* Random numbers API including seeding and saving/loading PRNG state
* Incremental Base64 decoding and encoding
]]></notes>
</release>
</changelog>
</package>