summaryrefslogtreecommitdiffstats
path: root/ossl_cipher.c
Commit message (Collapse)AuthorAgeFilesLines
* * ext/openssl: imported.gotoyuzo2003-07-231-377/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IndentsMichal Rokos2003-07-221-1/+1
|
* OpenSSL 0.9.6 compatibilityMichal Rokos2003-07-211-1/+4
|
* Digest is Ruby compatible again, more examples are workingMichal Rokos2003-07-211-3/+3
|
* call ossl_raise with NULL when no message is passedMichal Rokos2003-07-091-14/+14
|
* * cipher.h: replace ossl_cipher_get_EVP_CIPHER into GetCipherPtrGOTOU Yuuzou2003-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * cipher.c: ditto. * ossl_pkey_rsa.c: use GetCipherPtr. * ossl_pkey_dsa.c: use GetCipherPtr. * ossl_ssl.c: SSLContext#initialize allows a Symbol as SSL type. * ossl_x509store.c: set verify callback on ex_data. * ossl_pkcs7.c: added some(many) features. - PKCS7::read_smime as a wrapper of SMIME_write_PKCS7 - PKCS7::write_smime as a wrapper of SMIME_write_PKCS7 - PKCS7::sign as a wrapper of PKCS7_sign - PKCS7::encrypt as a wrapper of PKCS7_ecnrypt - PKCS7::PKCS7#initialized disallow PKCS#7 type as argument. - PKCS7::PKCS7#type= to set PKCS#7 type. (NID_pkcs7_* can be specified by Symbol.) - PKCS7::PKCS7#type to get PKCS#7 type. - PKCS7::PKCS7#detached= to set detached. - PKCS7::PKCS7#detached? to query if the envelop is detached. - PKCS7::PKCS7#verify is as a wrapper of PKCS7_verify - PKCS7::PKCS7#decrypt is as a wrapper of PKCS7_decypt - PKCS7::PKCS7#data= is an alias of PKCS7::PKCS7#add_data - PKCS7::PKCS7#verify_data is temporarily disabled. - PKCS7::PKCS7#decode_data is temporarily disabled. - PKCS7_* constants are introduced.
* fix-up copy_dup_framework for latest RubyMichal Rokos2003-05-211-2/+4
|
* add ability to set paddingTechnorama team2003-04-221-0/+18
|
* minor fixTechnorama team2003-04-211-1/+1
|
* Various updatesMichal Rokos2003-04-211-68/+64
|
* add .reset, .key=, .iv=, remove crashing workaroundTechnorama team2003-04-081-45/+86
|
* Make OSSL2 work with Ruby1.6 too (currently #dup, #copy isn't working)Michal Rokos2003-02-241-1/+2
|
* Port to Ruby1.8 (alloc|copy) framework.Michal Rokos2002-12-291-5/+5
|
* * Indent by 4 spaces, 1 tab has the width of 8 spaces.GOTOU Yuuzou2002-12-171-190/+186
|
* implement #become for Ruby 1.7.3 dup, clone interfaceMichal Rokos2002-09-051-1/+18
|
* ossl_bn.c: Fix pot mem leak when using NUM2INTMichal Rokos2002-07-231-5/+5
|
* change all rb_raise and OSSL_Raise to ossl_raiseMichal Rokos2002-06-121-15/+19
| | | | | fix: Cipher#final cannot be called without preceding Cipher#(en|de)crypt Config ported to OpenSSL 0.9.7 interface
* Added new methods to Cipher, Digest, HMAC; HMAC fixMichal Rokos2002-06-111-0/+31
|
* Cipher: fix fault in initialize (condition in GetCipher was too tight)Michal Rokos2002-06-081-1/+4
|
* X509Attr, X509Cert, X509CRL, X509Ext, X509Name, X509Req, X509Revoked, ↵Michal Rokos2002-06-071-7/+6
| | | | X509Store port to 1.8 and new class creation fixups
* HMAC and SPKI cleanups & portsMichal Rokos2002-06-051-1/+1
|
* BN, Cipher, Config, Digest cleanupMichal Rokos2002-06-041-20/+23
|
* Config reviewedMichal Rokos2002-06-041-3/+3
|
* Cipher moved to Factory styleMichal Rokos2002-06-041-497/+59
|
* Initial revisionMichal Rokos2002-06-041-33/+37
|
* * Macros fixupsossl1-ossl2-branch-pointMichal Rokos2002-04-071-5/+4
| | | | | | | | | | * X509ExtFactory cleanup * fixed strptime warning on Linux * X509::Certificate#version has been changed! !!! WARNING !!! x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...) p x509.version -> 2, means that it is X509v3 !!! WARNING !!!
* * Cipher IV fixupMichal Rokos2002-03-111-4/+12
|
* * Big internal cleanup (all structs with only 1 member rearranged)Michal Rokos2002-03-111-0/+1
| | | | * improved getting time_t from cTime
* * WARNING! All to_str methods are not used any longer (use to_text instead)Michal Rokos2002-03-051-5/+5
| | | | | * made an aliases to_pem as to_s * more relaxed params checking - everywhere where string was needed it is OK that obj implements to_s method
* * More benevolent checks (Check_SafeStr(x) -> Check_Type(x, T_STRING)Michal Rokos2002-02-231-5/+5
| | | | (where we don't care)
* * transition from rb_raise to OSSL_Raise (where possible)Michal Rokos2002-02-131-11/+11
| | | | | * some mem checks * preliminary DH key support
* * fixed and improved verify_callbacks in ossl_(ssl|x509store).cMichal Rokos2002-01-101-5/+5
| | | | * enhanced ossl_x509store.rb examples
* * OpenSSL::Cipher::BITx constant == x (so BIT40 = 40,...)Michal Rokos2002-01-101-13/+13
|
* * added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*)Michal Rokos2002-01-101-43/+145
| | | | | | | * added AES cipher when compiled under OpenSSL-SNAPSHOT * added warnings if the OpenSSL is compiled without some feature * handle NO_RSA, NO_DSA in openssl.rb * incremented version in ossl_version.h
* * Further checking (Check_SafeStr, memory leaks)Michal Rokos2002-01-041-35/+25
|
* * Memory checkingMichal Rokos2001-12-211-0/+11
|
* * fixed unusual usage of ## preprocessing sequence.GOTOU Yuuzou2001-12-211-3/+3
|
* * added bn methods (thanks to UNKNOWN <oss-ruby@technorama.net>Michal Rokos2001-12-131-21/+35
| | | | * simplify ossl_digest sources
* - BN added (only proof of concept)Michal Rokos2001-11-211-32/+64
| | | | | - indent changed - rand.h to ossl.h added
* - HMAC addedMichal Rokos2001-11-201-46/+43
| | | | | | | | - Config came back - API changed in PKCS7 (param. order) - API changed in Cipher (can't add data in .new) - indentation changed (only half of files, 2nd half to do) - some API doc added to README
* Released as 0.0.9Michal Rokos2001-11-181-0/+1
|
* Initial revisionMichal Rokos2001-11-161-0/+542