Home
last modified time | relevance | path

Searched refs:alg2 (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/libcrypto/dsa/
H A Ddsa_ameth.c630 X509_ALGOR *alg1, *alg2; in dsa_pkey_ctrl() local
632 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); in dsa_pkey_ctrl()
640 if (!X509_ALGOR_set0_by_nid(alg2, snid, V_ASN1_UNDEF, in dsa_pkey_ctrl()
650 X509_ALGOR *alg1, *alg2; in dsa_pkey_ctrl() local
652 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); in dsa_pkey_ctrl()
660 if (!X509_ALGOR_set0_by_nid(alg2, snid, V_ASN1_UNDEF, in dsa_pkey_ctrl()
/openbsd/lib/libcrypto/ec/
H A Dec_ameth.c639 X509_ALGOR *alg1, *alg2; in ec_pkey_ctrl() local
640 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); in ec_pkey_ctrl()
648 if (!X509_ALGOR_set0_by_nid(alg2, snid, V_ASN1_UNDEF, in ec_pkey_ctrl()
657 X509_ALGOR *alg1, *alg2; in ec_pkey_ctrl() local
660 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); in ec_pkey_ctrl()
668 if (!X509_ALGOR_set0_by_nid(alg2, snid, V_ASN1_UNDEF, in ec_pkey_ctrl()
/openbsd/sys/arch/octeon/dev/
H A Doctcrypto.c596 int alg, alg2; in octcrypto_process() local
613 alg2 = alg_class(crd2->crd_alg); in octcrypto_process()
615 if ((alg == ALG_AES) && (alg2 == ALG_HMAC)) { in octcrypto_process()
618 } else if ((alg2 == ALG_AES) && (alg == ALG_HMAC)) { in octcrypto_process()
621 } else if ((alg == ALG_AES_GHASH) && (alg2 == ALG_GMAC)) { in octcrypto_process()
624 } else if ((alg2 == ALG_AES_GHASH) && (alg == ALG_GMAC)) { in octcrypto_process()
/openbsd/lib/libcrypto/rsa/
H A Drsa_ameth.c1070 X509_ALGOR *alg1, X509_ALGOR *alg2, ASN1_BIT_STRING *sig) in rsa_item_sign() argument
1082 if (alg2 != NULL) { in rsa_item_sign()
1083 if (!rsa_alg_set_pss_padding(alg2, pkey_ctx)) in rsa_item_sign()
/openbsd/gnu/gcc/gcc/
H A Dexpmed.c2879 struct algorithm alg2; in choose_mult_variant() local
2915 synth_mult (&alg2, -val, &limit, mode); in choose_mult_variant()
2916 alg2.cost.cost += op_cost; in choose_mult_variant()
2917 alg2.cost.latency += op_cost; in choose_mult_variant()
2918 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost)) in choose_mult_variant()
2919 *alg = alg2, *variant = negate_variant; in choose_mult_variant()
2935 synth_mult (&alg2, val - 1, &limit, mode); in choose_mult_variant()
2936 alg2.cost.cost += op_cost; in choose_mult_variant()
2937 alg2.cost.latency += op_cost; in choose_mult_variant()
2938 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost)) in choose_mult_variant()
[all …]
/openbsd/lib/libcrypto/evp/
H A Devp_local.h141 X509_ALGOR *alg1, X509_ALGOR *alg2, ASN1_BIT_STRING *sig);
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dexpmed.c2375 struct algorithm alg2; local
2399 synth_mult (&alg2, - val,
2401 if (alg2.cost + negate_cost < alg.cost)
2402 alg = alg2, variant = negate_variant;
2406 synth_mult (&alg2, val - 1,
2408 if (alg2.cost + add_cost < alg.cost)
2409 alg = alg2, variant = add_variant;