2003-07-23 12:12:24 -04:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
* 'OpenSSL for Ruby' project
|
|
|
|
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* This program is licenced under the same licence as Ruby.
|
|
|
|
* (See the file 'LICENCE'.)
|
|
|
|
*/
|
|
|
|
#if !defined(_OSSL_BN_H_)
|
|
|
|
#define _OSSL_BN_H_
|
|
|
|
|
|
|
|
extern VALUE cBN;
|
|
|
|
extern VALUE eBNError;
|
|
|
|
|
2007-04-03 03:02:44 -04:00
|
|
|
extern BN_CTX *ossl_bn_ctx;
|
|
|
|
|
|
|
|
VALUE ossl_bn_new(const BIGNUM *);
|
2003-07-23 12:12:24 -04:00
|
|
|
BIGNUM *GetBNPtr(VALUE);
|
|
|
|
void Init_ossl_bn(void);
|
|
|
|
|
2007-04-03 03:02:44 -04:00
|
|
|
|
2003-07-23 12:12:24 -04:00
|
|
|
#endif /* _OSS_BN_H_ */
|
|
|
|
|