#include <botan/internal/commoncrypto.h>
#include <botan/hash.h>
#include <botan/internal/stl_util.h>
#include <unordered_map>
#include <CommonCrypto/CommonCrypto.h>
Go to the source code of this file.
◆ MAKE_COMMONCRYPTO_HASH_1
#define MAKE_COMMONCRYPTO_HASH_1 |
( |
| id | ) |
|
Value:
#define MAKE_COMMONCRYPTO_HASH_2(name, id)
◆ MAKE_COMMONCRYPTO_HASH_2
#define MAKE_COMMONCRYPTO_HASH_2 |
( |
| name, |
|
|
| id ) |
◆ MAKE_COMMONCRYPTO_HASH_3
#define MAKE_COMMONCRYPTO_HASH_3 |
( |
| name, |
|
|
| hash, |
|
|
| ctx ) |
Value: std::unique_ptr<HashFunction>(new CommonCrypto_HashFunction<CC_##ctx##_CTX>({std::string(name), \
CC_##hash##_DIGEST_LENGTH, \
CC_##hash##_BLOCK_BYTES, \
CC_##hash##_Init, \
CC_##hash##_Update, \
CC_##hash##_Final}));
Referenced by Botan::make_commoncrypto_hash().