Latest update

This commit is contained in:
2019-07-13 19:13:22 +09:00
parent 9a23f88dc2
commit 2e57f602ae
542 changed files with 17287 additions and 6184 deletions
+10 -3
View File
@@ -31,10 +31,17 @@ static void siphash_free(EVP_MAC_IMPL *sctx)
OPENSSL_free(sctx);
}
static int siphash_copy(EVP_MAC_IMPL *sdst, EVP_MAC_IMPL *ssrc)
static EVP_MAC_IMPL *siphash_dup(const EVP_MAC_IMPL *ssrc)
{
EVP_MAC_IMPL *sdst;
sdst = siphash_new();
if (sdst == NULL)
return NULL;
*sdst = *ssrc;
return 1;
return sdst;
}
static size_t siphash_size(EVP_MAC_IMPL *sctx)
@@ -128,7 +135,7 @@ static int siphash_ctrl_str(EVP_MAC_IMPL *ctx,
const EVP_MAC siphash_meth = {
EVP_MAC_SIPHASH,
siphash_new,
siphash_copy,
siphash_dup,
siphash_free,
siphash_size,
siphash_init,