Latest update.
This commit is contained in:
+7
-17
@@ -2,9 +2,9 @@
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/core.h>
|
||||
#include <openssl/core_numbers.h>
|
||||
#include "internal/evp_int.h"
|
||||
#include "crypto/evp.h"
|
||||
#include "internal/provider.h"
|
||||
#include "evp_locl.h"
|
||||
#include "evp_local.h"
|
||||
|
||||
static int evp_mac_up_ref(void *vmac)
|
||||
{
|
||||
@@ -168,16 +168,6 @@ void EVP_MAC_free(EVP_MAC *mac)
|
||||
evp_mac_free(mac);
|
||||
}
|
||||
|
||||
int EVP_MAC_is_a(const EVP_MAC *mac, const char *name)
|
||||
{
|
||||
return evp_is_a(mac->prov, mac->name_id, name);
|
||||
}
|
||||
|
||||
const char *EVP_MAC_name(const EVP_MAC *mac)
|
||||
{
|
||||
return evp_first_name(mac->prov, mac->name_id);
|
||||
}
|
||||
|
||||
const OSSL_PROVIDER *EVP_MAC_provider(const EVP_MAC *mac)
|
||||
{
|
||||
return mac->prov;
|
||||
@@ -190,23 +180,23 @@ const OSSL_PARAM *EVP_MAC_gettable_params(const EVP_MAC *mac)
|
||||
return mac->gettable_params();
|
||||
}
|
||||
|
||||
const OSSL_PARAM *EVP_MAC_CTX_gettable_params(const EVP_MAC *mac)
|
||||
const OSSL_PARAM *EVP_MAC_gettable_ctx_params(const EVP_MAC *mac)
|
||||
{
|
||||
if (mac->gettable_ctx_params == NULL)
|
||||
return NULL;
|
||||
return mac->gettable_ctx_params();
|
||||
}
|
||||
|
||||
const OSSL_PARAM *EVP_MAC_CTX_settable_params(const EVP_MAC *mac)
|
||||
const OSSL_PARAM *EVP_MAC_settable_ctx_params(const EVP_MAC *mac)
|
||||
{
|
||||
if (mac->settable_ctx_params == NULL)
|
||||
return NULL;
|
||||
return mac->settable_ctx_params();
|
||||
}
|
||||
|
||||
void EVP_MAC_do_all_ex(OPENSSL_CTX *libctx,
|
||||
void (*fn)(EVP_MAC *mac, void *arg),
|
||||
void *arg)
|
||||
void EVP_MAC_do_all_provided(OPENSSL_CTX *libctx,
|
||||
void (*fn)(EVP_MAC *mac, void *arg),
|
||||
void *arg)
|
||||
{
|
||||
evp_generic_do_all(libctx, OSSL_OP_MAC,
|
||||
(void (*)(void *, void *))fn, arg,
|
||||
|
||||
Reference in New Issue
Block a user