Searched refs:crypto (Results 1 – 25 of 878) sorted by relevance
12345678910>>...36
19 src/crypto/asn1/a_bitstr.c\20 src/crypto/asn1/a_bool.c\21 src/crypto/asn1/a_d2i_fp.c\22 src/crypto/asn1/a_dup.c\23 src/crypto/asn1/a_enum.c\24 src/crypto/asn1/a_gentm.c\25 src/crypto/asn1/a_i2d_fp.c\26 src/crypto/asn1/a_int.c\27 src/crypto/asn1/a_mbstr.c\28 src/crypto/asn1/a_object.c\[all …]
21 "src/crypto/asn1/a_bitstr.c",22 "src/crypto/asn1/a_bool.c",23 "src/crypto/asn1/a_d2i_fp.c",24 "src/crypto/asn1/a_dup.c",25 "src/crypto/asn1/a_enum.c",26 "src/crypto/asn1/a_gentm.c",27 "src/crypto/asn1/a_i2d_fp.c",28 "src/crypto/asn1/a_int.c",29 "src/crypto/asn1/a_mbstr.c",30 "src/crypto/asn1/a_object.c",[all …]
39 MODULE_SRCDEPS += $(LOCAL_DIR)/crypto-sources.mk40 include $(LOCAL_DIR)/crypto-sources.mk47 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/connect.c,$(LOCAL_SRC_FILES))48 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/fd.c,$(LOCAL_SRC_FILES))49 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/file.c,$(LOCAL_SRC_FILES))50 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket.c,$(LOCAL_SRC_FILES))51 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket_helper.c,$(LOCAL_SRC_FILES))52 LOCAL_SRC_FILES := $(filter-out src/crypto/asn1/time_support.c,$(LOCAL_SRC_FILES))53 LOCAL_SRC_FILES := $(filter-out src/crypto/x509/by_dir.c,$(LOCAL_SRC_FILES))72 LOCAL_C_INCLUDES := src/crypto src/include
9 crypto/cipher_extra/test/aes_128_cbc_sha1_ssl3_tests.txt10 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt11 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt12 crypto/cipher_extra/test/aes_128_cbc_sha256_tls_tests.txt13 crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt14 crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt15 crypto/cipher_extra/test/aes_128_gcm_tests.txt16 crypto/cipher_extra/test/aes_256_cbc_sha1_ssl3_tests.txt17 crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt18 crypto/cipher_extra/test/aes_256_cbc_sha1_tls_tests.txt[all …]
15 std::unique_ptr<crypto::SymmetricKey> key( in TEST()16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()24 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()34 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()40 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()41 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); in TEST()51 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()52 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()[all …]
24 uint8_t output3[crypto::kSHA256Length]; in TEST()26 std::unique_ptr<crypto::SecureHash> ctx( in TEST()27 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()32 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()40 const uint8_t kExpectedHashOfInput1[crypto::kSHA256Length] = { in TEST()44 const uint8_t kExpectedHashOfInput1And2[crypto::kSHA256Length] = { in TEST()49 uint8_t output1[crypto::kSHA256Length]; in TEST()50 uint8_t output2[crypto::kSHA256Length]; in TEST()51 uint8_t output3[crypto::kSHA256Length]; in TEST()53 std::unique_ptr<crypto::SecureHash> ctx1( in TEST()[all …]
21 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST()22 crypto::RSAPrivateKey::Create(1024)); in TEST()27 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()28 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()31 std::unique_ptr<crypto::SignatureCreator> signer( in TEST()32 crypto::SignatureCreator::Create(key.get(), in TEST()33 crypto::SignatureCreator::SHA1)); in TEST()46 crypto::SignatureVerifier verifier; in TEST()48 crypto::SignatureVerifier::RSA_PKCS1_SHA1, &signature.front(), in TEST()58 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST()[all …]
75 std::unique_ptr<crypto::RSAPrivateKey> keypair1( in TEST()76 crypto::RSAPrivateKey::Create(1024)); in TEST()77 std::unique_ptr<crypto::RSAPrivateKey> keypair2( in TEST()78 crypto::RSAPrivateKey::Create(2048)); in TEST()92 std::unique_ptr<crypto::RSAPrivateKey> keypair3( in TEST()93 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST()94 std::unique_ptr<crypto::RSAPrivateKey> keypair4( in TEST()95 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST()115 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()116 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()[all …]
24 uint8_t output1[crypto::kSHA256Length]; in TEST()25 crypto::SHA256HashString(input1, output1, sizeof(output1)); in TEST()26 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()30 crypto::SHA256HashString(input1, in TEST()49 std::string output1 = crypto::SHA256HashString(input1); in TEST()50 ASSERT_EQ(crypto::kSHA256Length, output1.size()); in TEST()51 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()68 uint8_t output2[crypto::kSHA256Length]; in TEST()69 crypto::SHA256HashString(input2, output2, sizeof(output2)); in TEST()70 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()[all …]
80 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()149 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()175 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST()216 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()232 crypto::HMAC hmac2(crypto::HMAC::SHA256); in TEST()241 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()255 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()289 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
12 .arch_extension crypto14 @ CHECK-V7-NEXT: .arch_extension crypto17 .type crypto,%function18 crypto: label20 @ CHECK-V7: error: instruction requires: crypto armv823 @ CHECK-V7: error: instruction requires: crypto armv825 @ CHECK-V7: error: instruction requires: crypto armv827 @ CHECK-V7: error: instruction requires: crypto armv829 @ CHECK-V7: error: instruction requires: crypto armv832 @ CHECK-V7: error: instruction requires: crypto armv8[all …]
1 @ RUN: llvm-mc -triple armv8 -mattr=+neon,+crypto -show-encoding < %s | FileCheck %s12 @ CHECK-V7: instruction requires: crypto armv813 @ CHECK-V7: instruction requires: crypto armv814 @ CHECK-V7: instruction requires: crypto armv815 @ CHECK-V7: instruction requires: crypto armv823 @ CHECK-V7: instruction requires: crypto armv824 @ CHECK-V7: instruction requires: crypto armv825 @ CHECK-V7: instruction requires: crypto armv841 @ CHECK-V7: instruction requires: crypto armv842 @ CHECK-V7: instruction requires: crypto armv8[all …]
18 lib/crypto/crypto_aesctr.c \19 lib/crypto/crypto_aesctr.h \20 lib/crypto/crypto_scrypt-nosse.c \21 lib/crypto/sha256.c \22 lib/crypto/sha256.h \43 lib/crypto \51 lib/crypto/crypto_scrypt-ref.c \61 lib/crypto/crypto_scrypt-neon.c \65 lib/crypto/crypto_scrypt-ref.c \69 lib/crypto/crypto_scrypt-neon.c \[all …]
35 "lib/crypto",43 "lib/crypto/crypto_scrypt-ref.c",50 "lib/crypto/crypto_scrypt-neon.c",53 "lib/crypto/crypto_scrypt-ref.c",59 "lib/crypto/crypto_scrypt-neon.c",62 "lib/crypto/crypto_scrypt-ref.c",67 "lib/crypto/crypto_scrypt-sse.c",70 "lib/crypto/crypto_scrypt-ref.c",75 "lib/crypto/crypto_scrypt-sse.c",78 "lib/crypto/crypto_scrypt-ref.c",
25 supportsKey(key crypto.PrivateKey) bool26 signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error)27 verifyMessage(key crypto.PublicKey, msg, sig []byte) error30 func selectSignatureAlgorithm(version uint16, key crypto.PrivateKey, config *Config, peerSigAlgs []…55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, …71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,…85 hash crypto.Hash89 if r.hash == crypto.MD5SHA1 {103 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool {108 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er…[all …]
26 hash crypto.Hash30 crypto.SHA256,38 crypto.SHA256,46 crypto.SHA256,56 crypto.SHA1,64 crypto.SHA1,72 crypto.SHA1,80 crypto.SHA1,
1 ; RUN: llc -march=arm64 -mattr=crypto -aarch64-neon-syntax=apple -o - %s | FileCheck %s3 declare <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i8> %key)4 declare <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %data, <16 x i8> %key)5 declare <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %data)6 declare <16 x i8> @llvm.aarch64.crypto.aesimc(<16 x i8> %data)11 %res = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i8> %key)18 %res = call <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %data, <16 x i8> %key)25 %res = call <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %data)32 %res = call <16 x i8> @llvm.aarch64.crypto.aesimc(<16 x i8> %data)36 declare <4 x i32> @llvm.aarch64.crypto.sha1c(<4 x i32> %hash_abcd, i32 %hash_e, <4 x i32> %wk)[all …]
META-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
15 import javax.crypto.BadPaddingException;16 import javax.crypto.Cipher;17 import javax.crypto.IllegalBlockSizeException;18 import javax.crypto.NoSuchPaddingException;19 import javax.crypto.SecretKey;20 import javax.crypto.ShortBufferException;21 import javax.crypto.interfaces.PBEKey;22 import javax.crypto.spec.IvParameterSpec;24 import javax.crypto.spec.PBEKeySpec;26 import javax.crypto.spec.PBEParameterSpec;[all …]
17 import javax.crypto.BadPaddingException;18 import javax.crypto.Cipher;19 import javax.crypto.CipherSpi;20 import javax.crypto.IllegalBlockSizeException;21 import javax.crypto.NoSuchPaddingException;22 import javax.crypto.ShortBufferException;23 import javax.crypto.spec.IvParameterSpec;24 import javax.crypto.spec.PBEParameterSpec;28 import javax.crypto.spec.SecretKeySpec;31 import org.bouncycastle.crypto.CipherParameters;[all …]
102 struct net80211_crypto *crypto = *which; in sec80211_install() local117 crypto = zalloc ( sizeof ( *crypto ) + in sec80211_install()119 if ( ! crypto ) { in sec80211_install()124 memcpy ( crypto, tbl_crypto, sizeof ( *crypto ) ); in sec80211_install()125 crypto->priv = ( ( void * ) crypto + in sec80211_install()126 sizeof ( *crypto ) ); in sec80211_install()131 if ( ! crypto ) { in sec80211_install()136 *which = crypto; in sec80211_install()139 "length %d\n", crypt, crypto, len ); in sec80211_install()141 return crypto->init ( crypto, key, len, rsc ); in sec80211_install()[all …]
97 static int wep_init ( struct net80211_crypto *crypto, const void *key, in wep_init() argument100 struct wep_ctx *ctx = crypto->priv; in wep_init()117 static struct io_buffer * wep_encrypt ( struct net80211_crypto *crypto, in wep_encrypt() argument120 struct wep_ctx *ctx = crypto->priv; in wep_encrypt()166 static struct io_buffer * wep_decrypt ( struct net80211_crypto *crypto, in wep_decrypt() argument169 struct wep_ctx *ctx = crypto->priv; in wep_decrypt()201 DBGC ( crypto, "WEP %p CRC mismatch: expect %08x, get %08x\n", in wep_decrypt()202 crypto, icv, crc ); in wep_decrypt()235 dev->associating->crypto == NET80211_CRYPT_NONE ) in trivial_init()256 rc = sec80211_install ( &dev->crypto, NET80211_CRYPT_WEP, key, len, in trivial_init()[all …]
1 package org.bouncycastle.crypto.generators;3 import org.bouncycastle.crypto.AsymmetricCipherKeyPair;4 import org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator;5 import org.bouncycastle.crypto.KeyGenerationParameters;6 import org.bouncycastle.crypto.params.DHKeyGenerationParameters;7 import org.bouncycastle.crypto.params.DHParameters;8 import org.bouncycastle.crypto.params.DHPrivateKeyParameters;9 import org.bouncycastle.crypto.params.DHPublicKeyParameters;
10 import javax.crypto.SecretKey;11 import javax.crypto.spec.DESKeySpec;12 import javax.crypto.spec.IvParameterSpec;13 import javax.crypto.spec.PBEKeySpec;14 import javax.crypto.spec.SecretKeySpec;19 import org.bouncycastle.crypto.CipherParameters;20 import org.bouncycastle.crypto.KeyGenerationParameters;21 import org.bouncycastle.crypto.engines.DESEngine;24 import org.bouncycastle.crypto.generators.DESKeyGenerator;25 import org.bouncycastle.crypto.macs.CBCBlockCipherMac;[all …]