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:
parent
1fe12b8e8c
commit
b787656eea
990 changed files with 13406 additions and 18710 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: $!";
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include "e_os.h"
|
||||
#include "des_locl.h"
|
||||
#include "des_local.h"
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#define DES_FCRYPT
|
||||
#include "des_locl.h"
|
||||
#include "des_local.h"
|
||||
#undef DES_FCRYPT
|
||||
|
||||
#undef PERM_OP
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "des_locl.h"
|
||||
#include "des_local.h"
|
||||
|
||||
/* RSA's DESX */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue