aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bignum: Add fromBinary constructorLibravatarLibravatar daurnimator 2016-01-041-0/+12
| | | | Closes #44
* bignum.new: Allow initialisation from hex stringsLibravatarLibravatar daurnimator 2016-01-041-5/+10
|
* Merge branch 'daurnimator-fix-wrong-type'LibravatarLibravatar William Ahern 2016-01-041-3/+3
|\
| * Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2016-01-041-3/+3
|/| | | | | | | daurnimator-fix-wrong-type
| * Fix incorrect type check in ssl:{set,get,clear}OptionsLibravatarLibravatar daurnimator 2016-01-031-3/+3
| | | | | | | | Was checking for SSL_CTX instead of SSL
* | Merge branch 'daurnimator-bignum-methods'LibravatarLibravatar William Ahern 2016-01-041-16/+94
|\ \ | |/ |/|
| * bignum: Add generatePrime as new constructorLibravatarLibravatar daurnimator 2016-01-031-3/+26
| |
| * bignum: Add :isPrimeLibravatarLibravatar daurnimator 2016-01-031-15/+30
| |
| * bignum: bugfix: unm shouldn't modify it's operandsLibravatarLibravatar daurnimator 2016-01-031-1/+2
| |
| * bignum: Bind sqr, nnmod and gcdLibravatarLibravatar daurnimator 2016-01-031-0/+39
| |
| * bignum: Use openssl function namesLibravatarLibravatar daurnimator 2016-01-031-12/+12
|/
* update debian changelogLibravatarLibravatar William Ahern 2015-12-211-0/+8
|
* for now, don't be so harsh and break any existing codeLibravatarLibravatar William Ahern 2015-12-211-0/+1
|
* Merge branch 'daurnimator-bignum-methods'LibravatarLibravatar William Ahern 2015-12-211-11/+82
|\
| * bignum: Move div operator to idiv operator (breaks API)LibravatarLibravatar daurnimator 2015-12-211-8/+8
| |
| * bignum: Add tohex functionLibravatarLibravatar daurnimator 2015-12-211-0/+30
| |
| * bignum: Rename tostring function to todec. Expose as ":todec" methodLibravatarLibravatar daurnimator 2015-12-211-4/+5
| |
| * bignum: Add shl (lshift), shr (rshift) functionsLibravatarLibravatar daurnimator 2015-12-211-0/+34
| |
| * bignum: exposing existing math operators as methodsLibravatarLibravatar daurnimator 2015-12-211-0/+6
|/
* Merge branch 'daurnimator-remove-warnings'LibravatarLibravatar William Ahern 2015-12-211-15/+15
|\
| * Merge branch 'remove-warnings' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-211-15/+15
|/| | | | | | | daurnimator-remove-warnings
| * Give auxL_getref NOTUSED attributeLibravatarLibravatar daurnimator 2015-12-181-1/+1
| |
| * remove trailing whitespaceLibravatarLibravatar daurnimator 2015-12-181-12/+12
| |
| * removed unused warning across #ifLibravatarLibravatar daurnimator 2015-12-181-0/+1
| |
| * remove unused variables in xn__nextLibravatarLibravatar daurnimator 2015-12-181-2/+1
| |
* | update debian changelogLibravatarLibravatar William Ahern 2015-12-181-0/+8
| |
* | fix Solaris buildLibravatarLibravatar William Ahern 2015-12-181-0/+4
| |
* | add script to test getParametersLibravatarLibravatar William Ahern 2015-12-181-0/+8
|/
* Merge branch 'daurnimator-36-private-key-inspection'LibravatarLibravatar William Ahern 2015-12-181-2/+258
|\
| * return value list instead of table if parameter names specified explicitlyLibravatarLibravatar William Ahern 2015-12-181-64/+208
| |
| * bn_dup only returns on success, so remove error handling from bn_dup callsLibravatarLibravatar William Ahern 2015-12-181-34/+26
| |
| * put EC variable declarations inside OPENSSL_NO_EC preprocessor guard (unable ↵LibravatarLibravatar William Ahern 2015-12-181-5/+8
| | | | | | | | to confirm which, if any, of our platforms still don't support EC natively
| * Merge branch '36-private-key-inspection' of ↵LibravatarLibravatar William Ahern 2015-12-181-0/+117
|/| | | | | | | git://github.com/daurnimator/luaossl into daurnimator-36-private-key-inspection
| * pk_getParameters: Add 'public_only' flag to only export the public key ↵LibravatarLibravatar daurnimator 2015-12-101-0/+8
| | | | | | | | | | | | parameters Should possibly a string/table instead?
| * Add bn_dup function to make sure BN_FLG_SECURE is kept in copiesLibravatarLibravatar daurnimator 2015-12-071-14/+24
| |
| * Add 'pkey:getParameters()' function that returns private key parameters as a ↵LibravatarLibravatar daurnimator 2015-12-071-0/+99
| | | | | | | | table of bignums
* | set empty key when creating cipher object to prevent SEGV if caller fails to ↵LibravatarLibravatar William Ahern 2015-12-171-1/+7
| | | | | | | | | | | | initialize with a key before calling :update or :final. closes issue #31.
* | forgot to call BIO_reset after pushing the private key PEM text, which in ↵LibravatarLibravatar William Ahern 2015-12-171-1/+2
| | | | | | | | | | | | | | | | the multiple argument form caused the next PEM text to be appended. closes issue #34
* | free result of BN_bn2dec()LibravatarLibravatar William Ahern 2015-12-171-3/+21
| | | | | | | | fixes issue #38
* | Merge branch 'daurnimator-no-ssl3'LibravatarLibravatar William Ahern 2015-12-171-0/+2
|\ \
| * | Merge branch 'master' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+2
|/| | | | | | | | | | | daurnimator-no-ssl3
| * | Guard SSLv3_server_method with #ifndef OPENSSL_NO_SSL3LibravatarLibravatar daurnimator 2015-11-151-0/+2
| |/ | | | | | | Related to https://github.com/wahern/cqueues/issues/113
* | fixed char buffer signedness issueLibravatarLibravatar William Ahern 2015-12-171-2/+6
| |
* | column-align field initializersLibravatarLibravatar William Ahern 2015-12-171-1/+1
| |
* | Merge branch 'daurnimator-bn-tobin'LibravatarLibravatar William Ahern 2015-12-171-0/+11
|\ \
| * | Merge branch 'bn-tobin' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+11
|/| | | | | | | | | | | daurnimator-bn-tobin
| * | Add :tobin method to bignumsLibravatarLibravatar daurnimator 2015-12-071-0/+11
| |/
* | Merge branch 'daurnimator-19-bignum-modulo'LibravatarLibravatar William Ahern 2015-12-171-0/+6
|\ \
| * | Merge branch '19-bignum-modulo' of git://github.com/daurnimator/luaossl into ↵LibravatarLibravatar William Ahern 2015-12-171-0/+6
|/| | | | | | | | | | | daurnimator-19-bignum-modulo
| * | Implement lua rounding style for __mod operatorLibravatarLibravatar daurnimator 2015-11-151-0/+6
| |/