#include <openssl/opensslv.h>
#include <openssl/opensslconf.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>
Go to the source code of this file.
|
static pam_pkcs11_ossl_inline int | RSA_set0_key (RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) |
|
static pam_pkcs11_ossl_inline int | RSA_set0_factors (RSA *r, BIGNUM *p, BIGNUM *q) |
|
static pam_pkcs11_ossl_inline int | RSA_set0_crt_params (RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) |
|
static pam_pkcs11_ossl_inline void | RSA_get0_key (const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) |
|
static pam_pkcs11_ossl_inline void | RSA_get0_factors (const RSA *r, const BIGNUM **p, const BIGNUM **q) |
|
static pam_pkcs11_ossl_inline void | RSA_get0_crt_params (const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, const BIGNUM **iqmp) |
|
static pam_pkcs11_ossl_inline void | DSA_get0_pqg (const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g) |
|
static pam_pkcs11_ossl_inline void | DSA_get0_key (const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key) |
|
◆ ECDSA_SIG_get0_r
#define ECDSA_SIG_get0_r |
( |
| x | ) |
|
◆ ECDSA_SIG_get0_s
#define ECDSA_SIG_get0_s |
( |
| x | ) |
|
◆ EVP_CIPHER_CTX_free
#define EVP_CIPHER_CTX_free |
( |
| x | ) |
|
Value: ({ \
if (x) { \
EVP_CIPHER_CTX_cleanup(x); \
OPENSSL_free(x); \
} \
})
Definition at line 63 of file pam-pkcs11-ossl-compat.h.
◆ EVP_CIPHER_CTX_new
#define EVP_CIPHER_CTX_new |
( |
| ) |
|
Value: ({ \
EVP_CIPHER_CTX * tmp = NULL; \
tmp = OPENSSL_malloc(sizeof(struct evp_cipher_ctx_st)); \
if (tmp) { \
EVP_CIPHER_CTX_init(tmp); \
} \
tmp; \
})
Definition at line 54 of file pam-pkcs11-ossl-compat.h.
◆ EVP_MD_CTX_free
#define EVP_MD_CTX_free EVP_MD_CTX_destroy |
◆ EVP_MD_CTX_new
#define EVP_MD_CTX_new EVP_MD_CTX_create |
◆ EVP_PKEY_base_id
#define EVP_PKEY_base_id |
( |
| x | ) |
|
◆ EVP_PKEY_get0_DSA
#define EVP_PKEY_get0_DSA |
( |
| x | ) |
|
◆ EVP_PKEY_get0_RSA
#define EVP_PKEY_get0_RSA |
( |
| x | ) |
|
◆ EVP_PKEY_up_ref
#define EVP_PKEY_up_ref |
( |
| user_key | ) |
|
◆ OPENSSL_malloc_init
#define OPENSSL_malloc_init CRYPTO_malloc_init |
◆ pam_pkcs11_ossl_inline
#define pam_pkcs11_ossl_inline |
◆ RSA_bits
◆ RSA_get0_e
◆ RSA_get0_n
◆ RSA_PKCS1_OpenSSL
#define RSA_PKCS1_OpenSSL RSA_PKCS1_SSLeay |
◆ X509_get0_tbs_sigalg
#define X509_get0_tbs_sigalg |
( |
| x | ) |
|
◆ X509_get_extended_key_usage
#define X509_get_extended_key_usage |
( |
| x | ) |
|
◆ X509_get_extension_flags
#define X509_get_extension_flags |
( |
| x | ) |
|
◆ X509_get_key_usage
#define X509_get_key_usage |
( |
| x | ) |
|
◆ X509_OBJECT_free
#define X509_OBJECT_free |
( |
| x | ) |
|
Value: ({ \
if (x) { \
X509_OBJECT_free_contents(x); \
OPENSSL_free(x); \
} \
})
Definition at line 104 of file pam-pkcs11-ossl-compat.h.
◆ X509_OBJECT_get0_X509
#define X509_OBJECT_get0_X509 |
( |
| x | ) |
|
◆ X509_OBJECT_get0_X509_CRL
#define X509_OBJECT_get0_X509_CRL |
( |
| x | ) |
|
◆ X509_up_ref
#define X509_up_ref |
( |
| cert | ) |
|
◆ DSA_get0_key()
static pam_pkcs11_ossl_inline void DSA_get0_key |
( |
const DSA * | d, |
|
|
const BIGNUM ** | pub_key, |
|
|
const BIGNUM ** | priv_key ) |
|
static |
◆ DSA_get0_pqg()
static pam_pkcs11_ossl_inline void DSA_get0_pqg |
( |
const DSA * | d, |
|
|
const BIGNUM ** | p, |
|
|
const BIGNUM ** | q, |
|
|
const BIGNUM ** | g ) |
|
static |
◆ RSA_get0_crt_params()
static pam_pkcs11_ossl_inline void RSA_get0_crt_params |
( |
const RSA * | r, |
|
|
const BIGNUM ** | dmp1, |
|
|
const BIGNUM ** | dmq1, |
|
|
const BIGNUM ** | iqmp ) |
|
static |
◆ RSA_get0_factors()
◆ RSA_get0_key()
static pam_pkcs11_ossl_inline void RSA_get0_key |
( |
const RSA * | r, |
|
|
const BIGNUM ** | n, |
|
|
const BIGNUM ** | e, |
|
|
const BIGNUM ** | d ) |
|
static |
◆ RSA_set0_crt_params()
static pam_pkcs11_ossl_inline int RSA_set0_crt_params |
( |
RSA * | r, |
|
|
BIGNUM * | dmp1, |
|
|
BIGNUM * | dmq1, |
|
|
BIGNUM * | iqmp ) |
|
static |
◆ RSA_set0_factors()
◆ RSA_set0_key()