Commit 14f61f81 authored by Richard Levitte's avatar Richard Levitte
Browse files

EVP_MAC: Integrate SipHash EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD

parent c89d9cda
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
@@ -392,3 +392,36 @@ const EVP_PKEY_METHOD hmac_pkey_meth = {
    pkey_mac_ctrl,
    pkey_mac_ctrl_str
};

const EVP_PKEY_METHOD siphash_pkey_meth = {
    EVP_PKEY_SIPHASH,
    EVP_PKEY_FLAG_SIGCTX_CUSTOM,
    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
Changes for crypto/siphash/build.info: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2,5 +2,4 @@ LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
	siphash.c \
	siphash_meth.c \
	siphash_pmeth.c \
	siphash_ameth.c
−205

File deleted.