Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | auth-cfg: Add RSA/PSS schemes for pubkey and rsa if enabled in strongswan.conf | Tobias Brunner | 2017-11-08 | 1 | -0/+27 |
| | | | | Also document the rsa/pss prefix. | ||||
* | signature-params: Add helpers to parse/build ASN.1 algorithmIdentifier for ↵ | Tobias Brunner | 2017-11-08 | 1 | -0/+111 |
| | | | | signature schemes | ||||
* | ikev2: Enumerate RSA/PSS schemes and use them if enabled | Tobias Brunner | 2017-11-08 | 1 | -11/+16 |
| | |||||
* | auth-cfg: Parse rsa/pss auth tokens | Tobias Brunner | 2017-11-08 | 1 | -0/+74 |
| | |||||
* | auth-cfg: Store signature schemes as signature_params_t objects | Tobias Brunner | 2017-11-08 | 2 | -8/+27 |
| | | | | | Due to circular references the hasher_from_signature_scheme() helper does not take a signature_params_t object. | ||||
* | signature-params: Add helper struct for signature scheme and parameters | Tobias Brunner | 2017-11-08 | 1 | -4/+124 |
| | |||||
* | unit-tests: Add RSA-PSS signature tests with specific salts | Tobias Brunner | 2017-11-08 | 1 | -92/+818 |
| | |||||
* | unit-tests: Warn if we skip RSA tests due to dependencies | Tobias Brunner | 2017-11-08 | 1 | -0/+11 |
| | |||||
* | unit-tests: Add FIPS 186-4 RSASSA-PSS test vectors | Tobias Brunner | 2017-11-08 | 1 | -0/+1629 |
| | | | | | | | | Since not all implementations allow setting a specific salt value when generating signatures (e.g. OpenSSL doesn't), we are often limited to only using the test vectors with salt length of 0. We also exclude test vectors with SHA-1, SHA-224 and SHA-384. | ||||
* | unit-tests: Create and verify some RSA PSS signatures | Tobias Brunner | 2017-11-08 | 1 | -3/+25 |
| | |||||
* | unit-tests: Add FIPS 186-4 RSA test vectors | Tobias Brunner | 2017-11-08 | 1 | -5/+2428 |
| | | | | Excluding SHA-224 and the stuff from FIPS 186-2 (SHA-1, 1024 bit keys). | ||||
* | signature-params: Add functions to parse/build ASN.1 RSASSA-PSS params | Tobias Brunner | 2017-11-08 | 1 | -0/+230 |
| | |||||
* | asn1: Add function to generate an ASN.1 integer from an uint64_t | Tobias Brunner | 2017-11-08 | 1 | -6/+35 |
| | |||||
* | private-key: Add optional parameters argument to sign() method | Tobias Brunner | 2017-11-08 | 3 | -6/+6 |
| | |||||
* | public-key: Add optional parameters argument to verify() method | Tobias Brunner | 2017-11-08 | 3 | -13/+18 |
| | |||||
* | ikev2: Don't use SHA-1 for RFC 7427 signature authentication | Tobias Brunner | 2017-11-08 | 1 | -3/+3 |
| | | | | | | RFC 8247 demoted it to MUST NOT. References #2427. | ||||
* | utils: Add helper function to parse time spans from strings | Tobias Brunner | 2017-11-02 | 1 | -0/+52 |
| | |||||
* | traffic-selector: Use single buffer for both address families | Tobias Brunner | 2017-08-17 | 1 | -9/+29 |
| | | | | | | | | The generic field of size 0 in the union that was used previously triggered index-out-of-bounds errors with the UBSAN sanitizer that's used on OSS-Fuzz. Since the two family specific union members don't really provide any advantage, we can just use a single buffer for both families to avoid the errors. | ||||
* | unit-tests: Double escape backslashes in Windows paths in settings test | Tobias Brunner | 2017-07-28 | 1 | -2/+6 |
| | | | | | That's required when these are used as include paths in settings file strings. | ||||
* | unit-tests: Updated asn1-parser tests | Andreas Steffen | 2017-05-29 | 1 | -1/+105 |
| | |||||
* | linked-list: Change return value of find_first() and signature of its callback | Tobias Brunner | 2017-05-26 | 1 | -15/+66 |
| | | | | This avoids the unportable five pointer hack. | ||||
* | linked-list: Change interface of callback for invoke_function() | Tobias Brunner | 2017-05-26 | 1 | -3/+7 |
| | | | | This avoids the unportable five pointer hack. | ||||
* | linked-list: invoke_offset() doesn't take any additional arguments anymore | Tobias Brunner | 2017-05-26 | 1 | -9/+11 |
| | |||||
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 1 | -15/+35 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | utils: chunk_from_hex() skips optional 0x prefix | Andreas Steffen | 2017-03-06 | 1 | -10/+11 |
| | |||||
* | host: Don't log port if it is zero | Tobias Brunner | 2017-03-02 | 1 | -5/+5 |
| | |||||
* | traffic-selector: Allow calling set_address() for any traffic selector | Tobias Brunner | 2017-02-27 | 1 | -2/+10 |
| | | | | | Users may check is_host(), is_dynamic() or includes() before calling this if restrictions are required (most actually already do). | ||||
* | Moved Ed25519 tests to libstrongswan | Andreas Steffen | 2016-12-14 | 1 | -0/+527 |
| | |||||
* | unit-tests: Completed coverage of hasher, crypter and libnttfft | Andreas Steffen | 2016-12-14 | 2 | -34/+47 |
| | |||||
* | gmp: Support of SHA-3 RSA signatures | Andreas Steffen | 2016-09-22 | 4 | -44/+55 |
| | |||||
* | mgf1: Refactored MGF1 as an XOF | Andreas Steffen | 2016-09-21 | 2 | -43/+61 |
| | |||||
* | chunk: Skip all leading zero bytes in chunk_skip_zero() not just the first | Tobias Brunner | 2016-04-04 | 1 | -12/+16 |
| | |||||
* | string: Gracefully handle NULL in str*eq() macros | Tobias Brunner | 2016-04-04 | 1 | -0/+78 |
| | |||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 10 | -77/+77 |
| | |||||
* | Implemented IPv4/IPv6 subnet and range identities | Andreas Steffen | 2016-03-10 | 1 | -48/+207 |
| | | | | | | The IKEv1 IPV4_ADDR_SUBNET, IPV6_ADDR_SUBNET, IPV4_ADDR_RANGE and IPV6_ADDR_RANGE identities have been fully implemented and can be used as owners of shared secrets (PSKs). | ||||
* | linked-list: Add method to compare two lists of objects for equality | Tobias Brunner | 2016-03-08 | 1 | -0/+91 |
| | |||||
* | auth-cfg: Make IKE signature schemes configurable | Tobias Brunner | 2016-03-04 | 1 | -0/+122 |
| | | | | | | This also restores the charon.signature_authentication_constraints functionality, that is, if no explicit IKE signature schemes are configured we apply all regular signature constraints as IKE constraints. | ||||
* | unit-tests: The pseudonym RDN is now recognized, so use something more exotic | Tobias Brunner | 2016-01-28 | 1 | -3/+3 |
| | |||||
* | array: Add an insert/create function for value based arrays | Martin Willi | 2015-12-07 | 1 | -0/+43 |
| | |||||
* | settings: Add settings_value_as_uint64() helper function | Tobias Brunner | 2015-11-11 | 1 | -0/+24 |
| | |||||
* | traffic-selector: Don't end printf'ed list of traffic selectors with a space | Tobias Brunner | 2015-11-10 | 1 | -3/+3 |
| | |||||
* | testing: Updated hasher tests | Andreas Steffen | 2015-11-06 | 1 | -0/+75 |
| | |||||
* | Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes | Andreas Steffen | 2015-11-06 | 2 | -30/+38 |
| | |||||
* | unit-tests: Add a test to verify that there is no partial matching of RDNs | Tobias Brunner | 2015-09-09 | 1 | -0/+1 |
| | |||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | unit-tests: Additional test cases to increase coverage | Tobias Brunner | 2015-08-27 | 2 | -9/+611 |
| | |||||
* | identification: Add hash() method | Tobias Brunner | 2015-08-06 | 1 | -1/+90 |
| | | | | | | | Compared to hashing the encoding we can ignore string types of RDNs when hashing DNs, making hash() compatible to equals() that does the same. Fixes #991. | ||||
* | unit-tests: Add unit tests for settings_t.load_string[_section] | Tobias Brunner | 2015-07-28 | 1 | -8/+113 |
| | |||||
* | settings: Add support for multi-line strings | Tobias Brunner | 2015-07-28 | 1 | -8/+17 |
| | | | | Unterminated strings are now an error. | ||||
* | host: Properly handle NULL in host_create_from_string[_and_family] | Tobias Brunner | 2015-07-27 | 1 | -0/+6 |
| |