Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Properly encode 0 in ASN.1. | Tobias Brunner | 2012-06-11 | 1 | -10/+7 |
| | | | | | According to X.690 an INTEGER object always has at least one content octet. | ||||
* | Don't use chunk_skip() in asn1_length(). | Tobias Brunner | 2012-06-11 | 1 | -1/+2 |
| | | | | | | | | chunk_skip() returns chunk_empty if the length of the chunk is equal to the number of bytes to skip, this is problematic as asn1_length() modifies the original chunk. asn1_parser_t for instance uses the modified chunk to later calculate the length of the resulting ASN.1 object which produces incorrect results if it is based on chunk_empty. | ||||
* | Added support for PKCS#5 v2 schemes when decrypting PKCS#8 files. | Tobias Brunner | 2012-02-01 | 1 | -7/+11 |
| | |||||
* | Added support for encrypted PKCS#8 files (for some PKCS#5 v1.5 schemes). | Tobias Brunner | 2012-02-01 | 1 | -3/+7 |
| | |||||
* | Return parsed parameters from algorithmIdentifier if they are an OID (aka EC ↵ | Tobias Brunner | 2012-02-01 | 1 | -1/+1 |
| | | | | | | | named curve). Explicit EC parameters are not supported with this function, but before this change no parameters were actually ever returned. | ||||
* | Allow callers to force ASN.1 date encoding as GENERALIZEDTIME. | Tobias Brunner | 2011-12-23 | 1 | -4/+5 |
| | |||||
* | Avoid integer overflow when parsing ASN.1 dates. | Tobias Brunner | 2011-12-23 | 1 | -2/+2 |
| | | | | This only works properly if sizeof(time_t) > 4. | ||||
* | Properly ASN.1 encode dates in certificates depending on the year. | Tobias Brunner | 2011-12-23 | 1 | -2/+6 |
| | |||||
* | Log ASN.1 parsing in new ASN debug group. | Tobias Brunner | 2011-12-16 | 1 | -17/+17 |
| | |||||
* | fixed asn1_oid_from_string(), allowing it to handle up to 32 bit node numbers | Andreas Steffen | 2011-03-12 | 1 | -11/+12 |
| | |||||
* | output unknown OIDs in dot string notation | Andreas Steffen | 2011-03-11 | 1 | -4/+14 |
| | |||||
* | fixed asn1_oid_to_string() conversion | Andreas Steffen | 2011-03-09 | 1 | -15/+9 |
| | |||||
* | Added conversion functions between string OIDs and its DER encoding | Martin Willi | 2011-01-05 | 1 | -0/+94 |
| | |||||
* | Double-check that a blob passed to is_asn1() is not empty | Martin Willi | 2010-05-05 | 1 | -1/+7 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -17/+18 |
| | |||||
* | Fixing some includes by replacing <> with "". | Tobias Brunner | 2010-03-02 | 1 | -1/+0 |
| | | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths. | ||||
* | Whitespace cleanup. | Tobias Brunner | 2009-12-23 | 1 | -10/+10 |
| | |||||
* | Using the thread wrapper in charon, libstrongswan and their plugins. | Tobias Brunner | 2009-12-23 | 1 | -1/+0 |
| | |||||
* | define TIME_32_BITS_SIGNED_MAX in utils.h | Andreas Steffen | 2009-11-08 | 1 | -5/+3 |
| | |||||
* | Removed chunk_from_buf() in favor of a simpler chunk_from_chars() macro | Martin Willi | 2009-09-11 | 1 | -8/+4 |
| | |||||
* | replaces four spaces by tabs, where appropriate | Martin Willi | 2009-09-04 | 1 | -5/+5 |
| | |||||
* | removed trailing spaces ([[:space:]]+$) | Martin Willi | 2009-09-04 | 1 | -54/+54 |
| | |||||
* | accept octet strings in is_asn1() check | Martin Willi | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | OID_EC_PUBLICKEY has a parameters field, defining the elliptic curve | Andreas Steffen | 2009-08-27 | 1 | -1/+0 |
| | |||||
* | added OID_EC_PUBLIC_KEY algorithmIdentifier | Andreas Steffen | 2009-08-27 | 1 | -5/+6 |
| | |||||
* | do not append a NULL paramter to ECDSA algorithmIdentifiers | Martin Willi | 2009-08-27 | 1 | -3/+17 |
| | |||||
* | create algorithmIdentifier dynamically from OID database | Martin Willi | 2009-08-27 | 1 | -140/+3 |
| | |||||
* | in addition to 'm'/'c' mode, asn1_wrap accepts a 's' mode clearing sensitive ↵ | Martin Willi | 2009-08-26 | 1 | -2/+9 |
| | | | | information | ||||
* | asn1_unwrap() function to parse ASN.1 objects with length/type | Martin Willi | 2009-07-06 | 1 | -0/+47 |
| | |||||
* | added additional sanity checks to asn1_length() parsing | Martin Willi | 2009-07-03 | 1 | -9/+16 |
| | |||||
* | additional check in case of non-positive months | Andreas Steffen | 2009-06-10 | 1 | -2/+2 |
| | |||||
* | fixed typo in asn1.c | Andreas Steffen | 2009-06-10 | 1 | -1/+1 |
| | |||||
* | fixed DoS vulnerability in the parsing of ASN.1 time strings | Andreas Steffen | 2009-06-10 | 1 | -4/+17 |
| | |||||
* | fixed DoS vulnerability in the parsing of distinguished names | Andreas Steffen | 2009-06-09 | 1 | -0/+5 |
| | |||||
* | pluto and scepclient use private and public key plugins of libstrongswan | Andreas Steffen | 2009-06-09 | 1 | -2/+37 |
| | |||||
* | more intuitive leap year check | Tobias Brunner | 2009-05-15 | 1 | -3/+3 |
| | |||||
* | fixed 32 bit overflow check | Andreas Steffen | 2009-05-14 | 1 | -1/+1 |
| | |||||
* | compute ASN.1 to UTC time without time functions | Andreas Steffen | 2009-05-14 | 1 | -54/+39 |
| | |||||
* | fixed timezone compensation when parsing ASN.1 dates | Tobias Brunner | 2009-05-08 | 1 | -6/+29 |
| | |||||
* | removing svn keyword $Id$ from all files | Tobias Brunner | 2009-04-30 | 1 | -2/+0 |
| | |||||
* | merging changes from portability branch back to trunk | Tobias Brunner | 2009-04-30 | 1 | -3/+10 |
| | | | | | important change for developers: %Y replaces %D to print identities! | ||||
* | scepclient and pluto use asn1 from libstrongswan | Andreas Steffen | 2009-04-20 | 1 | -1/+1 |
| | |||||
* | fixed OID encoding | Martin Willi | 2009-04-17 | 1 | -2/+2 |
| | |||||
* | asn1_build_known_oid() includes ASN1_OID tag and length | Andreas Steffen | 2009-04-16 | 1 | -2/+5 |
| | |||||
* | added missing curly brackets | Andreas Steffen | 2009-04-15 | 1 | -0/+4 |
| | |||||
* | implemented asn1_get_known_oid(), mapping OID index to ASN1 OID | Martin Willi | 2009-04-14 | 1 | -0/+29 |
| | |||||
* | remove ambiguity by setting parentheses | Andreas Steffen | 2009-03-27 | 1 | -1/+1 |
| | |||||
* | fixed ASN.1 to time_t conversion on 32-bit system for dates after Jan 19 ↵ | Andreas Steffen | 2009-03-27 | 1 | -8/+13 |
| | | | | 03:14:07 UTC 2038 | ||||
* | the parameters field in an ASN.1 algorithmIdentifier is optional | Andreas Steffen | 2009-03-13 | 1 | -14/+1 |
| |