зеркало из https://github.com/microsoft/SymCrypt.git
Merged PR 3136947: Fix copyright messages to refer to the MIT license
Fix copyright messages to refer to the MIT license Related work items: #20681107
This commit is contained in:
Родитель
215d0bfd43
Коммит
092de3fd9a
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
SymCrypt main_gen.cpp
|
||||
Program to generate the various constants & tables for the SymCrypt code
|
||||
Copyright (c) Microsoft Corp, all rights reserved
|
||||
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
*/
|
||||
|
||||
#include <ntstatus.h>
|
||||
|
@ -112,7 +112,7 @@ printSmallPrimes( FILE * f, UINT32 primeLimit )
|
|||
{
|
||||
fprintf( f, "//\n" );
|
||||
fprintf( f, "// Table of small primes <= %d\n", primeLimit );
|
||||
fprintf( f, "// Copyright (c) Microsoft corp, all rights reserved\n" );
|
||||
fprintf( f, "// Copyright (c) Microsoft Corporation. Licensed under the MIT license.\n" );
|
||||
fprintf( f, "//\n" );
|
||||
fprintf( f, "\n" );
|
||||
fprintf( f, "const %s g_smallPrimes[] = {", primeLimit <= 65535 ? "UINT16" : "UINT32" );
|
||||
|
@ -138,7 +138,7 @@ printFileHeader( FILE * f )
|
|||
fprintf( f,
|
||||
"//\n"
|
||||
"// Parameters for trial division mechanism\n"
|
||||
"// Copyright (c) Microsoft corp, all rights reserved\n"
|
||||
"// Copyright (c) Microsoft Corporation. Licensed under the MIT license.\n"
|
||||
"// GENERATED FILE, DO NOT EDIT.\n"
|
||||
"//\n"
|
||||
"\n" );
|
||||
|
@ -150,7 +150,7 @@ printSmallPrimeDifferences( FILE * f, UINT32 primeLimit )
|
|||
fprintf( f,
|
||||
"//\n"
|
||||
"// Table of small primes differences for primes <= %d\n"
|
||||
"// Copyright (c) Microsoft corp, all rights reserved\n"
|
||||
"// Copyright (c) Microsoft Corporation. Licensed under the MIT license.\n"
|
||||
"// GENERATED FILE, DO NOT EDIT.\n"
|
||||
"//\n"
|
||||
"// Table encodes small primes except 2, 3, 5, and 17 which are handled separately\n"
|
||||
|
@ -429,7 +429,7 @@ printIfxTpmWeakKeyTable( FILE * f )
|
|||
"// modulo any of the first 126 primes, is a power of 65537\n"
|
||||
"// These keys are insecure.\n"
|
||||
"// This file contains information used to detect the modulus of these weak keys.\n"
|
||||
"// Copyright (c) Microsoft corp, all rights reserved\n"
|
||||
"// Copyright (c) Microsoft Corporation. Licensed under the MIT license.\n"
|
||||
"// GENERATED FILE, DO NOT EDIT.\n"
|
||||
"//\n"
|
||||
"\n"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt_inline.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt_internal.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt_low_level.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// symcrypt_no_sal.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt_types.h
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;/*
|
||||
; SymCrypt_version.inc
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; This is the file that contains the SymCrypt version information. It is updated by the build system
|
||||
; so that each version of the library has a unique version number.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// 3des.c Routines for DES and 3DES
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// This is an updated implementation that is carefully reviewed to be fully copyrighted by
|
||||
// Microsoft. Our previous implementation was partially based on a very old public domain
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// AesTables.c lookup tables for the AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
// We put these in a separate source file to keep the code file uncluttered.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;/*
|
||||
; C_asm_shared.inc file to synchronize C and Asm information
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
; This is a file that compiles both in C and ASM to define values in a way that is guaranteed to be the same on both sides.
|
||||
; We use this to define the structure offsets that the ASM code uses.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// DesTables.c static lookup tables for DES
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
// These tables were copies
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// FatalIntercept.C
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// IEEE802_11SaeCustom.c Implementation of the custom crypto of IEEE 802.11 SAE
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// ScsTable.c
|
||||
// Side-channel safe table
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
// These functions implement an table of large elements.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// a_dispatch.c Dispatch between different arithmetic format implementations.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// SymCrypt can have multiple implementations of the arithmetic operations, and these can
|
||||
// have incompatible formats used to store the integers.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-asm.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-c.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// The fast-ish C implementation of the core AES functions
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-default-bc.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-default.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// This is the interface for the default AES implementation.
|
||||
// On each platform, this is the fastest AES implementation irrespective of code size.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// The actual encryption and decryption routines here are not nearly as fast as the
|
||||
// assembler ones. They are used on platforms that don't have assembler implementations
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-neon.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// All NEON-based code for AES operations
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-selftest.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aes-xmm.c code for AES implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// All XMM code for AES operations
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aesCtrDrbg.c code for SP 800-90 AES-CTR-DRBG implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// aescmac.c Implementation of the AES-CMAC block cipher mode
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; AesAsm.asm Assembler code for fast AES on the amd64
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; This code is derived from the AesFast implemenation that
|
||||
; Niels Ferguson wrote from scratch for BitLocker during Vista.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
; We read the 'ndigit' value. If it is 1 digit, the values are 6 64-bit words, if it is 2 the values
|
||||
; are 9 64-bit words. As we compute in groups of 3, our loop counters are one more than nDigit
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
include ksamd64.inc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; fdef_asm.asm Assembler code for large integer arithmetic in the default data format
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
include ksamd64.inc
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
;
|
||||
; Macros for the multiplication routines in amd64
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
; General multiplication
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; fdef_asm.asm Assembler code for large integer arithmetic in the default data format
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
include ksamd64.inc
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; Sha1Asm.Asm
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;
|
||||
; SymCrypt_magic.inc
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Include file to define the support macros for the Magic field
|
||||
;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; Wipe.asm
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
include ksamd64.inc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; AesAsm.asm Assembler code for fast AES on ARM
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; This code is derived from the AMD64 version of the AesFast
|
||||
; implemenation, developed by Niels Ferguson. For questions
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; fdef_asm.asm Assembler code for large integer arithmetic in the default data format for the arm architecture
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
#include "ksarm.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;
|
||||
; SymCrypt_magic.inc
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Include file to define the support macros for the Magic field
|
||||
;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TTL "SymCryptWipe"
|
||||
;++
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Secure wipe
|
||||
;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
;
|
||||
; Most of this code is a direct copy of the default code.
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
#include "ksarm64.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; fdef_asm.asm Assembler code for large integer arithmetic in the default data format for the arm64 architecture
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
#include "ksarm64.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;
|
||||
; SymCrypt_magic.inc
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Include file to define the support macros for the Magic field
|
||||
;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TTL "SymCryptWipe"
|
||||
;++
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Secure wipe
|
||||
;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// BlockCipherModes.c generic implementation of all block cipher modes
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// CCM.c implementation of the CCM block cipher mode
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ChaCha20.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// cpuid.c code for CPU feature detection based on CPUID
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// cpuid_notry.c code for CPU feature detection based on CPUID for ARM64
|
||||
// without the try except structure (used in boot environment)
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// cpuid_um.c code for CPU feature detection based on CPUID
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
// This file contains the CPUID code that is only compiled for user-mode.
|
||||
// The IsProcessorFeaturePresent API is only in UM, so linking any code out of
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// crt.c Chinese Remainder Theorem Algorithms
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// DesX.c DESX implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
2
lib/dh.c
2
lib/dh.c
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// dh.c DH functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// dlgroup.c Dlgroup functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// dlkey.c Dlkey functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// dsa.c DSA functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_dh.c ECDH function
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_dispatch.c Dispatch file for elliptic curve crypto functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_dsa.c ECDSA functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_internal_curves.c Parameters for internally supported curves.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_montgomery.c Montgomery Implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_mul.c Generic multiplication algorithms for elliptic curves
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_short_weierstrass.c ECPOINT functions for short Weierstrass curves.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ec_twisted_edwards.c Twisted Edwards Curve Implementation
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// eckey.c Functions for the ECKEY object
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ecpoint.c Ecpoint functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// ecurve.c Ecurve functions
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// env_Win10Sgx.c
|
||||
// Platform-specific code for windows 10 SGX user mode.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Platform-specific code for a generic environment
|
||||
// This is suitable for many embedded environments.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// env_windowsBootLib.c
|
||||
// Platform-specific code for windows boot library environment.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include <ntddk.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// The debugger runs before the Windows kernel mode is up-and-running, and has some special
|
||||
// requirements.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Note: we no longer support the use of a guarded region. That is only needed
|
||||
// on XP and Vista, and we simply don't use XMM
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// for optimal performance. It also supports the use of PCLMULQDQ for GHASH as
|
||||
// that can only be used if the SaveXmm routine never fails.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// env_windowsUserMode.c
|
||||
// Platform-specific code for windows user mode.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// env_windowsUserMode.c
|
||||
// Platform-specific code for windows user mode.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// equal.c Memory comparison routine that is safe against side channels.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// fdef_int.c INT functions for default number format
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// fdef_general.c General functions of the default format.
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
//
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// fdef_int.c INT functions for default number format
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// fdef_int.c INT functions for default number format
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// gcm.c Implementation of the GCM block cipher mode
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// gen_int.c Generic integer algorithms (not tied to low-level implementations)
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// This implementation was done by Niels Ferguson for the RSA32.lib library in 2008,
|
||||
// and adapted to the SymCrypt library in 2009.
|
||||
//
|
||||
// Copyright (c) Microsoft Corp, all rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// hash.c generic code used in many hash implementations.
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// hash_buffer_pattern.c
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// hash_pattern.c
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// hkdf.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// hkdf_selftest.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// hmac_pattern.c
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
VOID
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// HmacMd5.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// HmacSha1.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// HmacSha256.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// HmacSha512.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// HmacSha512.c
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; AesAsm.asm Assembler code for fast AES on the x86
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; This code is derived from the AesFast implemenation that
|
||||
; Niels Ferguson wrote from scratch for BitLocker during Vista.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; fdef_asm.asm Assembler code for fast arithmetic
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
TITLE "Fdef_asm"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; rc4asm.asm
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; RC4 implementation in x86 assembler
|
||||
; This is a new RC4 implementation for SymCrypt.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; Sha1Asm.Asm
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;
|
||||
; SymCrypt_magic.inc
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
; Include file to define the support macros for the Magic field
|
||||
;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; Wipe.asm
|
||||
;
|
||||
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
;
|
||||
|
||||
include ksamd64.inc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// SymCrypt library pre-compiled header file for the Xcode compiler
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// libmain.c
|
||||
// General routines for the SymCrypt library
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
//
|
||||
|
||||
#include "precomp.h"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче