aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.c
Commit message (Expand)AuthorAgeFilesLines
* Use syscall() to call getrandom()LibravatarLibravatar Ondřej Surý 2016-08-301-1/+2
* Add __DragonFly__ and generic BSD detection for ARC4RANDOMLibravatarLibravatar Ondřej Surý 2016-08-301-1/+1
* Use RAND_seed() instead of RAND_add() where appropriateLibravatarLibravatar Ondřej Surý 2016-08-301-4/+4
* Reinstate sysctl call for older Linux kernelsLibravatarLibravatar Ondřej Surý 2016-08-301-8/+29
* Use arc4random()/getrandom() to get random bytes instead of sysctl() interfaceLibravatarLibravatar Ondřej Surý 2016-08-301-31/+32
* in bignum string conversion, don't pass char or signed char to isdigit or isx...LibravatarLibravatar William Ahern 2016-08-121-2/+2
* temporarily address issue #54 by copying solution from lunix and autoguess pr...LibravatarLibravatar William Ahern 2016-06-251-2/+2
* refactor style to more closely match the style of the existing code, such as ...LibravatarLibravatar William Ahern 2016-06-241-22/+35
* initialize attr to NULL in xr_setExtensionByNid to silence clang, which can't...LibravatarLibravatar William Ahern 2016-06-231-0/+1
* Support for getting and setting SAN on a CSRLibravatarLibravatar Ash Berlin 2016-04-111-0/+81
* Add terminator to openssl.x509.extension.LibravatarLibravatar Ash Berlin 2016-04-091-0/+1
* Merge branch 'bignum-new' of git://github.com/daurnimator/luaossl into daurni...LibravatarLibravatar William Ahern 2016-02-161-7/+42
|\
| * bignum: Don't allow empty numbers/strings to passLibravatarLibravatar daurnimator 2016-01-041-5/+5
| * bignum: validate hex and decimal strings before feeding to opensslLibravatarLibravatar daurnimator 2016-01-041-2/+11
| * bignum: handle negative hex numbersLibravatarLibravatar daurnimator 2016-01-041-2/+11
| * bignum: Add fromBinary constructorLibravatarLibravatar daurnimator 2016-01-041-0/+12
| * bignum.new: Allow initialisation from hex stringsLibravatarLibravatar daurnimator 2016-01-041-5/+10
* | Lua 5.1 doesn't permit NULL msg argument to luaL_checkstackLibravatarLibravatar William Ahern 2016-01-141-2/+2
* | try to avoid negative stack indices with luaL_checkstring as error messages a...LibravatarLibravatar William Ahern 2016-01-081-1/+1
* | unbreak openssl.rand by fixing auxL_newlib bugLibravatarLibravatar William Ahern 2016-01-081-1/+1
* | fix EVP_PKEY method interposingLibravatarLibravatar William Ahern 2016-01-081-16/+64
* | permit direct indexing of EVP_KEY as alternative to getParameters/setParametersLibravatarLibravatar William Ahern 2016-01-071-218/+356
* | fix comment typoLibravatarLibravatar William Ahern 2016-01-071-1/+1
* | preliminary support for pkey:setParametersLibravatarLibravatar William Ahern 2016-01-071-31/+470
|/
* Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into da...LibravatarLibravatar William Ahern 2016-01-041-3/+3
|\
| * Fix incorrect type check in ssl:{set,get,clear}OptionsLibravatarLibravatar daurnimator 2016-01-031-3/+3
* | 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
|/
* for now, don't be so harsh and break any existing codeLibravatarLibravatar William Ahern 2015-12-211-0/+1
* 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 'remove-warnings' of git://github.com/daurnimator/luaossl into d...LibravatarLibravatar William Ahern 2015-12-211-15/+15
|\
| * 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
* | fix Solaris buildLibravatarLibravatar William Ahern 2015-12-181-0/+4
|/
* 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
* Merge branch '36-private-key-inspection' of git://github.com/daurnimator/luao...LibravatarLibravatar William Ahern 2015-12-181-0/+117
|\
| * pk_getParameters: Add 'public_only' flag to only export the public key parame...LibravatarLibravatar daurnimator 2015-12-101-0/+8
| * 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