HomeSort by relevance Sort by last modified time
    Searched refs:cipher (Results 126 - 150 of 297) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/dropbear/libtomcrypt/src/hashes/chc/
chc.c 24 static int cipher_idx=UNDEFED_HASH, /* which cipher */
25 cipher_blocksize; /* blocksize of cipher */
38 Initialize the CHC state with a given cipher
39 @param cipher The index of the cipher you wish to bind
42 int chc_register(int cipher)
46 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
51 kl = cipher_descriptor[cipher].block_length;
59 if ((err = cipher_descriptor[cipher].keysize(&kl)) != CRYPT_OK) {
63 if (kl != cipher_descriptor[cipher].block_length)
    [all...]
  /external/dropbear/libtomcrypt/src/mac/f9/
f9_memory_multi.c 23 @param cipher The index of the desired cipher
33 int f9_memory_multi(int cipher,
56 if ((err = f9_init(f9, cipher, key, keylen)) != CRYPT_OK) {
  /external/dropbear/libtomcrypt/src/mac/omac/
omac_memory_multi.c 23 @param cipher The index of the desired cipher
33 int omac_memory_multi(int cipher,
56 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) {
  /external/dropbear/libtomcrypt/src/mac/pmac/
pmac_memory_multi.c 23 @param cipher The index of the cipher desired
33 int pmac_memory_multi(int cipher,
55 if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK) {
  /external/dropbear/libtomcrypt/src/mac/xcbc/
xcbc_memory_multi.c 23 @param cipher The index of the desired cipher
33 int xcbc_memory_multi(int cipher,
56 if ((err = xcbc_init(xcbc, cipher, key, keylen)) != CRYPT_OK) {
  /external/openssl/crypto/evp/
evp_pbe.c 71 /* Setup a cipher context from a PBE algorithm */
158 const EVP_CIPHER *cipher; local
180 cipher = NULL;
183 cipher = EVP_get_cipherbynid(cipher_nid);
184 if (!cipher)
203 if (!keygen(ctx, pass, passlen, param, cipher, md, en_de))
257 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
261 if (cipher)
262 cipher_nid = EVP_CIPHER_type(cipher);
  /external/dropbear/libtomcrypt/src/encauth/gcm/
gcm_process.c 48 if ((err = cipher_is_valid(gcm->cipher)) != CRYPT_OK) {
65 if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) {
94 if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) {
112 if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) {
130 if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) {
  /external/openssl/android.testssl/
testssl 128 for cipher in `adb shell /system/bin/openssl ciphers "RSA+$protocol" | tr ':' ' '`; do
129 echo "Testing $cipher"
134 $ssltest -cipher $cipher $prot
136 echo "Failed $cipher"
148 $ssltest -v -bio_pair -tls1 -cipher ADH -dhe1024dsa -num 10 -f -time $extra || exit 1
166 $ssltest -tls1 -cipher PSK -psk abc123 $extra || exit 1
169 $ssltest -bio_pair -tls1 -cipher PSK -psk abc123 $extra || exit 1
175 $ssltest -tls1 -cipher SRP -srpuser test -srppass abc123
178 $ssltest -bio_pair -tls1 -cipher SRP -srpuser test -srppass abc12
    [all...]
  /external/openssl/crypto/pem/
pem_seal.c 102 EVP_CIPHER_CTX_init(&ctx->cipher);
103 ret=EVP_SealInit(&ctx->cipher,type,ek,ekl,iv,pubk,npubk);
137 EVP_EncryptUpdate(&ctx->cipher,buffer,&j,in,i);
167 if (!EVP_EncryptFinal_ex(&ctx->cipher,s,(int *)&i))
181 EVP_CIPHER_CTX_cleanup(&ctx->cipher);
  /external/openssl/apps/
enc.c 122 const EVP_CIPHER *cipher=NULL,*c; local
152 cipher=EVP_get_cipherbyname(pname);
154 if (!do_zlib && !base64 && (cipher == NULL)
157 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
160 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
290 cipher=c;
293 cipher=NULL;
318 BIO_printf(bio_err,"Cipher Types\n");
422 if ((str == NULL) && (cipher != NULL) && (hkey == NULL))
429 OBJ_nid2ln(EVP_CIPHER_nid(cipher)),
    [all...]
smime.c 98 const EVP_CIPHER *cipher = NULL; local
152 cipher = EVP_des_ede3_cbc();
154 cipher = EVP_des_cbc();
158 cipher = EVP_seed_cbc();
162 cipher = EVP_rc2_40_cbc();
164 cipher = EVP_rc2_cbc();
166 cipher = EVP_rc2_64_cbc();
170 cipher = EVP_aes_128_cbc();
172 cipher = EVP_aes_192_cbc();
174 cipher = EVP_aes_256_cbc()
    [all...]
pkey.c 75 const EVP_CIPHER *cipher = NULL; local
172 cipher = EVP_get_cipherbyname(*args + 1);
173 if (!cipher)
175 BIO_printf(bio_err, "Unknown cipher %s\n",
246 PEM_write_bio_PrivateKey(out, pkey, cipher,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 16 * Implements the Counter with Cipher Block Chaining mode (CCM) detailed in
24 private BlockCipher cipher; field in class:CCMBlockCipher
38 * @param c the block cipher to be used.
42 this.cipher = c;
48 throw new IllegalArgumentException("cipher required with a block size of 16.");
53 * return the underlying block cipher that we are wrapping.
55 * @return the underlying block cipher that we are wrapping.
59 return cipher;
94 return cipher.getAlgorithmName() + "/CCM";
139 cipher.reset()
    [all...]
  /external/chromium/crypto/
symmetric_key_nss.cc 86 CK_MECHANISM_TYPE cipher = local
95 ScopedPK11Slot slot(PK11_GetBestSlot(cipher, NULL));
102 PK11SymKey* sym_key = PK11_ImportSymKey(slot.get(), cipher, PK11_OriginUnwrap,
  /external/openssh/
Android.mk 10 canohost.c channels.c cipher.c cipher-acss.c cipher-aes.c \
11 cipher-bf1.c cipher-ctr.c cipher-3des1.c cleanup.c \
sshconnect1.c 38 #include "cipher.h"
418 if (options.cipher == SSH_CIPHER_NONE)
453 if (options.cipher == SSH_CIPHER_NONE)
616 if (options.cipher == SSH_CIPHER_NOT_SET) {
618 options.cipher = ssh_cipher_default;
619 } else if (options.cipher == SSH_CIPHER_INVALID ||
620 !(cipher_mask_ssh1(1) & (1 << options.cipher))) {
621 logit("No valid SSH1 cipher, using %.100s instead.",
623 options.cipher = ssh_cipher_default;
625 /* Check that the selected cipher is supported. *
    [all...]
  /external/dropbear/libtomcrypt/demos/
encrypt.c 18 printf("Usage: %s [-d](ecrypt) cipher infile outfile\nCiphers:\n", name);
103 char *infile, *outfile, *cipher; local
116 cipher = argv[2];
121 cipher = argv[1];
139 cipher_idx = find_cipher(cipher);
141 printf("Invalid cipher entered on command line.\n");
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_cipher.h 191 /** A block cipher ECB structure */
193 /** The index of the cipher chosen */
194 int cipher, member in struct:__anon7166
195 /** The block size of the given cipher */
203 /** A block cipher CFB structure */
205 /** The index of the cipher chosen */
206 int cipher, member in struct:__anon7167
207 /** The block size of the given cipher */
221 /** A block cipher OFB structure */
223 /** The index of the cipher chosen *
224 int cipher, member in struct:__anon7168
240 int cipher, member in struct:__anon7169
255 int cipher, member in struct:__anon7170
276 int cipher; member in struct:__anon7171
301 int cipher, member in struct:__anon7172
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
CTRMode.java 5 package ch.ethz.ssh2.crypto.cipher;
  /external/wpa_supplicant_8/src/tls/
tlsv1_common.h 216 tls_cipher cipher; member in struct:tls_cipher_suite
226 tls_cipher cipher; member in struct:tls_cipher_data
249 const struct tls_cipher_data * tls_get_cipher_data(tls_cipher cipher);
250 int tls_server_key_exchange_allowed(tls_cipher cipher);
  /external/openssl/crypto/pkcs7/
bio_ber.c 111 BIO_TYPE_CIPHER,"cipher",
302 EVP_CipherUpdate(&(ctx->cipher),
342 EVP_CipherInit_ex(&(ctx->cipher),NULL,NULL,NULL,NULL,
343 ctx->cipher.berrypt);
379 ret=EVP_CipherFinal_ex(&(ctx->cipher),
404 memcpy(&(dctx->cipher),&(ctx->cipher),sizeof(ctx->cipher));
441 memcpy(ctx->cipher,c,sizeof(EVP_CIPHER_CTX));
461 EVP_CipherInit_ex(&(ctx->cipher),c,NULL,k,i,e)
    [all...]
  /external/openssl/crypto/engine/
eng_openssl.c 113 static int openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
215 * we're asked for a cipher we don't support (should not happen).
218 * TEST_ENG_OPENSSL_RC4_P_CIPHER - ditto for the "cipher" handler.
277 static int openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
280 if(!cipher)
286 /* We are being asked for a specific cipher */
288 *cipher = &test_r4_cipher;
290 *cipher = &test_r4_40_cipher;
297 *cipher = NULL;
eng_cryptodev.c 101 static int cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
257 sess.cipher = ciphers[i].id;
298 sess.cipher = 0;
377 if ((inl % ctx->cipher->block_size) != 0)
391 if (ctx->cipher->iv_len) {
394 iiv = in + inl - ctx->cipher->iv_len;
395 memcpy(save_iv, iiv, ctx->cipher->iv_len);
407 if (ctx->cipher->iv_len) {
409 iiv = out + inl - ctx->cipher->iv_len;
412 memcpy(ctx->iv, iiv, ctx->cipher->iv_len)
423 int cipher = -1, i; local
    [all...]
  /external/srtp/
Makefile 75 ciphers = crypto/cipher/cipher.o crypto/cipher/null_cipher.o \
76 crypto/cipher/aes.o crypto/cipher/aes_icm.o \
77 crypto/cipher/aes_cbc.o
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar 

Completed in 998 milliseconds

1 2 3 4 56 7 8 91011>>