aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_kdf.c
Commit message (Collapse)AuthorAgeFilesLines
* Look up digest by name instead of constantBart de Water2020-04-211-1/+1
|
* Use fixed_length_secure_compare in HKDF example [ci skip]Bart de Water2019-11-041-18/+2
|
* kdf: add HKDF supportky/kdf-hkdfKazuki Yamaguchi2017-11-221-0/+98
| | | | | | | OpenSSL 1.1.0 supports HKDF through the EVP API. Add OpenSSL::KDF.hkdf as a wrapper around that. Reference: https://github.com/ruby/openssl/issues/172
* digest: rename GetDigestPtr() to ossl_evp_get_digestbyname()Kazuki Yamaguchi2017-05-021-1/+1
| | | | | Similar to the previous one for GetCipherPtr(), GetDigest() and GetDigestPtr() have been completely different. Let's disambiguate them.
* kdf: add scrypttopic/kdf-moduleKazuki Yamaguchi2017-03-231-0/+78
| | | | | Add OpenSSL::KDF.scrypt as a wrapper around EVP_PBE_scrypt(). This is added by OpenSSL 1.1.0.
* kdf: introduce OpenSSL::KDF moduleKazuki Yamaguchi2017-03-231-0/+143
Introduce a new OpenSSL::KDF module as a namespace for to-be-added KDFs. This makes it easier to add new KDFs in future. We already have a stand-alone KDF, OpenSSL::PKCS5.pbkdf2_hmac. This is migrated to the new namespace. The backwards compatibility is retained by the method defined in the newly added lib/openssl/pkcs5.rb.