pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gl_openssl.h File Reference

Go to the source code of this file.

Macros

#define GL_OPENSSL_INLINE   _GL_INLINE
 
#define _GLCRYPTO_CONCAT_(prefix, suffix)   prefix##suffix
 
#define _GLCRYPTO_CONCAT(prefix, suffix)   _GLCRYPTO_CONCAT_ (prefix, suffix)
 
#define OPENSSL_ALG   _GLCRYPTO_CONCAT (sha, GL_OPENSSL_NAME)
 
#define md5_prefix   MD5
 
#define sha1_prefix   SHA1
 
#define sha224_prefix   SHA224
 
#define sha256_prefix   SHA256
 
#define sha384_prefix   SHA384
 
#define sha512_prefix   SHA512
 
#define _GLCRYPTO_PREFIX   _GLCRYPTO_CONCAT (OPENSSL_ALG, _prefix)
 
#define OPENSSL_FN(suffix)   _GLCRYPTO_CONCAT (_GLCRYPTO_PREFIX, suffix)
 
#define GL_CRYPTO_FN(suffix)   _GLCRYPTO_CONCAT (OPENSSL_ALG, suffix)
 

Functions

GL_OPENSSL_INLINE void
GL_CRYPTO_FN() 
_init_ctx (struct _gl_ctx *ctx)
 
GL_OPENSSL_INLINE void
GL_CRYPTO_FN() 
_process_bytes (const void *buf, size_t len, struct _gl_ctx *ctx)
 
GL_OPENSSL_INLINE void
GL_CRYPTO_FN() 
_process_block (const void *buf, size_t len, struct _gl_ctx *ctx)
 
GL_OPENSSL_INLINE void
*GL_CRYPTO_FN() 
_finish_ctx (struct _gl_ctx *ctx, void *restrict res)
 
GL_OPENSSL_INLINE void
*GL_CRYPTO_FN() 
_buffer (const char *buf, size_t len, void *restrict res)
 
GL_OPENSSL_INLINE void
*GL_CRYPTO_FN() 
_read_ctx (const struct _gl_ctx *ctx, void *restrict res)
 

Macro Definition Documentation

#define _GLCRYPTO_CONCAT (   prefix,
  suffix 
)    _GLCRYPTO_CONCAT_ (prefix, suffix)

Definition at line 34 of file gl_openssl.h.

#define _GLCRYPTO_CONCAT_ (   prefix,
  suffix 
)    prefix##suffix

Definition at line 33 of file gl_openssl.h.

#define _GLCRYPTO_PREFIX   _GLCRYPTO_CONCAT (OPENSSL_ALG, _prefix)

Definition at line 73 of file gl_openssl.h.

#define GL_CRYPTO_FN (   suffix)    _GLCRYPTO_CONCAT (OPENSSL_ALG, suffix)

Definition at line 75 of file gl_openssl.h.

#define GL_OPENSSL_INLINE   _GL_INLINE

Definition at line 29 of file gl_openssl.h.

#define md5_prefix   MD5

Definition at line 67 of file gl_openssl.h.

#define OPENSSL_ALG   _GLCRYPTO_CONCAT (sha, GL_OPENSSL_NAME)

Definition at line 39 of file gl_openssl.h.

#define OPENSSL_FN (   suffix)    _GLCRYPTO_CONCAT (_GLCRYPTO_PREFIX, suffix)

Definition at line 74 of file gl_openssl.h.

#define sha1_prefix   SHA1

Definition at line 68 of file gl_openssl.h.

#define sha224_prefix   SHA224

Definition at line 69 of file gl_openssl.h.

#define sha256_prefix   SHA256

Definition at line 70 of file gl_openssl.h.

#define sha384_prefix   SHA384

Definition at line 71 of file gl_openssl.h.

#define sha512_prefix   SHA512

Definition at line 72 of file gl_openssl.h.

Function Documentation

GL_OPENSSL_INLINE void* GL_CRYPTO_FN() _buffer ( const char *  buf,
size_t  len,
void *restrict  res 
)

Definition at line 97 of file gl_openssl.h.

GL_OPENSSL_INLINE void* GL_CRYPTO_FN() _finish_ctx ( struct _gl_ctx *  ctx,
void *restrict  res 
)

Definition at line 93 of file gl_openssl.h.

GL_OPENSSL_INLINE void GL_CRYPTO_FN() _init_ctx ( struct _gl_ctx *  ctx)

Definition at line 78 of file gl_openssl.h.

GL_OPENSSL_INLINE void GL_CRYPTO_FN() _process_block ( const void *  buf,
size_t  len,
struct _gl_ctx *  ctx 
)

Definition at line 88 of file gl_openssl.h.

GL_OPENSSL_INLINE void GL_CRYPTO_FN() _process_bytes ( const void *  buf,
size_t  len,
struct _gl_ctx *  ctx 
)

Definition at line 84 of file gl_openssl.h.

GL_OPENSSL_INLINE void* GL_CRYPTO_FN() _read_ctx ( const struct _gl_ctx *  ctx,
void *restrict  res 
)

Definition at line 101 of file gl_openssl.h.