code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/* crypto/ui/ui.h -*- mode:C; c-file-style: "eay" -*- */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in sourc... | zx08uestc-openvpn | main/openssl/include/openssl/ui_compat.h | C | gpl2 | 3,439 |
/* crypto/objects/obj_mac.h */
/* THIS FILE IS GENERATED FROM objects.txt by objects.pl via the
* following command:
* perl objects.pl objects.txt obj_mac.num obj_mac.h
*/
/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eri... | zx08uestc-openvpn | main/openssl/include/openssl/obj_mac.h | C | gpl2 | 136,214 |
/* conf_api.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercia... | zx08uestc-openvpn | main/openssl/include/openssl/conf_api.h | C | gpl2 | 4,080 |
/* crypto/crypto.h */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | zx08uestc-openvpn | main/openssl/include/openssl/crypto.h | C | gpl2 | 24,337 |
/* opensslconf.h */
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
/* OpenSSL was configured with the following options: */
#ifndef OPENSSL_DOING_MAKEDEPEND
#ifndef OPENSSL_NO_CAMELLIA
# define OPENSSL_NO_CAMELLIA
#endif
#ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
#endif
#ifnde... | zx08uestc-openvpn | main/openssl/include/openssl/opensslconf-static-64.h | C | gpl2 | 8,529 |
/* crypto/ripemd/ripemd.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and n... | zx08uestc-openvpn | main/openssl/include/openssl/ripemd.h | C | gpl2 | 4,327 |
/* opensslconf.h */
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
/* OpenSSL was configured with the following options: */
#ifndef OPENSSL_DOING_MAKEDEPEND
#ifndef OPENSSL_NO_CAMELLIA
# define OPENSSL_NO_CAMELLIA
#endif
#ifndef OPENSSL_NO_CAPIENG
# define OPENSSL_NO_CAPIENG
#endif
#ifnde... | zx08uestc-openvpn | main/openssl/include/openssl/opensslconf-static-trusty.h | C | gpl2 | 11,302 |
/* crypto/hmac/hmac.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... | zx08uestc-openvpn | main/openssl/include/openssl/hmac.h | C | gpl2 | 4,476 |
# Copyright 2006 The Android Open Source Project
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := openssl
LOCAL_MULTILIB := both
LOCAL_MODULE_STEM_32 := openssl
LOCAL_MODULE_STEM_64 := openssl64
LOCAL_CLANG := true
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libssl libcrypto
include $(LO... | zx08uestc-openvpn | main/openssl/Apps.mk | Makefile | gpl2 | 839 |
#
# These flags represent the build-time configuration of OpenSSL for android
#
# The value of $(openssl_cflags) was pruned from the Makefile generated
# by running ./Configure from import_openssl.sh.
#
# This script performs minor but required patching for the Android build.
#
# Directories for ENGINE shared librarie... | zx08uestc-openvpn | main/openssl/android-config.mk | Makefile | gpl2 | 1,704 |
/* e_os.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial us... | zx08uestc-openvpn | main/openssl/e_os.h | C | gpl2 | 23,524 |
#!/bin/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | zx08uestc-openvpn | main/openssl/import_openssl.sh | Shell | gpl2 | 21,489 |
/* crypto/pqueue/pqueue.c */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and us... | zx08uestc-openvpn | main/openssl/crypto/pqueue/pqueue.c | C | gpl2 | 5,683 |
/* crypto/pqueue/pqueue.h */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and us... | zx08uestc-openvpn | main/openssl/crypto/pqueue/pqueue.h | C | gpl2 | 3,580 |
/* crypto/pqueue/pq_test.c */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and u... | zx08uestc-openvpn | main/openssl/crypto/pqueue/pq_test.c | C | gpl2 | 3,421 |
del mttest.exe
purify cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssl32.lib ..\..\out\crypt32.lib
| zx08uestc-openvpn | main/openssl/crypto/threads/ptest.bat | Batchfile | gpl2 | 116 |
/* crypto/threads/mttest.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and ... | zx08uestc-openvpn | main/openssl/crypto/threads/mttest.c | C | gpl2 | 29,581 |
#!/bin/sh
#
# build using pthreads where it's already built into the system
#
/bin/rm -f mttest
gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
| zx08uestc-openvpn | main/openssl/crypto/threads/pthread2.sh | Shell | gpl2 | 183 |
@echo off
rem batch file to build multi-thread test ( mttest.nlm )
rem command line arguments:
rem debug => build using debug settings
rem
rem After building, copy mttest.nlm to the server and run it, you'll probably
rem want to redirect stdout and stderr. An example command line would be
rem "mttest.nlm -threa... | zx08uestc-openvpn | main/openssl/crypto/threads/netware.bat | Batchfile | gpl2 | 2,127 |
#!/bin/sh
#
# build using pthreads
#
# http://www.mit.edu:8001/people/proven/pthreads.html
#
/bin/rm -f mttest
pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
| zx08uestc-openvpn | main/openssl/crypto/threads/pthread.sh | Shell | gpl2 | 190 |
#!/bin/sh
/bin/rm -f mttest
cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| zx08uestc-openvpn | main/openssl/crypto/threads/solaris.sh | Shell | gpl2 | 128 |
#!/bin/sh
/bin/rm -f mttest
cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| zx08uestc-openvpn | main/openssl/crypto/threads/profile.sh | Shell | gpl2 | 152 |
/* crypto/threads/th-lock.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and... | zx08uestc-openvpn | main/openssl/crypto/threads/th-lock.c | C | gpl2 | 9,656 |
#!/bin/sh
/bin/rm -f mttest
purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| zx08uestc-openvpn | main/openssl/crypto/threads/purify.sh | Shell | gpl2 | 135 |
#!/usr/bin/env perl
$flavour = shift;
$output = shift;
open STDOUT,">$output";
if ($flavour =~ /64/) {
$LEVEL ="2.0W";
$SIZE_T =8;
$ST ="std";
} else {
$LEVEL ="1.1";
$SIZE_T =4;
$ST ="stw";
}
$rp="%r2";
$sp="%r30";
$rv="%r28";
$code=<<___;
.LEVEL $LEVEL
.SPACE \$TEXT\$
.SUBSPA \$CODE\$,QUAD=0,ALIGN=... | zx08uestc-openvpn | main/openssl/crypto/pariscid.pl | Raku | gpl2 | 3,577 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_dsa.c | C | gpl2 | 4,189 |
/* ====================================================================
* Copyright (c) 2003 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_store.c | C | gpl2 | 4,346 |
/* crypto/engine/eng_lib.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, wit... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_lib.c | C | gpl2 | 8,789 |
/* crypto/engine/eng_ctrl.c */
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_ctrl.c | C | gpl2 | 12,340 |
/* ====================================================================
* Copyright (c) 2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_pkmeth.c | C | gpl2 | 5,325 |
/* crypto/engine/eng_all.c -*- mode: C; c-file-style: "eay" -*- */
/* Written by Richard Levitte <richard@levitte.org> for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 2000-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution a... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_all.c | C | gpl2 | 4,622 |
/* crypto/engine/eng_openssl.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms,... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_openssl.c | C | gpl2 | 11,632 |
/*
* Copyright (c) 2002 Bob Beck <beck@openbsd.org>
* Copyright (c) 2002 Theo de Raadt
* Copyright (c) 2002 Markus Friedl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribu... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_cryptodev.c | C | gpl2 | 34,938 |
/* crypto/engine/enginetest.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, ... | zx08uestc-openvpn | main/openssl/crypto/engine/enginetest.c | C | gpl2 | 8,114 |
/* openssl/engine.h */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2004 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or wi... | zx08uestc-openvpn | main/openssl/crypto/engine/engine.h | C | gpl2 | 40,585 |
/* crypto/engine/eng_err.c */
/* ====================================================================
* Copyright (c) 1999-2010 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_err.c | C | gpl2 | 8,620 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_rsa.c | C | gpl2 | 4,189 |
/* crypto/engine/tb_ecdh.c */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
* The Elliptic Curve Public-Key Crypto Library (ECC Code) included
* herein is developed by SUN MICROSYSTEMS, INC., and is contributed
* to the OpenSS... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_ecdh.c | C | gpl2 | 4,779 |
/* eng_cnf.c */
/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modif... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_cnf.c | C | gpl2 | 7,093 |
/* crypto/engine/eng_list.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_list.c | C | gpl2 | 11,841 |
/* ====================================================================
* Copyright (c) 2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_asnmth.c | C | gpl2 | 7,447 |
/* crypto/engine/eng_fat.c */
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_fat.c | C | gpl2 | 6,091 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_rand.c | C | gpl2 | 4,219 |
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_table.c | C | gpl2 | 10,125 |
/* crypto/engine/eng_int.h */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, wit... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_int.h | C | gpl2 | 8,295 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_cipher.c | C | gpl2 | 4,762 |
/* crypto/engine/eng_pkey.c */
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_pkey.c | C | gpl2 | 5,846 |
/* crypto/engine/eng_dyn.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, wit... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_dyn.c | C | gpl2 | 18,189 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_digest.c | C | gpl2 | 4,754 |
/* ====================================================================
* Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribution... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_ecdsa.c | C | gpl2 | 4,254 |
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/engine/tb_dh.c | C | gpl2 | 4,159 |
/* crypto/engine/eng_init.c */
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | zx08uestc-openvpn | main/openssl/crypto/engine/eng_init.c | C | gpl2 | 5,200 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <signal.h>
extern unsigned long OPENSSL_s390xcap_P[];
static sigjmp_buf ill_jmp;
static void ill_handler (int sig) { siglongjmp(ill_jmp,sig); }
unsigned long OPENSSL_s390x_facilities(void);
void OPENSSL_cpuid_setup(void)
{
sig... | zx08uestc-openvpn | main/openssl/crypto/s390xcap.c | C | gpl2 | 926 |
#!/usr/bin/env perl
$flavour = shift;
$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or
( $xlate="${dir}perlasm/ppc-xlate.pl" and -f $xlate) or
die "can't locate ppc-xlate.pl";
open STDOUT,"| $^X $xlate $flavour ".shift || die "can't call $xlate: $!";
if ($flavour=~/64/) {
... | zx08uestc-openvpn | main/openssl/crypto/ppccpuid.pl | Raku | gpl2 | 1,935 |
/* crypto/md32_common.h */
/* ====================================================================
* Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... | zx08uestc-openvpn | main/openssl/crypto/md32_common.h | C | gpl2 | 12,494 |
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/symhacks.h | C | gpl2 | 24,302 |
/* crypto/o_time.c -*- mode:C; c-file-style: "eay" -*- */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2008.
*/
/* ====================================================================
* Copyrig... | zx08uestc-openvpn | main/openssl/crypto/o_time.c | C | gpl2 | 11,241 |
#!/usr/bin/env perl
package x86gas;
*out=\@::out;
$::lbdecor=$::aout?"L":".L"; # local label decoration
$nmdecor=($::aout or $::coff)?"_":""; # external name decoration
$initseg="";
$align=16;
$align=log($align)/log(2) if ($::aout);
$com_start="#" if ($::aout or $::coff);
sub opsize()
{ my $reg=shift;
if ... | zx08uestc-openvpn | main/openssl/crypto/perlasm/x86gas.pl | Perl | gpl2 | 5,985 |
#!/usr/bin/env perl
# require 'x86asm.pl';
# &asm_init(<flavor>,"des-586.pl"[,$i386only]);
# &function_begin("foo");
# ...
# &function_end("foo");
# &asm_finish
$out=();
$i386=0;
# AUTOLOAD is this context has quite unpleasant side effect, namely
# that typos in function calls effectively go to assembler output,
# b... | zx08uestc-openvpn | main/openssl/crypto/perlasm/x86asm.pl | Perl | gpl2 | 6,284 |
#!/usr/bin/env perl
package x86masm;
*out=\@::out;
$::lbdecor="\$L"; # local label decoration
$nmdecor="_"; # external name decoration
$initseg="";
$segment="";
sub ::generic
{ my ($opcode,@arg)=@_;
# fix hexadecimal constants
for (@arg) { s/(?<![\w\$\.])0x([0-9a-f]+)/0$1h/oi; }
if ($opcode =~ /lea/... | zx08uestc-openvpn | main/openssl/crypto/perlasm/x86masm.pl | Perl | gpl2 | 4,313 |
#!/usr/bin/env perl
package x86nasm;
*out=\@::out;
$::lbdecor="L\$"; # local label decoration
$nmdecor=$::netware?"":"_"; # external name decoration
$drdecor=$::mwerks?".":""; # directive decoration
$initseg="";
sub ::generic
{ my $opcode=shift;
my $tmp;
if (!$::mwerks)
{ if ($opcode =~ m/^j/o && ... | zx08uestc-openvpn | main/openssl/crypto/perlasm/x86nasm.pl | Perl | gpl2 | 4,114 |
#!/usr/local/bin/perl
# void des_ncbc_encrypt(input, output, length, schedule, ivec, enc)
# des_cblock (*input);
# des_cblock (*output);
# long length;
# des_key_schedule schedule;
# des_cblock (*ivec);
# int enc;
#
# calls
# des_encrypt((DES_LONG *)tin,schedule,DES_ENCRYPT);
#
#&cbc("des_ncbc_encrypt","des_encrypt"... | zx08uestc-openvpn | main/openssl/crypto/perlasm/cbc.pl | Raku | gpl2 | 9,080 |
#!/usr/bin/env perl
# Ascetic x86_64 AT&T to MASM/NASM assembler translator by <appro>.
#
# Why AT&T to MASM and not vice versa? Several reasons. Because AT&T
# format is way easier to parse. Because it's simpler to "gear" from
# Unix ABI to Windows one [see cross-reference "card" at the end of
# file]. Because Linux ... | zx08uestc-openvpn | main/openssl/crypto/perlasm/x86_64-xlate.pl | Perl | gpl2 | 34,020 |
#!/usr/bin/env perl
# PowerPC assembler distiller by <appro>.
my $flavour = shift;
my $output = shift;
open STDOUT,">$output" || die "can't open $output: $!";
my %GLOBALS;
my $dotinlocallabels=($flavour=~/linux/)?1:0;
################################################################
# directives which need special t... | zx08uestc-openvpn | main/openssl/crypto/perlasm/ppc-xlate.pl | Perl | gpl2 | 4,341 |
/* ====================================================================
* Copyright (c) 2011 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/xts128.c | C | gpl2 | 5,613 |
/* ====================================================================
* Copyright (c) 2010 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/gcm128.c | C | gpl2 | 56,662 |
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/cfb128.c | C | gpl2 | 7,039 |
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/cbc128.c | C | gpl2 | 5,591 |
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/ctr128.c | C | gpl2 | 6,988 |
/* ====================================================================
* Copyright (c) 2011 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/ccm128.c | C | gpl2 | 11,636 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.opens... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-s390x.pl | Raku | gpl2 | 6,143 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-x86_64.pl | Perl | gpl2 | 19,327 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.opens... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-ia64.pl | Raku | gpl2 | 18,032 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-x86.pl | Raku | gpl2 | 39,586 |
.text
.globl gcm_gmult_4bit
.type gcm_gmult_4bit,@function
.align 16
gcm_gmult_4bit:
pushq %rbx
pushq %rbp
pushq %r12
.Lgmult_prologue:
movzbq 15(%rdi),%r8
leaq .Lrem_4bit(%rip),%r11
xorq %rax,%rax
xorq %rbx,%rbx
movb %r8b,%al
movb %r8b,%bl
shlb $4,%al
movq $14,%rcx
movq 8(%rsi,%rax,1),%r8
movq (%rsi,%r... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-x86_64.S | Unix Assembly | gpl2 | 19,630 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghashv8-armx.pl | Perl | gpl2 | 6,136 |
.file "ghash-x86.s"
.text
.globl gcm_gmult_4bit_x86
.type gcm_gmult_4bit_x86,@function
.align 16
gcm_gmult_4bit_x86:
.L_gcm_gmult_4bit_x86_begin:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
subl $84,%esp
movl 104(%esp),%edi
movl 108(%esp),%esi
movl (%edi),%ebp
movl 4(%edi),%edx
movl 8(%edi),%ecx
movl 12(%edi... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-x86.S | Unix Assembly | gpl2 | 25,387 |
#include "arm_arch.h"
.text
.arch armv8-a+crypto
.global gcm_init_v8
.type gcm_init_v8,%function
.align 4
gcm_init_v8:
ld1 {v17.2d},[x1] //load H
movi v16.16b,#0xe1
ext v3.16b,v17.16b,v17.16b,#8
shl v16.2d,v16.2d,#57
ushr v18.2d,v16.2d,#63
ext v16.16b,v18.16b,v16.16b,#8 //t0=0xc2....01
dup v17.4s,v17.s[1... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghashv8-armx-64.S | Unix Assembly | gpl2 | 2,759 |
#!/usr/bin/env perl
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.opens... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-sparcv9.pl | Raku | gpl2 | 7,131 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-parisc.pl | Raku | gpl2 | 16,443 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-alpha.pl | Raku | gpl2 | 7,650 |
#include "arm_arch.h"
.text
.fpu neon
.code 32
.global gcm_init_v8
.type gcm_init_v8,%function
.align 4
gcm_init_v8:
vld1.64 {q9},[r1] @ load H
vmov.i8 q8,#0xe1
vext.8 q3,q9,q9,#8
vshl.i64 q8,q8,#57
vshr.u64 q10,q8,#63
vext.8 q8,q10,q8,#8 @ t0=0xc2....01
vdup.32 q9,d18[1]
vshr.u64 q11,q3,#63
vshr.s32 q9... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghashv8-armx.S | Unix Assembly | gpl2 | 2,514 |
#!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-armv4.pl | Prolog | gpl2 | 12,943 |
#include "arm_arch.h"
.text
.code 32
.type rem_4bit,%object
.align 5
rem_4bit:
.short 0x0000,0x1C20,0x3840,0x2460
.short 0x7080,0x6CA0,0x48C0,0x54E0
.short 0xE100,0xFD20,0xD940,0xC560
.short 0x9180,0x8DA0,0xA9C0,0xB5E0
.size rem_4bit,.-rem_4bit
.type rem_4bit_get,%function
rem_4bit_get:
sub r2,pc,#8
sub r2,r2,#32 ... | zx08uestc-openvpn | main/openssl/crypto/modes/asm/ghash-armv4.S | Unix Assembly | gpl2 | 11,489 |
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | zx08uestc-openvpn | main/openssl/crypto/modes/ofb128.c | C | gpl2 | 3,907 |
/* ====================================================================
* Copyright (c) 2010 The OpenSSL Project. All rights reserved.
*
* Redistribution and use is governed by OpenSSL license.
* ====================================================================
*/
#include <openssl/modes.h>
#if (defined(_WI... | zx08uestc-openvpn | main/openssl/crypto/modes/modes_lcl.h | C | gpl2 | 3,613 |
/* crypto/o_time.h -*- mode:C; c-file-style: "eay" -*- */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in sour... | zx08uestc-openvpn | main/openssl/crypto/o_time.h | C | gpl2 | 2,989 |
/* crypto/bn/bn_lcl.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_lcl.h | C | gpl2 | 17,155 |
/* crypto/bn/bn_kron.c */
/* ====================================================================
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_kron.c | C | gpl2 | 5,119 |
/* crypto/bn/bn_mod.c */
/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
* for the OpenSSL project. */
/* ====================================================================
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and bin... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_mod.c | C | gpl2 | 9,723 |
/* crypto/bn/bn_lib.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_lib.c | C | gpl2 | 19,540 |
/* crypto/bn/bn_add.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_add.c | C | gpl2 | 6,864 |
/* crypto/bn/bn_sqrt.c */
/* Written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
* and Bodo Moeller for the OpenSSL project. */
/* ====================================================================
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_sqrt.c | C | gpl2 | 10,005 |
/* crypto/bn/bn_gf2m.c */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
* The Elliptic Curve Public-Key Crypto Library (ECC Code) included
* herein is developed by SUN MICROSYSTEMS, INC., and is contributed
* to the OpenSSL pr... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_gf2m.c | C | gpl2 | 29,676 |
/* crypto/bn/bn_nist.c */
/*
* Written by Nils Larsch for the OpenSSL project
*/
/* ====================================================================
* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_nist.c | C | gpl2 | 33,077 |
/* crypto/bn/bn_exp2.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_exp2.c | C | gpl2 | 10,140 |
/* unused */
/* crypto/bn/expspeed.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for comm... | zx08uestc-openvpn | main/openssl/crypto/bn/expspeed.c | C | gpl2 | 9,515 |
/* unused */
/* crypto/bn/bnspeed.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for comme... | zx08uestc-openvpn | main/openssl/crypto/bn/bnspeed.c | C | gpl2 | 6,625 |
/* crypto/bn/bn_blind.c */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_blind.c | C | gpl2 | 11,467 |
/* crypto/bn/bn_sqr.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-c... | zx08uestc-openvpn | main/openssl/crypto/bn/bn_sqr.c | C | gpl2 | 7,530 |