Sha256: 75bf95d1da118ff1e2f143ccb7a564d949de440097b97a49725c03976e167b52

Contents?: true

Size: 1.04 KB

Versions: 14

Compression:

Stored size: 1.04 KB

Contents

/*
 * Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the OpenSSL license (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#ifndef HEADER_CMAC_H
# define HEADER_CMAC_H

# ifndef OPENSSL_NO_CMAC

#ifdef __cplusplus
extern "C" {
#endif

# include <openssl/evp.h>

/* Opaque */
typedef struct CMAC_CTX_st CMAC_CTX;

CMAC_CTX *CMAC_CTX_new(void);
void CMAC_CTX_cleanup(CMAC_CTX *ctx);
void CMAC_CTX_free(CMAC_CTX *ctx);
EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx);
int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in);

int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
              const EVP_CIPHER *cipher, ENGINE *impl);
int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen);
int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen);
int CMAC_resume(CMAC_CTX *ctx);

#ifdef  __cplusplus
}
#endif

# endif
#endif

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
rho-tau-extensions-7.6.0 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rhodes-7.6.0 lib/extensions/openssl.so/ext/sources/include/openssl/cmac.h
rhodes-7.5.1 lib/extensions/openssl.so/ext/sources/include/openssl/cmac.h
rho-tau-extensions-7.4.1 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rhodes-7.4.1 lib/extensions/openssl.so/ext/sources/include/openssl/cmac.h
rho-tau-extensions-7.1.17 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rhodes-7.1.17 lib/extensions/openssl.so/ext/sources/include/openssl/cmac.h
rho-tau-extensions-6.2.0 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rhodes-6.2.0 lib/extensions/openssl.so/ext/sources/include/openssl/cmac.h
rho-tau-extensions-6.0.11 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rho-tau-extensions-6.0.0 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rho-tau-extensions-5.5.18 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
rho-tau-extensions-5.5.17 libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h
ruby-compiler-0.1.1 vendor/openssl/include/openssl/cmac.h