pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
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

◆ _GLCRYPTO_CONCAT

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

Definition at line 34 of file gl_openssl.h.

◆ _GLCRYPTO_CONCAT_

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

Definition at line 33 of file gl_openssl.h.

◆ _GLCRYPTO_PREFIX

#define _GLCRYPTO_PREFIX   _GLCRYPTO_CONCAT (OPENSSL_ALG, _prefix)

Definition at line 73 of file gl_openssl.h.

◆ GL_CRYPTO_FN

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

Definition at line 75 of file gl_openssl.h.

◆ GL_OPENSSL_INLINE

#define GL_OPENSSL_INLINE   _GL_INLINE

Definition at line 29 of file gl_openssl.h.

◆ md5_prefix

#define md5_prefix   MD5

Definition at line 67 of file gl_openssl.h.

◆ OPENSSL_ALG

#define OPENSSL_ALG   _GLCRYPTO_CONCAT (sha, GL_OPENSSL_NAME)

Definition at line 39 of file gl_openssl.h.

◆ OPENSSL_FN

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

Definition at line 74 of file gl_openssl.h.

◆ sha1_prefix

#define sha1_prefix   SHA1

Definition at line 68 of file gl_openssl.h.

◆ sha224_prefix

#define sha224_prefix   SHA224

Definition at line 69 of file gl_openssl.h.

◆ sha256_prefix

#define sha256_prefix   SHA256

Definition at line 70 of file gl_openssl.h.

◆ sha384_prefix

#define sha384_prefix   SHA384

Definition at line 71 of file gl_openssl.h.

◆ sha512_prefix

#define sha512_prefix   SHA512

Definition at line 72 of file gl_openssl.h.

Function Documentation

◆ _buffer()

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.

◆ _finish_ctx()

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.

◆ _init_ctx()

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

Definition at line 78 of file gl_openssl.h.

◆ _process_block()

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.

◆ _process_bytes()

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.

◆ _read_ctx()

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.