#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 | ) | (x->r) | 
      
 
 
◆ ECDSA_SIG_get0_s
      
        
          | #define ECDSA_SIG_get0_s | ( |  | x | ) | (x->s) | 
      
 
 
◆ 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 | ) | (x->type) | 
      
 
 
◆ EVP_PKEY_get0_DSA
      
        
          | #define EVP_PKEY_get0_DSA | ( |  | x | ) | (x->pkey.dsa) | 
      
 
 
◆ EVP_PKEY_get0_RSA
      
        
          | #define EVP_PKEY_get0_RSA | ( |  | x | ) | (x->pkey.rsa) | 
      
 
 
◆ EVP_PKEY_up_ref
      
        
          | #define EVP_PKEY_up_ref | ( |  | user_key | ) | CRYPTO_add(&user_key->references, 1, CRYPTO_LOCK_EVP_PKEY) | 
      
 
 
◆ OPENSSL_malloc_init
      
        
          | #define OPENSSL_malloc_init   CRYPTO_malloc_init | 
      
 
 
◆ pam_pkcs11_ossl_inline
      
        
          | #define pam_pkcs11_ossl_inline | 
      
 
 
◆ RSA_bits
      
        
          | #define RSA_bits | ( |  | R | ) | (BN_num_bits(R->n)) | 
      
 
 
◆ RSA_get0_e
      
        
          | #define RSA_get0_e | ( |  | x | ) | (x->e) | 
      
 
 
◆ RSA_get0_n
      
        
          | #define RSA_get0_n | ( |  | x | ) | (x->n) | 
      
 
 
◆ RSA_PKCS1_OpenSSL
      
        
          | #define RSA_PKCS1_OpenSSL   RSA_PKCS1_SSLeay | 
      
 
 
◆ X509_get0_tbs_sigalg
      
        
          | #define X509_get0_tbs_sigalg | ( |  | x | ) | (x->cert_info->key->algor) | 
      
 
 
◆ X509_get_extended_key_usage
      
        
          | #define X509_get_extended_key_usage | ( |  | x | ) | (x->ex_xkusage) | 
      
 
 
◆ X509_get_extension_flags
      
        
          | #define X509_get_extension_flags | ( |  | x | ) | (x->ex_flags) | 
      
 
 
◆ X509_get_key_usage
      
        
          | #define X509_get_key_usage | ( |  | x | ) | (x->ex_kusage) | 
      
 
 
◆ 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 | ) | (x->data.x509) | 
      
 
 
◆ X509_OBJECT_get0_X509_CRL
      
        
          | #define X509_OBJECT_get0_X509_CRL | ( |  | x | ) | (x->data.crl) | 
      
 
 
◆ X509_up_ref
      
        
          | #define X509_up_ref | ( |  | cert | ) | CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509) | 
      
 
 
◆ 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()