crypto/heimdal/kdc/kx509.c
216
&spki.algorithm.algorithm);
crypto/heimdal/kdc/kx509.c
220
spki.algorithm.parameters = &any;
crypto/heimdal/kdc/kx509.c
223
der_free_oid(&spki.algorithm.algorithm);
crypto/heimdal/kdc/pkinit.c
346
if (dh_key_info->algorithm.parameters == NULL) {
crypto/heimdal/kdc/pkinit.c
353
ret = decode_DomainParameters(dh_key_info->algorithm.parameters->data,
crypto/heimdal/kdc/pkinit.c
354
dh_key_info->algorithm.parameters->length,
crypto/heimdal/kdc/pkinit.c
443
if (dh_key_info->algorithm.parameters == NULL) {
crypto/heimdal/kdc/pkinit.c
452
ret = decode_ECParameters(dh_key_info->algorithm.parameters->data,
crypto/heimdal/kdc/pkinit.c
453
dh_key_info->algorithm.parameters->length, &ecp, &len);
crypto/heimdal/kdc/pkinit.c
831
if (der_heim_oid_cmp(&ap.clientPublicValue->algorithm.algorithm, &asn1_oid_id_dhpublicnumber) == 0) {
crypto/heimdal/kdc/pkinit.c
836
} else if (der_heim_oid_cmp(&ap.clientPublicValue->algorithm.algorithm, &asn1_oid_id_ecPublicKey) == 0) {
crypto/heimdal/lib/hx509/cert.c
1295
diff = der_heim_oid_cmp(&p->algorithm, &q->algorithm);
crypto/heimdal/lib/hx509/cert.c
1510
ret = copy_AlgorithmIdentifier(&p->data->tbsCertificate.subjectPublicKeyInfo.algorithm, alg);
crypto/heimdal/lib/hx509/cms.c
1433
return der_heim_oid_cmp(&p->algorithm, &q->algorithm);
crypto/heimdal/lib/hx509/cms.c
426
&ri->keyEncryptionAlgorithm.algorithm,
crypto/heimdal/lib/hx509/cms.c
473
ret = hx509_crypto_init(context, NULL, &ai->algorithm, &crypto);
crypto/heimdal/lib/hx509/cms.c
617
ret = der_copy_oid(encryption_type, &enc_alg->algorithm);
crypto/heimdal/lib/hx509/cms.c
671
&ri->keyEncryptionAlgorithm.algorithm,
crypto/heimdal/lib/hx509/crypto.c
1089
if (spi->algorithm.parameters == NULL) {
crypto/heimdal/lib/hx509/crypto.c
1095
ret = decode_DSAParams(spi->algorithm.parameters->data,
crypto/heimdal/lib/hx509/crypto.c
1096
spi->algorithm.parameters->length,
crypto/heimdal/lib/hx509/crypto.c
1576
md = find_sig_alg(&alg->algorithm);
crypto/heimdal/lib/hx509/crypto.c
1596
md = find_sig_alg(&alg->algorithm);
crypto/heimdal/lib/hx509/crypto.c
1624
md = find_sig_alg(&alg->algorithm);
crypto/heimdal/lib/hx509/crypto.c
1641
if (der_heim_oid_cmp(&spi->algorithm.algorithm, md->key_oid) != 0) {
crypto/heimdal/lib/hx509/crypto.c
1659
md = find_sig_alg(&alg->algorithm);
crypto/heimdal/lib/hx509/crypto.c
1815
ops = hx509_find_private_alg(&keyai->algorithm);
crypto/heimdal/lib/hx509/crypto.c
258
ret = der_copy_oid(oid, &id->algorithm);
crypto/heimdal/lib/hx509/crypto.c
2911
enc_oid = find_string2key(&ai->algorithm, &c, &md, &s2k);
crypto/heimdal/lib/hx509/crypto.c
3161
&peer->val[i].algorithm) != 0)
crypto/heimdal/lib/hx509/crypto.c
3176
cipher = find_cipher_by_oid(&peer->val[i].algorithm);
crypto/heimdal/lib/hx509/crypto.c
366
if (der_heim_oid_cmp(&spi->algorithm.algorithm, ASN1_OID_ID_ECPUBLICKEY) != 0)
crypto/heimdal/lib/hx509/crypto.c
374
ret = parse_ECParameters(context, spi->algorithm.parameters, &groupnid);
crypto/heimdal/lib/hx509/crypto.c
498
sig = find_sig_alg(&sig_alg->algorithm);
crypto/heimdal/lib/hx509/crypto.c
600
der_heim_oid_cmp(&di.digestAlgorithm.algorithm,
crypto/heimdal/lib/hx509/crypto.c
601
&sig_alg->digest_alg->algorithm) != 0)
crypto/heimdal/lib/hx509/crypto.c
661
sig_oid = &alg->algorithm;
crypto/heimdal/lib/hx509/crypto.c
799
ret = set_digest_alg(&spki->algorithm, ASN1_OID_ID_PKCS1_RSAENCRYPTION,
crypto/heimdal/lib/hx509/hxtool.c
133
parse_oid(s->strings[i], NULL, &val[i].algorithm);
crypto/heimdal/lib/hx509/hxtool.c
1474
der_print_heim_oid (&val[i].algorithm, '.', &s);
crypto/heimdal/lib/hx509/hxtool.c
1510
der_print_heim_oid (&selected.algorithm, '.', &s);
crypto/heimdal/lib/hx509/ks_p12.c
533
&pki.privateKeyAlgorithm.algorithm);
crypto/heimdal/lib/krb5/crypto-pk.c
220
if (der_heim_oid_cmp(&asn1_oid_id_pkinit_kdf_ah_sha1, &ai->algorithm) == 0) {
crypto/heimdal/lib/krb5/crypto-pk.c
222
} else if (der_heim_oid_cmp(&asn1_oid_id_pkinit_kdf_ah_sha256, &ai->algorithm) == 0) {
crypto/heimdal/lib/krb5/crypto-pk.c
224
} else if (der_heim_oid_cmp(&asn1_oid_id_pkinit_kdf_ah_sha512, &ai->algorithm) == 0) {
crypto/heimdal/lib/krb5/pkinit.c
2552
if (der_heim_oid_cmp(&alg.algorithm, &asn1_oid_id_ecPublicKey) == 0)
crypto/heimdal/lib/krb5/pkinit.c
493
&a->clientPublicValue->algorithm.algorithm);
crypto/heimdal/lib/krb5/pkinit.c
518
a->clientPublicValue->algorithm.parameters =
crypto/heimdal/lib/krb5/pkinit.c
519
malloc(sizeof(*a->clientPublicValue->algorithm.parameters));
crypto/heimdal/lib/krb5/pkinit.c
520
if (a->clientPublicValue->algorithm.parameters == NULL) {
crypto/heimdal/lib/krb5/pkinit.c
526
a->clientPublicValue->algorithm.parameters->data,
crypto/heimdal/lib/krb5/pkinit.c
527
a->clientPublicValue->algorithm.parameters->length,
crypto/heimdal/lib/krb5/pkinit.c
532
if (size != a->clientPublicValue->algorithm.parameters->length)
crypto/heimdal/lib/krb5/pkinit.c
561
ALLOC(a->clientPublicValue->algorithm.parameters, 1);
crypto/heimdal/lib/krb5/pkinit.c
562
if (a->clientPublicValue->algorithm.parameters == NULL) {
crypto/heimdal/lib/krb5/pkinit.c
573
a->clientPublicValue->algorithm.parameters->data = p;
crypto/heimdal/lib/krb5/pkinit.c
574
a->clientPublicValue->algorithm.parameters->length = size;
crypto/heimdal/lib/krb5/pkinit.c
579
&a->clientPublicValue->algorithm.algorithm);
crypto/heimdal/lib/roken/resolve-test.c
139
sig->algorithm, sig->labels, sig->orig_ttl,
crypto/heimdal/lib/roken/resolve-test.c
148
key->flags, key->protocol, key->algorithm);
crypto/heimdal/lib/roken/resolve-test.c
155
printf ("alg %u type %u length %lu data ", sshfp->algorithm,
crypto/heimdal/lib/roken/resolve-test.c
168
ds->key_tag, ds->algorithm, ds->digest_type,
crypto/heimdal/lib/roken/resolve.c
270
rr->u.key->algorithm = p[3];
crypto/heimdal/lib/roken/resolve.c
306
rr->u.sig->algorithm = p[2];
crypto/heimdal/lib/roken/resolve.c
339
rr->u.cert->algorithm = p[4];
crypto/heimdal/lib/roken/resolve.c
360
rr->u.sshfp->algorithm = p[0];
crypto/heimdal/lib/roken/resolve.c
383
rr->u.ds->algorithm = p[2];
crypto/heimdal/lib/roken/resolve.c
803
rr->u.key->algorithm = pRec->Data.KEY.chAlgorithm;
crypto/heimdal/lib/roken/resolve.c
829
rr->u.sig->algorithm = pRec->Data.SIG.chAlgorithm;
crypto/heimdal/lib/roken/resolve.c
852
rr->u.ds->algorithm = pRec->Data.DS.chAlgorithm;
crypto/heimdal/lib/roken/resolve.h
142
unsigned algorithm;
crypto/heimdal/lib/roken/resolve.h
149
unsigned algorithm;
crypto/heimdal/lib/roken/resolve.h
163
unsigned algorithm;
crypto/heimdal/lib/roken/resolve.h
169
unsigned algorithm;
crypto/heimdal/lib/roken/resolve.h
177
unsigned algorithm;
crypto/krb5/src/include/k5-int-pkinit.h
41
krb5_data algorithm; /* OID */
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
1326
DEFOFFSETTYPE(algid_0, krb5_algorithm_identifier, algorithm, oid_data);
crypto/krb5/src/lib/krb5/krb/kfree.c
773
free(val->algorithm.data);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1816
p7si->digest_alg->algorithm = OBJ_nid2obj(NID_sha256);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1828
p7si->digest_enc_alg->algorithm = OBJ_nid2obj(sig_alg_id);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2841
alg_id.algorithm = *alg_oid;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3330
if (data_eq(algId[i]->algorithm, dh_oid))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3332
else if (data_eq(algId[i]->algorithm, ec_oid))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
504
ASN1_OBJECT algorithm;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5371
&algs[i]->algorithm);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
539
memset(&algorithm, 0, sizeof(algorithm));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
540
algorithm.data = (uint8_t *)dh_oid.data;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
541
algorithm.length = dh_oid.length;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
543
algor.algorithm = &algorithm;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5775
&cksum2->algorithmIdentifier.algorithm))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5805
md = md_from_cms_oid(&cksum2->algorithmIdentifier.algorithm);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
586
if (OBJ_cmp(pubkey->algor->algorithm, OBJ_nid2obj(NID_dhKeyAgreement))) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
125
alg_id.algorithm = kdf_sha1_id;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
129
retval = pkinit_kdf(context, &secret, &alg_id.algorithm, u_principal,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
153
alg_id.algorithm = kdf_sha256_id;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
157
retval = pkinit_kdf(context, &secret, &alg_id.algorithm, u_principal,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
181
alg_id.algorithm = kdf_sha512_id;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
185
retval = pkinit_kdf(context, &secret, &alg_id.algorithm, u_principal,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
176
free(in->algorithm.data);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
207
krb5_free_data_contents(context, &(*in)->algorithmIdentifier.algorithm);
crypto/openssh/dns.c
101
*algorithm = SSHFP_KEY_XMSS;
crypto/openssh/dns.c
104
*algorithm = SSHFP_KEY_RESERVED; /* 0 */
crypto/openssh/dns.c
118
if (*algorithm && *digest_type) {
crypto/openssh/dns.c
135
dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type,
crypto/openssh/dns.c
140
*algorithm = SSHFP_KEY_RESERVED;
crypto/openssh/dns.c
144
*algorithm = rdata[0];
crypto/openssh/dns.c
81
dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type,
crypto/openssh/dns.c
89
*algorithm = SSHFP_KEY_RSA;
crypto/openssh/dns.c
92
*algorithm = SSHFP_KEY_DSA;
crypto/openssh/dns.c
95
*algorithm = SSHFP_KEY_ECDSA;
crypto/openssh/dns.c
98
*algorithm = SSHFP_KEY_ED25519;
crypto/openssl/apps/pkcs12.c
1011
alg_print(p7->d.encrypted->enc_data->algorithm);
crypto/openssl/apps/ts.c
486
if ((algo->algorithm = OBJ_nid2obj(EVP_MD_get_type(md))) == NULL)
crypto/openssl/crypto/asn1/a_sign.c
61
ASN1_OBJECT_free(a->algorithm);
crypto/openssl/crypto/asn1/a_sign.c
62
a->algorithm = OBJ_nid2obj(type->pkey_type);
crypto/openssl/crypto/asn1/a_sign.c
63
if (a->algorithm == NULL) {
crypto/openssl/crypto/asn1/a_sign.c
67
if (a->algorithm->length == 0) {
crypto/openssl/crypto/asn1/a_verify.c
134
if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid)) {
crypto/openssl/crypto/asn1/a_verify.c
39
i = OBJ_obj2nid(a->algorithm);
crypto/openssl/crypto/asn1/asn_mime.c
170
md_nid = OBJ_obj2nid(sk_X509_ALGOR_value(mdalgs, i)->algorithm);
crypto/openssl/crypto/asn1/p5_pbev2.c
141
ret->algorithm = OBJ_nid2obj(NID_pbes2);
crypto/openssl/crypto/asn1/p5_pbev2.c
256
keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);
crypto/openssl/crypto/asn1/p5_pbev2.c
75
scheme->algorithm = OBJ_nid2obj(alg_nid);
crypto/openssl/crypto/asn1/p5_scrypt.c
134
ret->algorithm = OBJ_nid2obj(NID_pbes2);
crypto/openssl/crypto/asn1/p5_scrypt.c
219
keyfunc->algorithm = OBJ_nid2obj(NID_id_scrypt);
crypto/openssl/crypto/asn1/p5_scrypt.c
78
scheme->algorithm = OBJ_nid2obj(alg_nid);
crypto/openssl/crypto/asn1/p8_pkey.c
76
*ppkalg = p8->pkeyalg->algorithm;
crypto/openssl/crypto/asn1/t_spki.c
42
i = OBJ_obj2nid(spki->sig_algor.algorithm);
crypto/openssl/crypto/asn1/x_algor.c
112
if (dest->algorithm)
crypto/openssl/crypto/asn1/x_algor.c
113
ASN1_OBJECT_free(dest->algorithm);
crypto/openssl/crypto/asn1/x_algor.c
114
dest->algorithm = NULL;
crypto/openssl/crypto/asn1/x_algor.c
120
if (src->algorithm)
crypto/openssl/crypto/asn1/x_algor.c
121
if ((dest->algorithm = OBJ_dup(src->algorithm)) == NULL)
crypto/openssl/crypto/asn1/x_algor.c
163
md = EVP_get_digestbyobj(alg->algorithm);
crypto/openssl/crypto/asn1/x_algor.c
171
if (OBJ_obj2nid(alg->algorithm) != NID_mgf1)
crypto/openssl/crypto/asn1/x_algor.c
19
ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
crypto/openssl/crypto/asn1/x_algor.c
39
ASN1_OBJECT_free(alg->algorithm);
crypto/openssl/crypto/asn1/x_algor.c
40
alg->algorithm = aobj;
crypto/openssl/crypto/asn1/x_algor.c
63
alg->algorithm = NULL; /* precaution to prevent double free */
crypto/openssl/crypto/asn1/x_algor.c
75
*paobj = algor->algorithm;
crypto/openssl/crypto/asn1/x_algor.c
99
rv = OBJ_cmp(a->algorithm, b->algorithm);
crypto/openssl/crypto/cmp/cmp_hdr.c
46
return OBJ_obj2nid(hdr->protectionAlg->algorithm);
crypto/openssl/crypto/cms/cms_asn1.c
136
ASN1_SIMPLE(CMS_OriginatorPublicKey, algorithm, X509_ALGOR),
crypto/openssl/crypto/cms/cms_dh.c
127
if (OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0) <= 0)
crypto/openssl/crypto/cms/cms_dh.c
286
wrap_alg->algorithm = OBJ_nid2obj(wrap_nid);
crypto/openssl/crypto/cms/cms_ec.c
196
OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0);
crypto/openssl/crypto/cms/cms_ec.c
343
wrap_alg->algorithm = OBJ_nid2obj(wrap_nid);
crypto/openssl/crypto/cms/cms_enc.c
63
cipher = EVP_get_cipherbyobj(calg->algorithm);
crypto/openssl/crypto/cms/cms_enc.c
84
calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx));
crypto/openssl/crypto/cms/cms_enc.c
85
if (calg->algorithm == NULL || calg->algorithm->nid == NID_undef) {
crypto/openssl/crypto/cms/cms_env.c
592
OBJ_obj2txt(name, sizeof(name), calg->algorithm, 0);
crypto/openssl/crypto/cms/cms_env.c
600
cipher = EVP_get_cipherbyobj(calg->algorithm);
crypto/openssl/crypto/cms/cms_env.c
956
wrap_nid = OBJ_obj2nid(kekri->keyEncryptionAlgorithm->algorithm);
crypto/openssl/crypto/cms/cms_ess.c
220
const EVP_MD *md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm);
crypto/openssl/crypto/cms/cms_kari.c
89
*pubalg = oik->d.originatorKey->algorithm;
crypto/openssl/crypto/cms/cms_local.h
192
X509_ALGOR *algorithm;
crypto/openssl/crypto/cms/cms_pwri.c
123
encalg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx));
crypto/openssl/crypto/cms/cms_pwri.c
151
pwri->keyEncryptionAlgorithm->algorithm = OBJ_nid2obj(wrap_nid);
crypto/openssl/crypto/cms/cms_pwri.c
330
if (!algtmp || OBJ_obj2nid(algtmp->algorithm) != NID_id_alg_PWRI_KEK) {
crypto/openssl/crypto/cms/cms_pwri.c
343
OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0);
crypto/openssl/crypto/cms/cms_pwri.c
370
if (!EVP_PBE_CipherInit_ex(algtmp->algorithm,
crypto/openssl/crypto/cms/cms_rsa.c
259
nid = OBJ_obj2nid(alg->algorithm);
crypto/openssl/crypto/cms/cms_rsa.c
58
nid = OBJ_obj2nid(cmsalg->algorithm);
crypto/openssl/crypto/cms/cms_sd.c
151
if (OBJ_cmp(si->digestAlgorithm->algorithm,
crypto/openssl/crypto/cms/cms_sd.c
152
sitmp->digestAlgorithm->algorithm))
crypto/openssl/crypto/cms/cms_sd.c
249
if (alg1 == NULL || alg1->algorithm == NULL)
crypto/openssl/crypto/cms/cms_sd.c
251
hnid = OBJ_obj2nid(alg1->algorithm);
crypto/openssl/crypto/cms/cms_sd.c
862
si->digestAlgorithm->algorithm, 0)
crypto/openssl/crypto/cms/cms_sd.c
955
OBJ_obj2txt(name, sizeof(name), si->digestAlgorithm->algorithm, 0);
crypto/openssl/crypto/cms/cms_sd.c
963
md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm);
crypto/openssl/crypto/crmf/crmf_lib.c
786
OBJ_obj2txt(name, sizeof(name), enc->symmAlg->algorithm, 0);
crypto/openssl/crypto/crmf/crmf_lib.c
790
cipher = (EVP_CIPHER *)EVP_get_cipherbyobj(enc->symmAlg->algorithm);
crypto/openssl/crypto/crmf/crmf_pbm.c
145
|| pbmp->mac->algorithm == NULL || msg == NULL || sec == NULL) {
crypto/openssl/crypto/crmf/crmf_pbm.c
157
OBJ_obj2txt(mdname, sizeof(mdname), pbmp->owf->algorithm, 0);
crypto/openssl/crypto/crmf/crmf_pbm.c
199
mac_nid = OBJ_obj2nid(pbmp->mac->algorithm);
crypto/openssl/crypto/crmf/crmf_pbm.c
231
if (OBJ_obj2txt(buf, sizeof(buf), pbmp->mac->algorithm, 0))
crypto/openssl/crypto/dh/dh_backend.c
206
switch (OBJ_obj2nid(palg->algorithm)) {
crypto/openssl/crypto/ec/ecx_backend.c
171
id = OBJ_obj2nid(palg->algorithm);
crypto/openssl/crypto/ec/ecx_backend.c
172
else if (id != OBJ_obj2nid(palg->algorithm)) {
crypto/openssl/crypto/ess/ess_lib.c
194
if (alg->algorithm == NULL) {
crypto/openssl/crypto/ess/ess_lib.c
292
OBJ_obj2txt(name, sizeof(name), cid_v2->hash_alg->algorithm, 0);
crypto/openssl/crypto/evp/asymcipher.c
511
EVP_ASYM_CIPHER *EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/asymcipher.c
514
return evp_generic_fetch(ctx, OSSL_OP_ASYM_CIPHER, algorithm, properties,
crypto/openssl/crypto/evp/asymcipher.c
521
const char *algorithm,
crypto/openssl/crypto/evp/asymcipher.c
525
algorithm, properties,
crypto/openssl/crypto/evp/digest.c
1159
EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/digest.c
1162
EVP_MD *md = evp_generic_fetch(ctx, OSSL_OP_DIGEST, algorithm, properties,
crypto/openssl/crypto/evp/digest.c
1200
const char *algorithm,
crypto/openssl/crypto/evp/digest.c
1204
algorithm, properties,
crypto/openssl/crypto/evp/evp_enc.c
2072
EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/evp_enc.c
2075
EVP_CIPHER *cipher = evp_generic_fetch(ctx, OSSL_OP_CIPHER, algorithm, properties,
crypto/openssl/crypto/evp/evp_enc.c
2083
const char *algorithm,
crypto/openssl/crypto/evp/evp_enc.c
2087
algorithm, properties,
crypto/openssl/crypto/evp/evp_lib.c
134
alg.algorithm = NULL;
crypto/openssl/crypto/evp/evp_lib.c
203
alg.algorithm = NULL;
crypto/openssl/crypto/evp/evp_local.h
343
const char *algorithm,
crypto/openssl/crypto/evp/evp_local.h
346
const char *algorithm,
crypto/openssl/crypto/evp/evp_local.h
349
const char *algorithm,
crypto/openssl/crypto/evp/evp_rand.c
282
EVP_RAND *EVP_RAND_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/crypto/evp/evp_rand.c
285
return evp_generic_fetch(libctx, OSSL_OP_RAND, algorithm, properties,
crypto/openssl/crypto/evp/exchange.c
181
EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/exchange.c
184
return evp_generic_fetch(ctx, OSSL_OP_KEYEXCH, algorithm, properties,
crypto/openssl/crypto/evp/exchange.c
191
const char *algorithm,
crypto/openssl/crypto/evp/exchange.c
195
algorithm, properties,
crypto/openssl/crypto/evp/kdf_meth.c
159
EVP_KDF *EVP_KDF_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/crypto/evp/kdf_meth.c
162
return evp_generic_fetch(libctx, OSSL_OP_KDF, algorithm, properties,
crypto/openssl/crypto/evp/kem.c
460
EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/kem.c
463
return evp_generic_fetch(ctx, OSSL_OP_KEM, algorithm, properties,
crypto/openssl/crypto/evp/kem.c
469
EVP_KEM *evp_kem_fetch_from_prov(OSSL_PROVIDER *prov, const char *algorithm,
crypto/openssl/crypto/evp/kem.c
472
return evp_generic_fetch_from_prov(prov, OSSL_OP_KEM, algorithm, properties,
crypto/openssl/crypto/evp/keymgmt_meth.c
277
EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/keymgmt_meth.c
280
return evp_generic_fetch(ctx, OSSL_OP_KEYMGMT, algorithm, properties,
crypto/openssl/crypto/evp/mac_meth.c
175
EVP_MAC *EVP_MAC_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/crypto/evp/mac_meth.c
178
return evp_generic_fetch(libctx, OSSL_OP_MAC, algorithm, properties,
crypto/openssl/crypto/evp/mac_meth.c
255
const char *algorithm,
crypto/openssl/crypto/evp/mac_meth.c
259
algorithm, properties,
crypto/openssl/crypto/evp/p5_crpt2.c
133
if (!EVP_PBE_find_ex(EVP_PBE_TYPE_KDF, OBJ_obj2nid(pbe2->keyfunc->algorithm),
crypto/openssl/crypto/evp/p5_crpt2.c
142
if (OBJ_obj2txt(ciph_name, sizeof(ciph_name), pbe2->encryption->algorithm, 0) <= 0) {
crypto/openssl/crypto/evp/p5_crpt2.c
226
prf_nid = OBJ_obj2nid(kdf->prf->algorithm);
crypto/openssl/crypto/evp/signature.c
483
EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/signature.c
486
return evp_generic_fetch(ctx, OSSL_OP_SIGNATURE, algorithm, properties,
crypto/openssl/crypto/evp/signature.c
493
const char *algorithm,
crypto/openssl/crypto/evp/signature.c
497
algorithm, properties,
crypto/openssl/crypto/evp/skeymgmt_meth.c
142
EVP_SKEYMGMT *EVP_SKEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/crypto/evp/skeymgmt_meth.c
145
return evp_generic_fetch(ctx, OSSL_OP_SKEYMGMT, algorithm, properties,
crypto/openssl/crypto/ocsp/ocsp_lib.c
57
ASN1_OBJECT_free(alg->algorithm);
crypto/openssl/crypto/ocsp/ocsp_lib.c
62
if ((alg->algorithm = OBJ_nid2obj(nid)) == NULL)
crypto/openssl/crypto/ocsp/ocsp_lib.c
95
ret = OBJ_cmp(a->hashAlgorithm.algorithm, b->hashAlgorithm.algorithm);
crypto/openssl/crypto/ocsp/ocsp_prn.c
22
i2a_ASN1_OBJECT(bp, a->hashAlgorithm.algorithm);
crypto/openssl/crypto/ocsp/ocsp_srv.c
45
*pmd = cid->hashAlgorithm.algorithm;
crypto/openssl/crypto/ocsp/ocsp_vfy.c
285
if (OBJ_cmp(tmpid->hashAlgorithm.algorithm,
crypto/openssl/crypto/ocsp/ocsp_vfy.c
286
cid->hashAlgorithm.algorithm))
crypto/openssl/crypto/ocsp/ocsp_vfy.c
315
OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0);
crypto/openssl/crypto/pkcs12/p12_add.c
129
X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm);
crypto/openssl/crypto/pkcs12/p12_add.c
130
p7->d.encrypted->enc_data->algorithm = pbe;
crypto/openssl/crypto/pkcs12/p12_add.c
166
return PKCS12_item_decrypt_d2i_ex(p7->d.encrypted->enc_data->algorithm,
crypto/openssl/crypto/pkcs12/p12_decr.c
37
if (!EVP_PBE_CipherInit_ex(algor->algorithm, pass, passlen,
crypto/openssl/crypto/pkcs12/p12_npas.c
244
*pnid = OBJ_obj2nid(alg->algorithm);
crypto/openssl/crypto/pkcs12/p12_npas.c
84
|| !alg_get(p7->d.encrypted->enc_data->algorithm,
crypto/openssl/crypto/pkcs7/pk7_asn1.c
200
ASN1_SIMPLE(PKCS7_ENC_CONTENT, algorithm, X509_ALGOR),
crypto/openssl/crypto/pkcs7/pk7_attr.c
67
ASN1_OBJECT_free(alg->algorithm);
crypto/openssl/crypto/pkcs7/pk7_attr.c
68
alg->algorithm = OBJ_nid2obj(nid);
crypto/openssl/crypto/pkcs7/pk7_doit.c
107
OBJ_obj2txt(name, sizeof(name), alg->algorithm, 0);
crypto/openssl/crypto/pkcs7/pk7_doit.c
1099
md_type = OBJ_obj2nid(si->digest_alg->algorithm);
crypto/openssl/crypto/pkcs7/pk7_doit.c
283
xalg = p7->d.signed_and_enveloped->enc_data->algorithm;
crypto/openssl/crypto/pkcs7/pk7_doit.c
292
xalg = p7->d.enveloped->enc_data->algorithm;
crypto/openssl/crypto/pkcs7/pk7_doit.c
330
xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_get_type(evp_cipher));
crypto/openssl/crypto/pkcs7/pk7_doit.c
496
enc_alg = p7->d.signed_and_enveloped->enc_data->algorithm;
crypto/openssl/crypto/pkcs7/pk7_doit.c
498
OBJ_obj2txt(name, sizeof(name), enc_alg->algorithm, 0);
crypto/openssl/crypto/pkcs7/pk7_doit.c
516
enc_alg = p7->d.enveloped->enc_data->algorithm;
crypto/openssl/crypto/pkcs7/pk7_doit.c
519
OBJ_obj2txt(name, sizeof(name), enc_alg->algorithm, 0);
crypto/openssl/crypto/pkcs7/pk7_doit.c
555
OBJ_obj2txt(name, sizeof(name), xa->algorithm, 0);
crypto/openssl/crypto/pkcs7/pk7_doit.c
872
j = OBJ_obj2nid(si->digest_alg->algorithm);
crypto/openssl/crypto/pkcs7/pk7_doit.c
917
OBJ_obj2nid(p7->d.digest->md->algorithm)))
crypto/openssl/crypto/pkcs7/pk7_doit.c
966
md = EVP_get_digestbyobj(si->digest_alg->algorithm);
crypto/openssl/crypto/pkcs7/pk7_lib.c
217
obj = psi->digest_alg->algorithm;
crypto/openssl/crypto/pkcs7/pk7_lib.c
222
if (OBJ_cmp(obj, alg->algorithm) == 0) {
crypto/openssl/crypto/pkcs7/pk7_lib.c
241
alg->algorithm = OBJ_nid2obj(nid);
crypto/openssl/crypto/pkcs7/pk7_lib.c
243
alg->algorithm = OBJ_dup(obj);
crypto/openssl/crypto/pkcs7/pk7_lib.c
245
if (alg->algorithm == NULL || !sk_X509_ALGOR_push(md_sk, alg)) {
crypto/openssl/crypto/pkcs7/pk7_lib.c
321
if (alg1 == NULL || alg1->algorithm == NULL)
crypto/openssl/crypto/pkcs7/pk7_lib.c
323
hnid = OBJ_obj2nid(alg1->algorithm);
crypto/openssl/crypto/pkcs7/pk7_lib.c
535
p7->d.digest->md->algorithm = OBJ_nid2obj(EVP_MD_nid(md));
crypto/openssl/crypto/pkcs7/pk7_smime.c
197
if (!OBJ_cmp(si->digest_alg->algorithm, sitmp->digest_alg->algorithm)) {
crypto/openssl/crypto/rsa/rsa_ameth.c
237
if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0)
crypto/openssl/crypto/rsa/rsa_ameth.c
252
if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0)
crypto/openssl/crypto/rsa/rsa_ameth.c
258
if (i2a_ASN1_OBJECT(bp, maskHash->algorithm) <= 0)
crypto/openssl/crypto/rsa/rsa_ameth.c
404
if (OBJ_obj2nid(sigalg->algorithm) == EVP_PKEY_RSA_PSS) {
crypto/openssl/crypto/rsa/rsa_ameth.c
550
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) {
crypto/openssl/crypto/rsa/rsa_ameth.c
638
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) {
crypto/openssl/crypto/rsa/rsa_ameth.c
733
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS)
crypto/openssl/crypto/rsa/rsa_backend.c
699
switch (OBJ_obj2nid(alg->algorithm)) {
crypto/openssl/crypto/ts/ts_lib.c
75
int i = OBJ_obj2nid(alg->algorithm);
crypto/openssl/crypto/ts/ts_rsp_sign.c
464
OBJ_obj2txt(md_alg_name, sizeof(md_alg_name), md_alg->algorithm, 0);
crypto/openssl/crypto/ts/ts_rsp_verify.c
435
OBJ_obj2txt(name, sizeof(name), md_alg_resp->algorithm, 0);
crypto/openssl/crypto/ts/ts_rsp_verify.c
494
if (OBJ_cmp(algor_a->algorithm, algor_b->algorithm))
crypto/openssl/crypto/x509/t_x509.c
294
if (i2a_ASN1_OBJECT(bp, sigalg->algorithm) <= 0)
crypto/openssl/crypto/x509/t_x509.c
299
sig_nid = OBJ_obj2nid(sigalg->algorithm);
crypto/openssl/crypto/x509/v3_ac_tgt.c
138
if (i2a_ASN1_OBJECT(out, odi->digestAlgorithm.algorithm) <= 0)
crypto/openssl/crypto/x509/v3_ac_tgt.c
143
sig_nid = OBJ_obj2nid(odi->digestAlgorithm.algorithm);
crypto/openssl/crypto/x509/v3_attrdesc.c
55
if (i2a_ASN1_OBJECT(out, hash->algorithmIdentifier->algorithm) <= 0)
crypto/openssl/crypto/x509/v3_purp.c
415
if (OBJ_find_sigid_algs(OBJ_obj2nid(subject->cert_info.signature.algorithm),
crypto/openssl/crypto/x509/x509_acert.c
138
return OBJ_obj2nid(x->sig_alg.algorithm);
crypto/openssl/crypto/x509/x509_cmp.c
551
sign_nid = OBJ_obj2nid(crl->crl.sig_alg.algorithm);
crypto/openssl/crypto/x509/x509_req.c
339
return OBJ_obj2nid(req->sig_alg.algorithm);
crypto/openssl/crypto/x509/x509_set.c
154
return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg.algorithm));
crypto/openssl/crypto/x509/x509_set.c
223
if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid)
crypto/openssl/crypto/x509/x509cset.c
139
return OBJ_obj2nid(crl->sig_alg.algorithm);
crypto/openssl/crypto/x509/x_pubkey.c
1033
*ppkalg = pub->algor->algorithm;
crypto/openssl/crypto/x509/x_pubkey.c
205
pubkey->algor->algorithm, 0)
crypto/openssl/crypto/x509/x_pubkey.c
411
nid = OBJ_obj2nid(key->algor->algorithm);
crypto/openssl/crypto/x509/x_x509.c
298
return OBJ_obj2nid(x->sig_alg.algorithm);
crypto/openssl/fuzz/provider.c
582
evp *alg = sk_##evp##_value(source, *algorithm % sk_##evp##_num(source)); \
crypto/openssl/fuzz/provider.c
598
int64_t *algorithm = NULL;
crypto/openssl/fuzz/provider.c
605
if (!read_int(&buf, &len, &algorithm)) {
crypto/openssl/fuzz/provider.c
655
OPENSSL_free(algorithm);
crypto/openssl/include/openssl/evp.h
1244
EVP_MAC *EVP_MAC_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1289
EVP_RAND *EVP_RAND_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1819
EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1838
EVP_SKEYMGMT *EVP_SKEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1931
EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1949
EVP_ASYM_CIPHER *EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
1967
EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
2206
EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
619
EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/evp.h
749
__owur EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
crypto/openssl/include/openssl/kdf.h
30
EVP_KDF *EVP_KDF_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
crypto/openssl/include/openssl/pkcs7.h
153
X509_ALGOR *algorithm;
crypto/openssl/include/openssl/ssl.h
2900
int SSL_CTX_set1_compressed_cert(SSL_CTX *ctx, int algorithm, unsigned char *comp_data,
crypto/openssl/include/openssl/ssl.h
2902
int SSL_set1_compressed_cert(SSL *ssl, int algorithm, unsigned char *comp_data,
crypto/openssl/include/openssl/x509.h
192
ASN1_OBJECT *algorithm;
crypto/openssl/providers/common/capabilities.c
105
algorithm, \
crypto/openssl/providers/common/capabilities.c
106
sizeof(algorithm)), \
crypto/openssl/providers/common/capabilities.c
292
#define TLS_SIGALG_ENTRY(tlsname, algorithm, oid, idx) \
crypto/openssl/providers/common/capabilities.c
297
algorithm, sizeof(algorithm)), \
crypto/openssl/providers/common/capabilities.c
96
#define TLS_GROUP_ENTRY(tlsname, realname, algorithm, idx) \
crypto/openssl/providers/fips/self_test_kats.c
110
cipher = EVP_CIPHER_fetch(libctx, t->base.algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
260
kdf = EVP_KDF_fetch(libctx, t->algorithm, "");
crypto/openssl/providers/fips/self_test_kats.c
320
rand = EVP_RAND_fetch(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
37
EVP_MD *md = EVP_MD_fetch(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
422
kactx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, "");
crypto/openssl/providers/fips/self_test_kats.c
621
key_ctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
788
ctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
843
keyctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
142
&& (OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
144
|| (OBJ_obj2nid(alg->algorithm) == NID_X9_62_id_ecPublicKey
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
662
if (OBJ_obj2nid(alg->algorithm) != ctx->desc->evp_type)
crypto/openssl/providers/implementations/encode_decode/decode_epki2pki.c
173
OBJ_obj2txt(keytype, sizeof(keytype), alg->algorithm, 0);
crypto/openssl/providers/implementations/encode_decode/ml_dsa_codecs.c
431
if (OBJ_obj2nid(alg->algorithm) != evp_type)
crypto/openssl/providers/implementations/encode_decode/ml_kem_codecs.c
298
if (OBJ_obj2nid(alg->algorithm) != evp_type)
crypto/openssl/ssl/s3_lib.c
5314
pctx = EVP_PKEY_CTX_new_from_name(sctx->libctx, ginf->algorithm,
crypto/openssl/ssl/s3_lib.c
5353
pctx = EVP_PKEY_CTX_new_from_name(sctx->libctx, ginf->algorithm,
crypto/openssl/ssl/ssl_cert_comp.c
336
static int ossl_set1_compressed_cert(CERT *cert, int algorithm,
crypto/openssl/ssl/ssl_cert_comp.c
347
orig_length, algorithm);
crypto/openssl/ssl/ssl_cert_comp.c
351
OSSL_COMP_CERT_free(cert->key->comp_cert[algorithm]);
crypto/openssl/ssl/ssl_cert_comp.c
352
cert->key->comp_cert[algorithm] = comp_cert;
crypto/openssl/ssl/ssl_cert_comp.c
445
int SSL_CTX_set1_compressed_cert(SSL_CTX *ctx, int algorithm, unsigned char *comp_data,
crypto/openssl/ssl/ssl_cert_comp.c
449
return ossl_set1_compressed_cert(ctx->cert, algorithm, comp_data, comp_length, orig_length);
crypto/openssl/ssl/ssl_cert_comp.c
455
int SSL_set1_compressed_cert(SSL *ssl, int algorithm, unsigned char *comp_data,
crypto/openssl/ssl/ssl_cert_comp.c
465
return ossl_set1_compressed_cert(sc->cert, algorithm, comp_data, comp_length, orig_length);
crypto/openssl/ssl/ssl_lib.c
4422
OPENSSL_free(a->group_list[j].algorithm);
crypto/openssl/ssl/ssl_local.h
741
char *algorithm; /* Algorithm name to fetch */
crypto/openssl/ssl/t1_lib.c
286
ginf->algorithm = OPENSSL_strdup(p->data);
crypto/openssl/ssl/t1_lib.c
287
if (ginf->algorithm == NULL)
crypto/openssl/ssl/t1_lib.c
334
keymgmt = EVP_KEYMGMT_fetch(ctx->libctx, ginf->algorithm, ctx->propq);
crypto/openssl/ssl/t1_lib.c
346
OPENSSL_free(ginf->algorithm);
crypto/openssl/ssl/t1_lib.c
347
ginf->algorithm = ginf->tlsname = ginf->realname = NULL;
crypto/openssl/ssl/t1_lib.c
888
|| strcmp(ginfo->algorithm, "EC") == 0
crypto/openssl/ssl/t1_lib.c
889
|| strcmp(ginfo->algorithm, "X25519") == 0
crypto/openssl/ssl/t1_lib.c
890
|| strcmp(ginfo->algorithm, "X448") == 0;
crypto/openssl/test/fake_rsaprov.c
831
&& OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type)
crypto/openssl/test/tls-provider.c
1213
if (ptype != V_ASN1_UNDEF || palg->algorithm == NULL) {
crypto/openssl/test/tls-provider.c
1217
nid = OBJ_obj2nid(palg->algorithm);
crypto/openssl/test/tls-provider.c
2218
&& OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type)
lib/clang/liblldb/LLDBWrapLua.cpp
3227
#include <algorithm>
lib/libc/nameser/ns_print.c
1005
unsigned int i, hip_len, algorithm, key_len;
lib/libc/nameser/ns_print.c
1011
algorithm = *rdata++;
lib/libc/nameser/ns_print.c
1020
len = sprintf(tmp, "( %u ", algorithm);
lib/libc/nameser/ns_print.c
458
u_int keyflags, protocol, algorithm, key_id;
lib/libc/nameser/ns_print.c
473
algorithm = *rdata++;
lib/libc/nameser/ns_print.c
475
keyflags, protocol, algorithm));
lib/libc/nameser/ns_print.c
505
u_int type, algorithm, labels, footprint;
lib/libc/nameser/ns_print.c
515
algorithm = *rdata++;
lib/libc/nameser/ns_print.c
519
p_type(type), algorithm, labels, t));
sys/dev/bwn/if_bwn.c
4698
bwn_key_dowrite(struct bwn_mac *mac, uint8_t index, uint8_t algorithm,
sys/dev/bwn/if_bwn.c
4716
bwn_key_write(mac, index, algorithm, buf);
sys/dev/bwn/if_bwn.c
4720
mac->mac_key[index].algorithm = algorithm;
sys/dev/bwn/if_bwn.c
4760
bwn_key_write(struct bwn_mac *mac, uint8_t index, uint8_t algorithm,
sys/dev/bwn/if_bwn.c
4769
BWN_SHARED_KEYIDX_BLOCK + (kidx * 2), (kidx << 4) | algorithm);
sys/dev/bwn/if_bwnvar.h
857
uint8_t algorithm;
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_cipher.h
329
CpaCySymCipherAlgorithm algorithm,
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
288
#define IS_HMAC_ALG(algorithm) \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
289
((algorithm == CPA_CY_SYM_HASH_MD5) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
290
(algorithm == CPA_CY_SYM_HASH_SHA1) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
291
(algorithm == CPA_CY_SYM_HASH_SHA224) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
292
(algorithm == CPA_CY_SYM_HASH_SHA256) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
293
(algorithm == CPA_CY_SYM_HASH_SHA384) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
294
(algorithm == CPA_CY_SYM_HASH_SHA512) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
295
(algorithm == CPA_CY_SYM_HASH_SM3)) || \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash_defs.h
296
(LAC_HASH_IS_SHA3(algorithm))
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
361
LacCipher_PerformParamCheck(CpaCySymCipherAlgorithm algorithm,
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
378
switch (algorithm) {
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
421
(LacSymQat_CipherBlockSizeBytesGet(algorithm) -
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
68
CpaCySymCipherAlgorithm algorithm = pSessionDesc->cipherAlgorithm;
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
71
switch (algorithm) {
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
85
ivLenInBytes = LacSymQat_CipherIvSizeBytesGet(algorithm);
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
89
(LAC_CIPHER_IS_GCM(algorithm) &&
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cipher.c
93
LAC_CIPHER_IS_CCM(algorithm))) {
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
257
icp_qat_hw_cipher_algo_t algorithm;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
268
pSession, &algorithm, &mode, &dir, &key_convert);
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
272
algorithm,
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
289
icp_qat_hw_auth_algo_t algorithm;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
308
&algorithm,
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat.c
313
algorithm,
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
223
icp_qat_hw_cipher_algo_t algorithm;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
578
*pAlgorithm = icp_qat_alg_info[cipherIdx].algorithm;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
612
icp_qat_hw_cipher_algo_t algorithm = ICP_QAT_HW_CIPHER_ALGO_NULL;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
627
pSession, &algorithm, &mode, &dir, &key_convert);
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
639
mode, algorithm, key_convert, dir, aed_hash_cmp_length);
sys/netinet/cc/cc.c
700
SYSCTL_PROC(_net_inet_tcp_cc, OID_AUTO, algorithm,
usr.bin/diff/diff.c
170
for (struct algorithm *a = algorithms; a->name;a++) {
usr.sbin/ppp/ccp.c
147
static const struct ccp_algorithm * const algorithm[] = {
usr.sbin/ppp/ccp.c
156
#define NALGORITHMS (sizeof algorithm/sizeof algorithm[0])
usr.sbin/ppp/ccp.c
179
if (ccp->in.algorithm != -1)
usr.sbin/ppp/ccp.c
181
(*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt));
usr.sbin/ppp/ccp.c
183
if (ccp->out.algorithm != -1) {
usr.sbin/ppp/ccp.c
185
for (f = 0; f < ccp->out.algorithm; f++)
usr.sbin/ppp/ccp.c
186
if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]))
usr.sbin/ppp/ccp.c
189
(*algorithm[ccp->out.algorithm]->Disp)(&(*o)->val));
usr.sbin/ppp/ccp.c
277
ccp->in.algorithm = ccp->out.algorithm = -1;
usr.sbin/ppp/ccp.c
303
if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]) &&
usr.sbin/ppp/ccp.c
304
(*algorithm[f]->Required)(&ccp->fsm))
usr.sbin/ppp/ccp.c
317
if (ccp->fsm.state == ST_OPENED && ccp->out.algorithm >= 0)
usr.sbin/ppp/ccp.c
318
return algorithm[ccp->out.algorithm]->o.MTUOverhead;
usr.sbin/ppp/ccp.c
357
ccp->out.algorithm = -1;
usr.sbin/ppp/ccp.c
359
if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]) &&
usr.sbin/ppp/ccp.c
360
!REJECTED(ccp, algorithm[f]->id) &&
usr.sbin/ppp/ccp.c
361
(*algorithm[f]->Usable)(fp)) {
usr.sbin/ppp/ccp.c
365
if ((*o)->val.hdr.id == algorithm[f]->id && (*o)->algorithm == (int)f)
usr.sbin/ppp/ccp.c
374
(*o)->val.hdr.id = algorithm[f]->id;
usr.sbin/ppp/ccp.c
377
(*o)->algorithm = f;
usr.sbin/ppp/ccp.c
378
(*algorithm[f]->o.OptInit)(fp->bundle, &(*o)->val, &ccp->cfg);
usr.sbin/ppp/ccp.c
389
ccp->out.algorithm = f;
usr.sbin/ppp/ccp.c
429
return (*algorithm[ccp->out.algorithm]->o.Reset)(ccp->out.state);
usr.sbin/ppp/ccp.c
451
(*algorithm[ccp->in.algorithm]->i.Term)(ccp->in.state);
usr.sbin/ppp/ccp.c
453
ccp->in.algorithm = -1;
usr.sbin/ppp/ccp.c
456
(*algorithm[ccp->out.algorithm]->o.Term)(ccp->out.state);
usr.sbin/ppp/ccp.c
458
ccp->out.algorithm = -1;
usr.sbin/ppp/ccp.c
506
if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]) &&
usr.sbin/ppp/ccp.c
507
(*algorithm[f]->Required)(&ccp->fsm) &&
usr.sbin/ppp/ccp.c
508
(ccp->in.algorithm != (int)f || ccp->out.algorithm != (int)f)) {
usr.sbin/ppp/ccp.c
511
fp->link->name, protoname(algorithm[f]->id));
usr.sbin/ppp/ccp.c
524
if (ccp->in.state == NULL && ccp->in.algorithm >= 0 &&
usr.sbin/ppp/ccp.c
525
ccp->in.algorithm < (int)NALGORITHMS) {
usr.sbin/ppp/ccp.c
526
ccp->in.state = (*algorithm[ccp->in.algorithm]->i.Init)
usr.sbin/ppp/ccp.c
538
if (ccp->out.algorithm > 0)
usr.sbin/ppp/ccp.c
539
for (f = 0; f < (unsigned)ccp->out.algorithm; f++)
usr.sbin/ppp/ccp.c
540
if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]))
usr.sbin/ppp/ccp.c
543
if (ccp->out.state == NULL && ccp->out.algorithm >= 0 &&
usr.sbin/ppp/ccp.c
544
ccp->out.algorithm < (int)NALGORITHMS) {
usr.sbin/ppp/ccp.c
545
ccp->out.state = (*algorithm[ccp->out.algorithm]->o.Init)
usr.sbin/ppp/ccp.c
576
ccp->in.algorithm = -1; /* In case we've received two REQs in a row */
usr.sbin/ppp/ccp.c
583
if (algorithm[f]->id == opt->hdr.id)
usr.sbin/ppp/ccp.c
586
disp = f == -1 ? "" : (*algorithm[f]->Disp)(opt);
usr.sbin/ppp/ccp.c
604
if (IsAccepted(ccp->cfg.neg[algorithm[f]->Neg]) &&
usr.sbin/ppp/ccp.c
605
(*algorithm[f]->Usable)(fp) &&
usr.sbin/ppp/ccp.c
606
ccp->in.algorithm == -1) {
usr.sbin/ppp/ccp.c
608
switch ((*algorithm[f]->i.Set)(fp->bundle, &ccp->in.opt, &ccp->cfg)) {
usr.sbin/ppp/ccp.c
618
ccp->in.algorithm = (int)f; /* This one'll do :-) */
usr.sbin/ppp/ccp.c
634
if ((*algorithm[f]->o.Set)(fp->bundle, &o->val, &ccp->cfg) ==
usr.sbin/ppp/ccp.c
636
ccp->my_proto = algorithm[f]->id;
usr.sbin/ppp/ccp.c
640
if (algorithm[f]->Required(fp)) {
usr.sbin/ppp/ccp.c
643
protoname(algorithm[f]->id));
usr.sbin/ppp/ccp.c
652
if (algorithm[f]->Required(fp)) {
usr.sbin/ppp/ccp.c
654
fp->link->name, protoname(algorithm[f]->id));
usr.sbin/ppp/ccp.c
667
ccp->in.algorithm = -1;
usr.sbin/ppp/ccp.c
714
(*algorithm[ccp->in.algorithm]->i.Reset)(ccp->in.state);
usr.sbin/ppp/ccp.c
731
bp = (*algorithm[l->ccp.out.algorithm]->o.Write)
usr.sbin/ppp/ccp.c
763
bp = (*algorithm[l->ccp.in.algorithm]->i.Read)
usr.sbin/ppp/ccp.c
779
(*algorithm[l->ccp.in.algorithm]->i.DictSetup)
usr.sbin/ppp/ccp.h
101
int algorithm; /* Algorithm in use */
usr.sbin/ppp/ccp.h
107
int algorithm; /* Algorithm in use */
usr.sbin/ppp/ccp.h
87
int algorithm;