Searched refs:cipher (Results 76 - 100 of 456) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/cmac/
H A Dcmac.h74 const EVP_CIPHER *cipher, ENGINE *impl);
H A Dcmac.c152 const EVP_CIPHER *cipher, ENGINE *impl)
164 /* Switch to FIPS cipher implementation if possible */
165 if (cipher != NULL) {
167 fcipher = FIPS_get_cipherbynid(EVP_CIPHER_nid(cipher));
169 cipher = fcipher;
176 return FIPS_cmac_init(ctx, key, keylen, cipher, NULL);
180 if (!key && !cipher && !impl && keylen == 0) {
191 if (cipher && !EVP_EncryptInit_ex(&ctx->cctx, cipher, impl, NULL, NULL))
151 CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, const EVP_CIPHER *cipher, ENGINE *impl) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A Dopenbsd_hw.c130 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher,
138 assert(ctx->cipher->iv_len <= MAX_HW_IV);
142 CDATA(ctx)->cipher=cipher;
170 assert((inl&(ctx->cipher->block_size-1)) == 0);
174 if(ctx->cipher->iv_len)
178 memcpy(lb,&in[cryp.len-ctx->cipher->iv_len],ctx->cipher->iv_len);
231 memcpy(ctx->iv,&out[cryp.len-ctx->cipher->iv_len],ctx->cipher
[all...]
H A De_aes.c104 if ((ctx->cipher->flags & EVP_CIPH_MODE) == EVP_CIPH_CFB_MODE
105 || (ctx->cipher->flags & EVP_CIPH_MODE) == EVP_CIPH_OFB_MODE
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/
H A Dopenbsd_hw.c129 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx, int cipher,
137 assert(ctx->cipher->iv_len <= MAX_HW_IV);
141 CDATA(ctx)->cipher = cipher;
168 assert((inl & (ctx->cipher->block_size - 1)) == 0);
172 if (ctx->cipher->iv_len)
176 memcpy(lb, &in[cryp.len - ctx->cipher->iv_len], ctx->cipher->iv_len);
221 memcpy(ctx->iv, &out[cryp.len - ctx->cipher->iv_len],
222 ctx->cipher
[all...]
H A Devp_pbe.c72 /* Setup a cipher context from a PBE algorithm */
154 const EVP_CIPHER *cipher; local
177 cipher = NULL;
179 cipher = EVP_get_cipherbynid(cipher_nid);
180 if (!cipher) {
196 if (!keygen(ctx, pass, passlen, param, cipher, md, en_de)) {
255 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, argument
259 if (cipher)
260 cipher_nid = EVP_CIPHER_nid(cipher);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/
H A Dopenbsd_hw.c129 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx, int cipher,
137 assert(ctx->cipher->iv_len <= MAX_HW_IV);
141 CDATA(ctx)->cipher = cipher;
168 assert((inl & (ctx->cipher->block_size - 1)) == 0);
172 if (ctx->cipher->iv_len)
176 memcpy(lb, &in[cryp.len - ctx->cipher->iv_len], ctx->cipher->iv_len);
221 memcpy(ctx->iv, &out[cryp.len - ctx->cipher->iv_len],
222 ctx->cipher
[all...]
H A Devp_pbe.c72 /* Setup a cipher context from a PBE algorithm */
154 const EVP_CIPHER *cipher; local
177 cipher = NULL;
179 cipher = EVP_get_cipherbynid(cipher_nid);
180 if (!cipher) {
196 if (!keygen(ctx, pass, passlen, param, cipher, md, en_de)) {
255 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, argument
259 if (cipher)
260 cipher_nid = EVP_CIPHER_nid(cipher);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/engine/
H A Deng_cryptodev.c78 static int cryptodev_max_iv(int cipher);
79 static int cryptodev_key_length_valid(int cipher, int len);
90 static int cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
210 cryptodev_max_iv(int cipher) argument
215 if (ciphers[i].id == cipher)
227 cryptodev_key_length_valid(int cipher, int len) argument
232 if (ciphers[i].id == cipher)
272 sess.cipher = ciphers[i].id;
310 sess.cipher = 0;
384 if ((inl % ctx->cipher
430 int cipher; local
572 cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/sample/sample-config-files/
H A Dclient.conf109 # Select a cryptographic cipher.
110 # If the cipher option is used on the server
112 ;cipher x
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Drng.h37 // cipher will be deleted by destructor, deterministicTimeVector = 0 means obtain time vector from system
38 X917RNG(BlockTransformation *cipher, const byte *seed, const byte *deterministicTimeVector = 0);
43 member_ptr<BlockTransformation> cipher; member in class:X917RNG
44 unsigned int S; // blocksize of cipher
H A Ddmac.h83 typename T::Encryption cipher(key, keylength);
85 cipher.ProcessBlock(m_subkeys);
87 cipher.ProcessBlock(m_subkeys+m_subkeys.size()/2);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/cmac/
H A Dcmac.c152 const EVP_CIPHER *cipher, ENGINE *impl)
164 /* Switch to FIPS cipher implementation if possible */
165 if (cipher != NULL) {
167 fcipher = FIPS_get_cipherbynid(EVP_CIPHER_nid(cipher));
169 cipher = fcipher;
176 return FIPS_cmac_init(ctx, key, keylen, cipher, NULL);
180 if (!key && !cipher && !impl && keylen == 0) {
191 if (cipher && !EVP_EncryptInit_ex(&ctx->cctx, cipher, impl, NULL, NULL))
151 CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, const EVP_CIPHER *cipher, ENGINE *impl) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/cms/
H A Dcms_enc.c84 enc = ec->cipher ? 1 : 0;
95 ciph = ec->cipher;
97 * If not keeping key set cipher to NULL so subsequent calls decrypt.
100 ec->cipher = NULL;
214 const EVP_CIPHER *cipher,
217 ec->cipher = cipher;
225 if (cipher)
257 if (enc->encryptedContentInfo->cipher && enc->unprotectedAttrs)
213 cms_EncryptedContent_init(CMS_EncryptedContentInfo *ec, const EVP_CIPHER *cipher, const unsigned char *key, size_t keylen) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/cms/
H A Dcms_enc.c84 enc = ec->cipher ? 1 : 0;
95 ciph = ec->cipher;
97 * If not keeping key set cipher to NULL so subsequent calls decrypt.
100 ec->cipher = NULL;
214 const EVP_CIPHER *cipher,
217 ec->cipher = cipher;
225 if (cipher)
257 if (enc->encryptedContentInfo->cipher && enc->unprotectedAttrs)
213 cms_EncryptedContent_init(CMS_EncryptedContentInfo *ec, const EVP_CIPHER *cipher, const unsigned char *key, size_t keylen) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pem/
H A Dpem_seal.c100 EVP_CIPHER_CTX_init(&ctx->cipher);
101 ret = EVP_SealInit(&ctx->cipher, type, ek, ekl, iv, pubk, npubk);
136 EVP_EncryptUpdate(&ctx->cipher, buffer, &j, in, i);
165 if (!EVP_EncryptFinal_ex(&ctx->cipher, s, (int *)&i))
180 EVP_CIPHER_CTX_cleanup(&ctx->cipher);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dcrypto.h44 * Defines a key type and key length for both cipher and HMAC.
50 const cipher_kt_t *cipher; /**< Cipher static parameters */ member in struct:key_type
55 * Container for unidirectional cipher and HMAC %key material.
60 uint8_t cipher[MAX_CIPHER_KEY_LENGTH]; member in struct:key
61 /**< %Key material for cipher operations. */
68 * Container for one set of OpenSSL cipher and/or HMAC contexts.
73 cipher_ctx_t *cipher; /**< Generic cipher %context. */ member in struct:key_ctx
82 * Container for bidirectional cipher and HMAC %key material.
119 * Container for two sets of OpenSSL cipher an
[all...]
H A Dcrypto_openssl.c302 printf ("The following ciphers and cipher modes are available\n"
303 "for use with " PACKAGE_NAME ". Each cipher shown below may be\n"
304 "used as a parameter to the --cipher option. The default\n"
312 const EVP_CIPHER *cipher = EVP_get_cipherbynid (nid); local
313 if (cipher && cipher_ok (OBJ_nid2sn (nid)))
315 const unsigned int mode = EVP_CIPHER_mode (cipher);
323 EVP_CIPHER_key_length (cipher) * 8,
324 ((EVP_CIPHER_flags (cipher) & EVP_CIPH_VARIABLE_LENGTH) ?
478 * Generic cipher key type functions
486 const EVP_CIPHER *cipher local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pem/
H A Dpem_seal.c101 EVP_CIPHER_CTX_init(&ctx->cipher);
102 ret=EVP_SealInit(&ctx->cipher,type,ek,ekl,iv,pubk,npubk);
136 EVP_EncryptUpdate(&ctx->cipher,buffer,&j,in,i);
166 EVP_EncryptFinal_ex(&ctx->cipher,s,(int *)&i);
179 EVP_CIPHER_CTX_cleanup(&ctx->cipher);
H A Dpem_lib.c225 EVP_CIPHER_INFO cipher; local
244 if (!PEM_get_EVP_CIPHER_INFO(header,&cipher)) goto err;
245 if (!PEM_do_header(&cipher,data,&len,cb,u)) goto err;
311 /* actually it needs the cipher block size extra... */
385 int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, argument
396 if (cipher->cipher == NULL) return(1);
411 EVP_BytesToKey(cipher->cipher,EVP_md5(),&(cipher
432 PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/crypto/
H A Dfpu.c85 struct crypto_blkcipher *cipher; local
87 cipher = crypto_spawn_blkcipher(spawn);
88 if (IS_ERR(cipher))
89 return PTR_ERR(cipher);
91 ctx->child = cipher;
167 MODULE_DESCRIPTION("FPU block cipher wrapper");
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pem/
H A Dpem_seal.c100 EVP_CIPHER_CTX_init(&ctx->cipher);
101 ret = EVP_SealInit(&ctx->cipher, type, ek, ekl, iv, pubk, npubk);
136 EVP_EncryptUpdate(&ctx->cipher, buffer, &j, in, i);
165 if (!EVP_EncryptFinal_ex(&ctx->cipher, s, (int *)&i))
180 EVP_CIPHER_CTX_cleanup(&ctx->cipher);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dccm.c26 struct crypto_spawn cipher; member in struct:ccm_instance_ctx
30 struct crypto_cipher *cipher; member in struct:crypto_ccm_ctx
81 struct crypto_cipher *tfm = ctx->cipher;
251 struct crypto_cipher *cipher = ctx->cipher; local
263 crypto_cipher_encrypt_one(cipher, odata, odata);
268 get_data_to_compute(cipher, pctx, req->assoc, req->assoclen);
274 get_data_to_compute(cipher, pctx, plain, cryptlen);
436 struct crypto_cipher *cipher; local
441 cipher
482 struct crypto_alg *cipher; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/
H A Dsmime.c99 const EVP_CIPHER *cipher = NULL; local
151 cipher = EVP_des_ede3_cbc();
153 cipher = EVP_des_cbc();
157 cipher = EVP_seed_cbc();
161 cipher = EVP_rc2_40_cbc();
163 cipher = EVP_rc2_cbc();
165 cipher = EVP_rc2_64_cbc();
169 cipher = EVP_aes_128_cbc();
171 cipher = EVP_aes_192_cbc();
173 cipher
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/
H A Dsmime.c99 const EVP_CIPHER *cipher = NULL; local
151 cipher = EVP_des_ede3_cbc();
153 cipher = EVP_des_cbc();
157 cipher = EVP_seed_cbc();
161 cipher = EVP_rc2_40_cbc();
163 cipher = EVP_rc2_cbc();
165 cipher = EVP_rc2_64_cbc();
169 cipher = EVP_aes_128_cbc();
171 cipher = EVP_aes_192_cbc();
173 cipher
[all...]

Completed in 125 milliseconds

1234567891011>>