Commit f8c9a8e3 authored by Richard Levitte's avatar Richard Levitte
Browse files

EVP_MAC: Integrate HMAC EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD

parent 6723f867
Loading
Loading
Loading
Loading
+33
Changes for crypto/evp/pkey_mac.c: 33 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -359,3 +359,36 @@ const EVP_PKEY_METHOD cmac_pkey_meth = {
    pkey_mac_ctrl,
    pkey_mac_ctrl_str
};

const EVP_PKEY_METHOD hmac_pkey_meth = {
    EVP_PKEY_HMAC,
    0,
    pkey_mac_init,
    pkey_mac_copy,
    pkey_mac_cleanup,

    0, 0,

    0,
    pkey_mac_keygen,

    0, 0,

    0, 0,

    0, 0,

    pkey_mac_signctx_init,
    pkey_mac_signctx,

    0, 0,

    0, 0,

    0, 0,

    0, 0,

    pkey_mac_ctrl,
    pkey_mac_ctrl_str
};
+1 −1
Changes for crypto/hmac/build.info: 1 added line, 1 removed line.
Original line number Diff line number Diff line
LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
        hmac.c hm_ameth.c hm_pmeth.c hm_meth.c
        hmac.c hm_ameth.c hm_meth.c
−212

File deleted.