Lines Matching refs:serial

99                    BIGNUM *serial, const char *subj, unsigned long chtype,
111 BIGNUM *serial, const char *subj, unsigned long chtype,
120 BIGNUM *serial, const char *subj, unsigned long chtype,
127 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
270 BIGNUM *crlnumber = NULL, *serial = NULL; in ca_main() local
899 if ((serial = BN_new()) == NULL || !rand_serial(serial, NULL)) { in ca_main()
904 serial = load_serial(serialfile, NULL, create_ser, NULL); in ca_main()
905 if (serial == NULL) { in ca_main()
910 if (BN_is_zero(serial)) { in ca_main()
913 if ((f = BN_bn2hex(serial)) == NULL) in ca_main()
933 attribs, db, serial, subj, chtype, multirdn, in ca_main()
942 if (!BN_add_word(serial, 1)) in ca_main()
954 db, serial, subj, chtype, multirdn, email_dn, in ca_main()
963 if (!BN_add_word(serial, 1)) in ca_main()
975 serial, subj, chtype, multirdn, email_dn, startdate, in ca_main()
983 if (!BN_add_word(serial, 1)) in ca_main()
996 serial, subj, chtype, multirdn, email_dn, startdate, in ca_main()
1004 if (!BN_add_word(serial, 1)) { in ca_main()
1043 && !save_serial(serialfile, "new", serial, NULL)) in ca_main()
1195 if (!BN_hex2bn(&serial, pp[DB_serial])) in ca_main()
1197 tmpser = BN_to_ASN1_INTEGER(serial, NULL); in ca_main()
1198 BN_free(serial); in ca_main()
1199 serial = NULL; in ca_main()
1312 BN_free(serial); in ca_main()
1340 BIGNUM *serial, const char *subj, unsigned long chtype, in certify() argument
1381 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj, in certify()
1398 BIGNUM *serial, const char *subj, unsigned long chtype, in certify_cert() argument
1438 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj, in certify_cert()
1451 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, in do_body() argument
1660 if (BN_to_ASN1_INTEGER(serial, X509_get_serialNumber(ret)) == NULL) in do_body()
1783 if (BN_is_zero(serial)) in do_body()
1786 row[DB_serial] = BN_bn2hex(serial); in do_body()
1963 BIGNUM *serial, const char *subj, unsigned long chtype, in certify_spkac() argument
2077 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj, in certify_spkac()
2201 static int get_certificate_status(const char *serial, CA_DB *db) in get_certificate_status() argument
2205 size_t serial_len = strlen(serial); in get_certificate_status()
2221 memcpy(row[DB_serial] + 1, serial, serial_len); in get_certificate_status()
2225 memcpy(row[DB_serial], serial, serial_len); in get_certificate_status()