Searched refs:algorithm (Results 1 - 25 of 122) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Dregister.c88 check_list (int algorithm) argument
101 if (list[i] == algorithm)
110 int err, algorithm; local
117 err = gcry_cipher_register (&cipher_spec_foo, &algorithm, &module);
130 err = gcry_cipher_open (&h, algorithm, GCRY_CIPHER_MODE_CBC, 0);
149 ret = check_list (algorithm);
156 ret = check_list (algorithm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/asn1/
H A Dx_algor.c65 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
H A Da_sign.c160 ASN1_OBJECT_free(a->algorithm);
161 a->algorithm=OBJ_nid2obj(type->pkey_type);
162 if (a->algorithm == NULL)
167 if (a->algorithm->length == 0)
246 ASN1_OBJECT_free(a->algorithm);
247 a->algorithm=OBJ_nid2obj(type->pkey_type);
248 if (a->algorithm == NULL)
253 if (a->algorithm->length == 0)
H A Dt_spki.c73 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm);
102 i=OBJ_obj2nid(spki->sig_algor->algorithm);
H A Dp5_pbe.c74 /* Return an algorithm identifier for a PKCS#5 PBE algorithm */
121 ASN1_OBJECT_free(algor->algorithm);
122 algor->algorithm = al;
H A Dp5_pbev2.c83 /* Return an algorithm identifier for a PKCS#5 v2.0 PBE algorithm:
112 scheme->algorithm = obj;
161 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);
179 ret->algorithm = OBJ_nid2obj(NID_pbes2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/
H A Dx_algor.c65 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
H A Da_sign.c160 ASN1_OBJECT_free(a->algorithm);
161 a->algorithm=OBJ_nid2obj(type->pkey_type);
162 if (a->algorithm == NULL)
167 if (a->algorithm->length == 0)
247 ASN1_OBJECT_free(a->algorithm);
248 a->algorithm=OBJ_nid2obj(type->pkey_type);
249 if (a->algorithm == NULL)
254 if (a->algorithm->length == 0)
H A Dp5_pbe.c74 /* Return an algorithm identifier for a PKCS#5 PBE algorithm */
122 ASN1_OBJECT_free(algor->algorithm);
123 algor->algorithm = al;
H A Dt_spki.c80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm);
118 i=OBJ_obj2nid(spki->sig_algor->algorithm);
H A Dp5_pbev2.c83 /* Return an algorithm identifier for a PKCS#5 v2.0 PBE algorithm:
112 scheme->algorithm = obj;
161 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);
179 ret->algorithm = OBJ_nid2obj(NID_pbes2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/ocsp/
H A Docsp_lib.c112 if (alg->algorithm != NULL) ASN1_OBJECT_free(alg->algorithm);
118 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err;
146 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ocsp/
H A Docsp_lib.c112 if (alg->algorithm != NULL) ASN1_OBJECT_free(alg->algorithm);
118 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err;
146 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Dmd.c45 unsigned int algorithm; member in struct:digest_table_entry
187 if (digest_table[i].algorithm == GCRY_MD_MD5
193 digest_table[i].algorithm,
257 DIGEST. On success, a new algorithm ID is stored in ALGORITHM_ID
300 search_oid (const char *oid, int *algorithm, gcry_md_oid_spec_t *oid_spec) argument
318 if (algorithm)
319 *algorithm = module->mod_id;
337 int ret, algorithm = 0; local
346 object identifiers to figure out the algorithm */
350 ret = search_oid (string, &algorithm, NUL
371 digest_algo_to_string(int algorithm) argument
397 gcry_md_algo_name(int algorithm) argument
405 check_digest_algo(int algorithm) argument
545 md_enable(gcry_md_hd_t hd, int algorithm) argument
624 gcry_md_enable(gcry_md_hd_t hd, int algorithm) argument
1072 md_digest_length(int algorithm) argument
1096 gcry_md_get_algo_dlen(int algorithm) argument
1105 md_asn_oid(int algorithm, size_t *asnlen, size_t *mdlen) argument
[all...]
H A Dpubkey.c51 libgcrypt. FIPS_ALLOWED indicated whether the algorithm is used in
57 unsigned int algorithm; member in struct:pubkey_table_entry
112 dummy_generate (int algorithm, unsigned int nbits, unsigned long dummy, argument
115 (void)algorithm;
125 dummy_check_secret_key (int algorithm, gcry_mpi_t *skey) argument
127 (void)algorithm;
134 dummy_encrypt (int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, argument
137 (void)algorithm;
147 dummy_decrypt (int algorithm, gcry_mpi_t *result, gcry_mpi_t *data, argument
150 (void)algorithm;
160 dummy_sign(int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
172 dummy_verify(int algorithm, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, int (*cmp) (void *, gcry_mpi_t), void *opaquev) argument
187 dummy_get_nbits(int algorithm, gcry_mpi_t *pkey) argument
315 int algorithm = 0; local
339 gcry_pk_algo_name(int algorithm) argument
365 _gcry_pk_aliased_algo_name(int algorithm) argument
390 disable_pubkey_algo(int algorithm) argument
410 check_pubkey_algo(int algorithm, unsigned use) argument
445 pubkey_get_npkey(int algorithm) argument
468 pubkey_get_nskey(int algorithm) argument
491 pubkey_get_nsig(int algorithm) argument
514 pubkey_get_nenc(int algorithm) argument
543 pubkey_generate(int algorithm, unsigned int nbits, unsigned long use_e, gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument
582 pubkey_check_secret_key(int algorithm, gcry_mpi_t *skey) argument
610 pubkey_encrypt(int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *pkey, int flags) argument
660 pubkey_decrypt(int algorithm, gcry_mpi_t *result, gcry_mpi_t *data, gcry_mpi_t *skey, int flags) argument
707 pubkey_sign(int algorithm, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) argument
750 pubkey_verify(int algorithm, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, int (*cmp)(void *, gcry_mpi_t), void *opaquev) argument
3980 gcry_pk_algo_info(int algorithm, int what, void *buffer, size_t *nbytes) argument
4068 _gcry_pk_module_lookup(int algorithm, gcry_module_t *module) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/engine/
H A Dhw_4758_cca.c623 X509_ALGOR algorithm; local
631 sig.algor = &algorithm;
632 algorithm.algorithm = OBJ_nid2obj(type);
634 if (!algorithm.algorithm)
641 if (!algorithm.algorithm->length)
650 algorithm.parameter = &parameter;
747 X509_ALGOR algorithm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/engines/
H A De_4758cca.c645 X509_ALGOR algorithm; local
653 sig.algor = &algorithm;
654 algorithm.algorithm = OBJ_nid2obj(type);
656 if (!algorithm.algorithm)
663 if (!algorithm.algorithm->length)
672 algorithm.parameter = &parameter;
769 X509_ALGOR algorithm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/rsa/
H A Drsa_sign.c94 sig.algor->algorithm=OBJ_nid2obj(type);
95 if (sig.algor->algorithm == NULL)
100 if (sig.algor->algorithm->length == 0)
188 sigtype=OBJ_obj2nid(sig->algor->algorithm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/rsa/
H A Drsa_sign.c94 sig.algor->algorithm=OBJ_nid2obj(type);
95 if (sig.algor->algorithm == NULL)
100 if (sig.algor->algorithm->length == 0)
196 /* Parameters to the signature algorithm can also be used to
205 sigtype=OBJ_obj2nid(sig->algor->algorithm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/pkcs7/
H A Dpk7_attr.c119 ASN1_OBJECT_free(alg->algorithm);
120 alg->algorithm = OBJ_nid2obj (nid);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs7/
H A Dpk7_attr.c120 ASN1_OBJECT_free(alg->algorithm);
121 alg->algorithm = OBJ_nid2obj (nid);
H A Dpk7_lib.c258 nid=OBJ_obj2nid(psi->digest_alg->algorithm);
265 if (OBJ_obj2nid(alg->algorithm) == nid)
271 if (!j) /* we need to add another algorithm */
280 alg->algorithm=OBJ_nid2obj(nid);
394 if (is_dsa) p7i->digest_alg->algorithm=OBJ_nid2obj(NID_sha1);
396 p7i->digest_alg->algorithm=OBJ_nid2obj(EVP_MD_type(dgst));
409 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_rsaEncryption);
419 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_dsa);
423 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_dsaWithSHA1);
429 p7i->digest_enc_alg->algorithm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dhttp_digest.c218 else if(Curl_raw_equal(value, "algorithm")) {
219 d->algorithm = strdup(content);
220 if(!d->algorithm)
356 if the algorithm is "MD5" or unspecified (which then defaults to MD5):
360 if the algorithm is "MD5-sess" then:
523 if(d->algorithm) {
524 /* append algorithm */
525 tmp = aprintf("%s, algorithm=\"%s\"", *allocuserpwd, d->algorithm);
564 if(d->algorithm)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/pkcs12/
H A Dp12_add.c176 X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm);
177 p7->d.encrypted->enc_data->algorithm = pbe;
192 return PKCS12_item_decrypt_d2i(p7->d.encrypted->enc_data->algorithm,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs12/
H A Dp12_add.c180 X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm);
181 p7->d.encrypted->enc_data->algorithm = pbe;
196 return PKCS12_item_decrypt_d2i(p7->d.encrypted->enc_data->algorithm,

Completed in 214 milliseconds

12345