OpenSSL 1.1.1-pre2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "e_os.h"
|
||||
|
||||
static ossl_inline uint32_t load32(const uint8_t *src)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include "e_os.h"
|
||||
|
||||
#define BLAKE2S_BLOCKBYTES 64
|
||||
#define BLAKE2S_OUTBYTES 32
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <openssl/crypto.h>
|
||||
#include "e_os.h"
|
||||
|
||||
#include "blake2_locl.h"
|
||||
#include "blake2_impl.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <openssl/crypto.h>
|
||||
#include "e_os.h"
|
||||
|
||||
#include "blake2_locl.h"
|
||||
#include "blake2_impl.h"
|
||||
@@ -219,7 +218,7 @@ int BLAKE2s_Update(BLAKE2S_CTX *c, const void *data, size_t datalen)
|
||||
in += fill;
|
||||
datalen -= fill;
|
||||
}
|
||||
if (datalen > BLAKE2S_BLOCKBYTES) {
|
||||
if (datalen > BLAKE2S_BLOCKBYTES) {
|
||||
size_t stashlen = datalen % BLAKE2S_BLOCKBYTES;
|
||||
/*
|
||||
* If |datalen| is a multiple of the blocksize, stash
|
||||
|
||||
@@ -54,6 +54,6 @@ static const EVP_MD blake2b_md = {
|
||||
|
||||
const EVP_MD *EVP_blake2b512(void)
|
||||
{
|
||||
return (&blake2b_md);
|
||||
return &blake2b_md;
|
||||
}
|
||||
#endif
|
||||
@@ -54,6 +54,6 @@ static const EVP_MD blake2s_md = {
|
||||
|
||||
const EVP_MD *EVP_blake2s256(void)
|
||||
{
|
||||
return (&blake2s_md);
|
||||
return &blake2s_md;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user