1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

AppleM1: Update openssl to v1.1.1l

This commit is contained in:
winlin 2022-08-14 19:05:01 +08:00
parent 1fe12b8e8c
commit b787656eea
990 changed files with 13406 additions and 18710 deletions

View file

@ -1,5 +1,5 @@
#! /usr/bin/env perl
# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
# Copyright 1995-2020 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
@ -25,7 +25,7 @@ $R="esi";
&fcrypt_body("fcrypt_body");
&asm_finish();
close STDOUT;
close STDOUT or die "error closing STDOUT: $!";
sub fcrypt_body
{

View file

@ -1,5 +1,5 @@
#! /usr/bin/env perl
# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
# Copyright 1995-2020 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
@ -47,7 +47,7 @@ $small_footprint=1 if (grep(/\-DOPENSSL_SMALL_FOOTPRINT/,@ARGV));
&asm_finish();
close STDOUT;
close STDOUT or die "error closing STDOUT: $!";
sub DES_encrypt_internal()
{

View file

@ -106,15 +106,15 @@ changequote({,})
! technique.
!
! The macro also loads address sbox 1 to 5 to global 1 to 5, address
! sbox 6 to local6, and addres sbox 8 to out3.
! sbox 6 to local6, and address sbox 8 to out3.
!
! Rotates the halfs 3 left to bring the sbox bits in convenient positions.
! Rotates the halves 3 left to bring the sbox bits in convenient positions.
!
! Loads key first round from address in parameter 5 to out0, out1.
!
! After the original LibDES initial permutation, the resulting left
! is in the variable initially used for right and vice versa. The macro
! implements the possibility to keep the halfs in the original registers.
! implements the possibility to keep the halves in the original registers.
!
! parameter 1 left
! parameter 2 right
@ -1184,7 +1184,7 @@ DES_encrypt2:
add %o7,global1,global1
sub global1,.PIC.DES_SPtrans-.des_and,out2
! Set sbox address 1 to 6 and rotate halfs 3 left
! Set sbox address 1 to 6 and rotate halves 3 left
! Errors caught by destest? Yes. Still? *NO*
!sethi %hi(DES_SPtrans), global1 ! address sbox 1

View file

@ -1,5 +1,5 @@
#! /usr/bin/env perl
# Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved.
# Copyright 2013-2020 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
@ -624,4 +624,4 @@ ___
&emit_assembler();
close STDOUT;
close STDOUT or die "error closing STDOUT: $!";

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output,
long length, DES_key_schedule *schedule,

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/*
* The input and output encrypted as though 64bit cfb mode is being used.

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/*
* The input and output encrypted as though 64bit cfb mode is being used.

View file

@ -8,7 +8,7 @@
*/
#include "e_os.h"
#include "des_locl.h"
#include "des_local.h"
#include <assert.h>
/*

View file

@ -8,7 +8,7 @@
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "des_local.h"
#include "spr.h"
void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)

View file

@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
#ifndef HEADER_DES_LOCL_H
# define HEADER_DES_LOCL_H
#ifndef OSSL_CRYPTO_DES_LOCAL_H
# define OSSL_CRYPTO_DES_LOCAL_H
# include <openssl/e_os2.h>

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
DES_key_schedule *ks1, DES_key_schedule *ks2,

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
#include <openssl/opensslv.h>
#include <openssl/bio.h>

View file

@ -19,7 +19,7 @@
#endif
#include <openssl/crypto.h>
#include "des_locl.h"
#include "des_local.h"
/*
* Added more values to handle illegal salt values the way normal crypt()

View file

@ -10,7 +10,7 @@
#include <stdio.h>
#define DES_FCRYPT
#include "des_locl.h"
#include "des_local.h"
#undef DES_FCRYPT
#undef PERM_OP

View file

@ -13,7 +13,7 @@
* des_enc.c (DES_ncbc_encrypt)
*/
#include "des_locl.h"
#include "des_local.h"
#ifdef CBC_ENC_C__DONT_UPDATE_IV
void DES_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/*
* The input and output encrypted as though 64bit ofb mode is being used.

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/*
* The input and output encrypted as though 64bit ofb mode is being used.

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/*
* The input and output are loaded in multiples of 8 bits. What this means is

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
long length, DES_key_schedule *schedule,

View file

@ -13,7 +13,7 @@
* only based on the code in this paper and is almost definitely not the same
* as the MIT implementation.
*/
#include "des_locl.h"
#include "des_local.h"
#define Q_B0(a) (((DES_LONG)(a)))
#define Q_B1(a) (((DES_LONG)(a))<<8)

View file

@ -16,7 +16,7 @@
* 1.0 First working version
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "des_local.h"
/* defaults to false */
OPENSSL_IMPLEMENT_GLOBAL(int, DES_check_key, 0)

View file

@ -8,7 +8,7 @@
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "des_local.h"
void DES_string_to_key(const char *str, DES_cblock *key)
{

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "des_locl.h"
#include "des_local.h"
/* RSA's DESX */