david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/crypto
Michael Brown 7667536527 [uri] Refactor URI parsing and formatting
Add support for parsing of URIs containing literal IPv6 addresses
(e.g. "http://[fe80::69ff:fe50:5845%25net0]/boot.ipxe").

Duplicate URIs by directly copying the relevant fields, rather than by
formatting and reparsing a URI string.  This relaxes the requirements
on the URI formatting code and allows it to focus on generating
human-readable URIs (e.g. by not escaping ':' characters within
literal IPv6 addresses).  As a side-effect, this allows relative URIs
containing parameter lists (e.g. "../boot.php##params") to function
as expected.

Add validity check for FTP paths to ensure that only printable
characters are accepted (since FTP is a human-readable line-based
protocol with no support for character escaping).

Construct TFTP next-server+filename URIs directly, rather than parsing
a constructed "tftp://..." string,

Add self-tests for URI functions.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-02-27 13:32:53 +00:00
..
axtls [crypto] Remove obsolete AXTLS RSA algorithm 2012-03-18 14:47:16 +00:00
aes_wrap.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
arc4.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
asn1.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
axtls_aes.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
bigint.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
cbc.c [crypto] Allow in-place CBC decryption 2012-09-27 01:54:55 +01:00
chap.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
clientcert.c [settings] Force settings into alphabetical order within sections 2013-12-05 12:43:28 +00:00
cms.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
crc32.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
crypto_null.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
deflate.c [deflate] Fix literal data length calculation 2014-01-12 22:53:10 +01:00
drbg.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
entropy.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
hash_df.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
hmac.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
hmac_drbg.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
md5.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
null_entropy.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
ocsp.c [uri] Refactor URI parsing and formatting 2014-02-27 13:32:53 +00:00
random_nz.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
rbg.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
rootcert.c [settings] Force settings into alphabetical order within sections 2013-12-05 12:43:28 +00:00
rsa.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
sha1.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
sha1extra.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
sha256.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
x509.c [crypto] Report meaningful error when certificate chain validation fails 2013-05-10 10:03:56 +01:00