Searched refs:pbn (Results 1 – 3 of 3) sorted by relevance
/openssl/crypto/x509/ |
H A D | v3_crld.c | 153 const BIT_STRING_BITNAME *pbn; in set_reasons() local 168 for (pbn = reason_flags; pbn->lname; pbn++) { in set_reasons() 169 if (strcmp(pbn->sname, bnam) == 0) { in set_reasons() 170 if (!ASN1_BIT_STRING_set_bit(*preas, pbn->bitnum, 1)) in set_reasons() 175 if (pbn->lname == NULL) in set_reasons() 189 const BIT_STRING_BITNAME *pbn; in print_reasons() local 191 for (pbn = reason_flags; pbn->lname; pbn++) { in print_reasons() 192 if (ASN1_BIT_STRING_get_bit(rflags, pbn->bitnum)) { in print_reasons() 197 BIO_puts(out, pbn->lname); in print_reasons()
|
/openssl/test/ |
H A D | param_build_test.c | 91 BIGNUM *pbn = NULL, *pbn_res = NULL; in template_public_test() local 111 || !TEST_ptr(pbn = BN_new()) in template_public_test() 112 || !TEST_true(BN_set_word(pbn, 1729)) in template_public_test() 113 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber", pbn)) in template_public_test() 207 || !TEST_BN_eq(pbn_res, pbn) in template_public_test() 225 BN_free(pbn); in template_public_test() 247 BIGNUM *pbn = NULL, *pbn_res = NULL; in template_private_test() local 268 || !TEST_ptr(pbn = BN_secure_new()) in template_private_test() 269 || !TEST_true(BN_set_word(pbn, 1729)) in template_private_test() 368 || !TEST_BN_eq(pbn_res, pbn) in template_private_test() [all …]
|
/openssl/crypto/pem/ |
H A D | pvkfmt.c | 381 BIGNUM *pbn = NULL, *qbn = NULL, *gbn = NULL, *priv_key = NULL; in ossl_b2i_DSA_after_header() local 388 if (!read_lebn(&p, nbyte, &pbn)) in ossl_b2i_DSA_after_header() 414 if (!BN_mod_exp(pub_key, gbn, priv_key, pbn, ctx)) in ossl_b2i_DSA_after_header() 420 if (!DSA_set0_pqg(dsa, pbn, qbn, gbn)) in ossl_b2i_DSA_after_header() 422 pbn = qbn = gbn = NULL; in ossl_b2i_DSA_after_header() 438 BN_free(pbn); in ossl_b2i_DSA_after_header()
|
Completed in 9 milliseconds