ext/openssl/ossl_pkcs5.c File Reference

#include "ossl.h"

Go to the source code of this file.

Functions

static VALUE ossl_pkcs5_pbkdf2_hmac (VALUE self, VALUE pass, VALUE salt, VALUE iter, VALUE keylen, VALUE digest)
static VALUE ossl_pkcs5_pbkdf2_hmac_sha1 (VALUE self, VALUE pass, VALUE salt, VALUE iter, VALUE keylen)
void Init_ossl_pkcs5 ()

Variables

VALUE mPKCS5
VALUE ePKCS5

Function Documentation

void Init_ossl_pkcs5 ( void   ) 
static VALUE ossl_pkcs5_pbkdf2_hmac ( VALUE  self,
VALUE  pass,
VALUE  salt,
VALUE  iter,
VALUE  keylen,
VALUE  digest 
) [static]

Definition at line 27 of file ossl_pkcs5.c.

References ePKCS5, GetDigestPtr(), len, NUM2INT, ossl_raise(), rb_str_new(), RSTRING_LEN, RSTRING_PTR, and StringValue.

Referenced by Init_ossl_pkcs5().

static VALUE ossl_pkcs5_pbkdf2_hmac_sha1 ( VALUE  self,
VALUE  pass,
VALUE  salt,
VALUE  iter,
VALUE  keylen 
) [static]

Definition at line 68 of file ossl_pkcs5.c.

References ePKCS5, len, NUM2INT, ossl_raise(), rb_str_new(), RSTRING_LENINT, RSTRING_PTR, and StringValue.

Referenced by Init_ossl_pkcs5().


Variable Documentation

Definition at line 7 of file ossl_pkcs5.c.

Referenced by Init_ossl_pkcs5().


Generated on 1 Aug 2012 for Ruby by  doxygen 1.6.1