| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
This reverts commit b5b8ea1050837fba5a6cee55e41b4574ed64158e.
Looks like we don't have agreement yet on this for 5.4. Let's keep it in 5.5 for now.
|
|
|
|
|
|
|
| |
like a spell."
This reverts commit bccd1e672fabc3c788e93075221d47d9f077b167.
Looks like we don't have agreement yet on this for 5.4. Let's keep it in 5.5 for now.
|
|
|
|
|
| |
Summary:
Stas pointed out that this is named pretty poorly. Go for openssl_pbkdf2()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
No easy way to put these in the hash extension since we don't really support optional
parameters to certain algorithms. Implemented in openssl for now since it has it already
and is pretty stable.
Only SHA1 is confirmed to work as an algorithm but openssl has a parameter so it can be
changed in the future.
Will backport to 5.4 potentially with Stas' approval.
Test Plan:
Ran newly added tests which came from RFC 6070
|
| |
|
|
|
|
|
|
| |
For using mcrypt / openssl interchangeabley managing your own padding is the only solution.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Fix possible multibyte issues issue in the add_assoc function
- add test for openssl_csr_get_subject
|
| |
|
| |
|
|
|
|
|
| |
- openssl_pkey_get_details(), returns the key details
|
| |
|
| |
|
|
|
|
|
| |
# Should the LICENSE and Zend/LICENSE dates be updated too?
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).
Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.
Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.
# I will be updating the win32 build to add the new files shortly
# after this commit.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fix munched file.
# Dunno how that happened.
|
|
|
|
|
| |
some asymmetric RSA encrypt/decrypt functions.
|
|
|
|
|
| |
a bit more friendly to use. See the README for more info.
|
| |
|
|
|
|
|
| |
fixes including init and shutdown functions
|
| |
|
| |
|
|
|