Latest update.

This commit is contained in:
2020-01-21 10:59:59 +09:00
parent 0f7abb4eb6
commit f2d048b604
94 changed files with 989 additions and 10719 deletions
@@ -8,7 +8,7 @@
*/
/*
* AES low level APIs are deprecated for public use, but still ok for internal
* All low level APIs are deprecated for public use, but still ok for internal
* use where we're using them to implement the higher level EVP interface, as is
* the case here.
*/
@@ -23,7 +23,7 @@ int cipher_capable_aes_cbc_hmac_sha1(void)
}
#else
# include "crypto/rand.h"
# include <openssl/rand.h>
# include "crypto/evp.h"
# include "internal/constant_time.h"
@@ -135,7 +135,7 @@ static size_t tls1_multi_block_encrypt(void *vctx,
# endif
/* ask for IVs in bulk */
if (rand_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4) <= 0)
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4) <= 0)
return 0;
mctx = (SHA1_MB_CTX *) (storage + 32 - ((size_t)storage % 32)); /* align */