early-access version 2698
This commit is contained in:
6
externals/libressl/crypto/modes/cbc128.c
vendored
6
externals/libressl/crypto/modes/cbc128.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: cbc128.c,v 1.4 2015/02/10 09:46:30 miod Exp $ */
|
||||
/* $OpenBSD: cbc128.c,v 1.5 2022/01/22 00:45:17 inoguchi Exp $ */
|
||||
/* ====================================================================
|
||||
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
@@ -110,7 +110,7 @@ void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out,
|
||||
in += 16;
|
||||
out += 16;
|
||||
}
|
||||
memcpy(ivec,iv,16);
|
||||
memmove(ivec,iv,16);
|
||||
}
|
||||
|
||||
void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out,
|
||||
@@ -148,7 +148,7 @@ void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out,
|
||||
out += 16;
|
||||
}
|
||||
}
|
||||
memcpy(ivec,iv,16);
|
||||
memmove(ivec,iv,16);
|
||||
} else {
|
||||
if (STRICT_ALIGNMENT &&
|
||||
((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; 1 "crypto/modes/ghash-masm-x86_64.S.tmp"
|
||||
; 1 "<built-in>" 1
|
||||
; 1 "<built-in>" 3
|
||||
; 340 "<built-in>" 3
|
||||
; 343 "<built-in>" 3
|
||||
; 1 "<command line>" 1
|
||||
; 1 "<built-in>" 2
|
||||
; 1 "crypto/modes/ghash-masm-x86_64.S.tmp" 2
|
||||
|
4
externals/libressl/crypto/modes/modes_lcl.h
vendored
4
externals/libressl/crypto/modes/modes_lcl.h
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: modes_lcl.h,v 1.10 2016/12/21 15:49:29 jsing Exp $ */
|
||||
/* $OpenBSD: modes_lcl.h,v 1.11 2021/11/09 18:40:21 bcook Exp $ */
|
||||
/* ====================================================================
|
||||
* Copyright (c) 2010 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
@@ -6,7 +6,7 @@
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
#include <machine/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
|
||||
|
5
externals/libressl/crypto/modes/xts128.c
vendored
5
externals/libressl/crypto/modes/xts128.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: xts128.c,v 1.7 2017/08/13 17:46:24 bcook Exp $ */
|
||||
/* $OpenBSD: xts128.c,v 1.8 2021/11/09 18:40:21 bcook Exp $ */
|
||||
/* ====================================================================
|
||||
* Copyright (c) 2011 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
@@ -48,9 +48,10 @@
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
#include <machine/endian.h>
|
||||
#include <openssl/crypto.h>
|
||||
#include "modes_lcl.h"
|
||||
|
||||
#include <endian.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef MODES_DEBUG
|
||||
|
Reference in New Issue
Block a user