Home
last modified time | relevance | path

Searched refs:ASN1_INTEGER_set (Results 1 – 25 of 30) sorted by relevance

12

/trueos/crypto/openssl/crypto/pkcs7/
HDpk7_lib.c172 if (!ASN1_INTEGER_set(p7->d.sign->version, 1)) { in PKCS7_set_type()
188 ASN1_INTEGER_set(p7->d.signed_and_enveloped->version, 1); in PKCS7_set_type()
189 if (!ASN1_INTEGER_set(p7->d.signed_and_enveloped->version, 1)) in PKCS7_set_type()
199 if (!ASN1_INTEGER_set(p7->d.enveloped->version, 0)) in PKCS7_set_type()
208 if (!ASN1_INTEGER_set(p7->d.encrypted->version, 0)) in PKCS7_set_type()
218 if (!ASN1_INTEGER_set(p7->d.digest->version, 0)) in PKCS7_set_type()
361 if (!ASN1_INTEGER_set(p7i->version, 1)) in PKCS7_SIGNER_INFO_set()
520 if (!ASN1_INTEGER_set(p7i->version, 0)) in PKCS7_RECIP_INFO_set()
HDpk7_attr.c119 if (!ASN1_INTEGER_set(nbit, arg)) { in PKCS7_simple_smimecap()
/trueos/crypto/openssl/crypto/x509v3/
HDv3_sxnet.c169 if (!(izone = M_ASN1_INTEGER_new()) || !ASN1_INTEGER_set(izone, lzone)) { in SXNET_add_id_ulong()
202 if (!ASN1_INTEGER_set(sx->version, 0)) in SXNET_add_id_INTEGER()
249 if (!(izone = M_ASN1_INTEGER_new()) || !ASN1_INTEGER_set(izone, lzone)) { in SXNET_get_id_ulong()
/trueos/crypto/openssl/ssl/
HDssl_asn1.c154 ASN1_INTEGER_set(&(a.version), SSL_SESSION_ASN1_VERSION); in i2d_SSL_SESSION()
159 ASN1_INTEGER_set(&(a.ssl_version), in->ssl_version); in i2d_SSL_SESSION()
216 ASN1_INTEGER_set(&(a.time), in->time); in i2d_SSL_SESSION()
223 ASN1_INTEGER_set(&(a.timeout), in->timeout); in i2d_SSL_SESSION()
230 ASN1_INTEGER_set(&a.verify_result, in->verify_result); in i2d_SSL_SESSION()
247 ASN1_INTEGER_set(&a.tlsext_tick_lifetime, in i2d_SSL_SESSION()
/trueos/crypto/openssl/crypto/ts/
HDts_rsp_sign.c102 if (!ASN1_INTEGER_set(serial, 1)) in def_serial_cb()
309 || !ASN1_INTEGER_set(ctx->seconds, secs))) in TS_RESP_CTX_set_accuracy()
312 || !ASN1_INTEGER_set(ctx->millis, millis))) in TS_RESP_CTX_set_accuracy()
315 || !ASN1_INTEGER_set(ctx->micros, micros))) in TS_RESP_CTX_set_accuracy()
358 if (!ASN1_INTEGER_set(si->status, status)) in TS_RESP_CTX_set_status_info()
736 if (!ASN1_INTEGER_set(p7->d.sign->version, 3)) in TS_RESP_sign()
HDts_req_utils.c68 return ASN1_INTEGER_set(a->version, version); in TS_REQ_set_version()
HDts_rsp_utils.c112 return ASN1_INTEGER_set(a->version, version); in TS_TST_INFO_set_version()
/trueos/crypto/openssl/crypto/asn1/
HDp5_pbev2.c234 if (!ASN1_INTEGER_set(kdf->iter, iter)) in PKCS5_pbkdf2_set()
242 if (!ASN1_INTEGER_set(kdf->keylength, keylen)) in PKCS5_pbkdf2_set()
HDp5_pbe.c91 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
HDp8_pkey.c95 if (!ASN1_INTEGER_set(priv->version, version))
HDevp_asn1.c112 ASN1_INTEGER_set(&in, num); in ASN1_TYPE_set_int_octetstring()
HDa_int.c344 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v) in ASN1_INTEGER_set() function
HDasn1.h925 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
/trueos/crypto/openssl/crypto/x509/
HDx509rset.c70 return (ASN1_INTEGER_set(x->req_info->version, version)); in X509_REQ_set_version()
HDx509_r2x.c85 if (!ASN1_INTEGER_set(xi->version, 2)) in X509_REQ_to_X509()
HDx509cset.c75 return (ASN1_INTEGER_set(x->crl->version, version)); in X509_CRL_set_version()
HDx509_set.c74 return (ASN1_INTEGER_set(x->cert_info->version, version)); in X509_set_version()
/trueos/crypto/openssl/crypto/pkcs12/
HDp12_init.c73 ASN1_INTEGER_set(pkcs12->version, 3); in PKCS12_init()
HDp12_mutl.c169 if (!ASN1_INTEGER_set(p12->mac->iter, iter)) { in PKCS12_setup_mac()
/trueos/crypto/openssl/apps/
HDcrl2p7.c215 if (!ASN1_INTEGER_set(p7s->version, 1)) in MAIN()
HDts.c750 if (!(ASN1_INTEGER_set(si->status, TS_STATUS_GRANTED))) in read_PKCS7()
891 if (!ASN1_INTEGER_set(serial, 1)) in next_serial()
/trueos/crypto/openssl/crypto/ocsp/
HDocsp_ext.c471 if (!(ASN1_INTEGER_set(cid->crlNum, *n))) in OCSP_crlID_new()
/trueos/crypto/openssl/crypto/rsa/
HDrsa_ameth.c565 if (!ASN1_INTEGER_set(pss->saltLength, saltlen)) in rsa_item_sign()
/trueos/crypto/openssl/crypto/cms/
HDcms_sd.c851 if (!key || !ASN1_INTEGER_set(key, keysize)) in CMS_add_simple_smimecap()
/trueos/crypto/openssl/crypto/ec/
HDec_asn1.c392 if (!ASN1_INTEGER_set(char_two->p.tpBasis, (long)k)) { in ec_asn1_group2fieldid()

12