/openssl-master/fuzz/ |
A D | helper.py | 15 import os 21 THIS_DIR = os.path.abspath(os.path.dirname(__file__)) 22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora")) 24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER)) 26 os.mkdir(FUZZER_DIR) 31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d)) 32 if not os.path.isdir(dd): 33 os.mkdir(dd) 37 dd = os.path.abspath(os.path.join(CORPORA_DIR, d)) 38 if os.path.isdir(dd): [all …]
|
/openssl-master/crypto/ocsp/ |
A D | v3_ocsp.c | 175 const ASN1_OCTET_STRING *os = a; in i2d_ocsp_nonce() local 177 memcpy(*pp, os->data, os->length); in i2d_ocsp_nonce() 178 *pp += os->length; in i2d_ocsp_nonce() 180 return os->length; in i2d_ocsp_nonce() 185 ASN1_OCTET_STRING *os, **pos; in d2i_ocsp_nonce() local 188 os = ASN1_OCTET_STRING_new(); in d2i_ocsp_nonce() 189 if (os == NULL) in d2i_ocsp_nonce() 192 os = *pos; in d2i_ocsp_nonce() 200 *pos = os; in d2i_ocsp_nonce() 201 return os; in d2i_ocsp_nonce() [all …]
|
A D | ocsp_ext.c | 248 ASN1_OCTET_STRING os; in ocsp_add1_nonce() local 258 os.length = ASN1_object_size(0, len, V_ASN1_OCTET_STRING); in ocsp_add1_nonce() 259 if (os.length < 0) in ocsp_add1_nonce() 262 os.data = OPENSSL_malloc(os.length); in ocsp_add1_nonce() 263 if (os.data == NULL) in ocsp_add1_nonce() 265 tmpval = os.data; in ocsp_add1_nonce() 272 &os, 0, X509V3_ADD_REPLACE)) in ocsp_add1_nonce() 276 OPENSSL_free(os.data); in ocsp_add1_nonce()
|
/openssl-master/crypto/asn1/ |
A D | asn1_parse.c | 102 ASN1_OCTET_STRING *os = NULL; in asn1_parse2() local 209 os = d2i_ASN1_OCTET_STRING(NULL, &opp, len + hl); in asn1_parse2() 210 if (os != NULL && os->length > 0) { in asn1_parse2() 211 opp = os->data; in asn1_parse2() 215 for (i = 0; i < os->length; i++) { in asn1_parse2() 238 for (i = 0; i < os->length; i++) { in asn1_parse2() 252 os-> in asn1_parse2() 253 length) ? os->length : dump), in asn1_parse2() 259 ASN1_OCTET_STRING_free(os); in asn1_parse2() 260 os = NULL; in asn1_parse2() [all …]
|
A D | evp_asn1.c | 18 ASN1_STRING *os; in ASN1_TYPE_set_octetstring() local 20 if ((os = ASN1_OCTET_STRING_new()) == NULL) in ASN1_TYPE_set_octetstring() 22 if (!ASN1_OCTET_STRING_set(os, data, len)) { in ASN1_TYPE_set_octetstring() 23 ASN1_OCTET_STRING_free(os); in ASN1_TYPE_set_octetstring() 26 ASN1_TYPE_set(a, V_ASN1_OCTET_STRING, os); in ASN1_TYPE_set_octetstring()
|
A D | n_pkey.c | 32 ASN1_OCTET_STRING *os; member 42 ASN1_SIMPLE(NETSCAPE_ENCRYPTED_PKEY, os, ASN1_OCTET_STRING),
|
/openssl-master/crypto/pkcs7/ |
A D | pk7_attr.c | 109 ASN1_OCTET_STRING *os; in PKCS7_add1_attrib_digest() local 110 os = ASN1_OCTET_STRING_new(); in PKCS7_add1_attrib_digest() 111 if (os == NULL) in PKCS7_add1_attrib_digest() 113 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest() 115 V_ASN1_OCTET_STRING, os)) { in PKCS7_add1_attrib_digest() 116 ASN1_OCTET_STRING_free(os); in PKCS7_add1_attrib_digest()
|
A D | pk7_doit.c | 355 } else if (os && os->length > 0) { in PKCS7_dataInit() 356 bio = BIO_new_mem_buf(os->data, os->length); in PKCS7_dataInit() 754 os = p7->d.data; in PKCS7_dataFinal() 760 if (os == NULL) { in PKCS7_dataFinal() 772 if (os == NULL) { in PKCS7_dataFinal() 787 os = NULL; in PKCS7_dataFinal() 797 os = NULL; in PKCS7_dataFinal() 872 if (os == NULL) in PKCS7_dataFinal() 1009 ASN1_OCTET_STRING *os; in PKCS7_signatureVerify() local 1113 os = si->enc_digest; in PKCS7_signatureVerify() [all …]
|
A D | pk7_lib.c | 33 ASN1_OCTET_STRING *os; in PKCS7_ctrl() local 35 ASN1_OCTET_STRING_free(os); in PKCS7_ctrl() 706 ASN1_OCTET_STRING *os = NULL; in PKCS7_stream() local 710 os = p7->d.data; in PKCS7_stream() 715 if (os == NULL) { in PKCS7_stream() 716 os = ASN1_OCTET_STRING_new(); in PKCS7_stream() 723 if (os == NULL) { in PKCS7_stream() 734 os = NULL; in PKCS7_stream() 738 if (os == NULL) in PKCS7_stream() 741 os->flags |= ASN1_STRING_FLAG_NDEF; in PKCS7_stream() [all …]
|
/openssl-master/crypto/cms/ |
A D | cms_rsa.c | 114 ASN1_STRING *os = NULL; in rsa_cms_encrypt() local 164 if (!ASN1_item_pack(oaep, ASN1_ITEM_rptr(RSA_OAEP_PARAMS), &os)) in rsa_cms_encrypt() 166 X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaesOaep), V_ASN1_SEQUENCE, os); in rsa_cms_encrypt() 167 os = NULL; in rsa_cms_encrypt() 171 ASN1_STRING_free(os); in rsa_cms_encrypt() 194 ASN1_STRING *os = NULL; in rsa_cms_sign() local 208 os = ossl_rsa_ctx_to_pss_string(pkctx); in rsa_cms_sign() 209 if (os == NULL) in rsa_cms_sign() 211 X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, os); in rsa_cms_sign()
|
A D | cms_ess.c | 386 ASN1_OCTET_STRING *os = NULL; in ossl_cms_encode_Receipt() local 412 os = ASN1_item_pack(&rct, ASN1_ITEM_rptr(CMS_Receipt), NULL); in ossl_cms_encode_Receipt() 416 return os; in ossl_cms_encode_Receipt()
|
A D | cms_smime.c | 560 ASN1_OCTET_STRING **pos, *os; in CMS_sign_receipt() local 591 os = ossl_cms_encode_Receipt(si); in CMS_sign_receipt() 592 if (os == NULL) in CMS_sign_receipt() 596 rct_cont = BIO_new_mem_buf(os->data, os->length); in CMS_sign_receipt() 613 *pos = os; in CMS_sign_receipt()
|
A D | cms_sd.c | 941 ASN1_OCTET_STRING *os = NULL; in CMS_SignerInfo_verify_content() local 954 os = CMS_signed_get0_data_by_OBJ(si, in CMS_SignerInfo_verify_content() 957 if (os == NULL) { in CMS_SignerInfo_verify_content() 973 if (os != NULL) { in CMS_SignerInfo_verify_content() 974 if (mlen != (unsigned int)os->length) { in CMS_SignerInfo_verify_content() 979 if (memcmp(mval, os->data, mlen)) { in CMS_SignerInfo_verify_content()
|
/openssl-master/ssl/ |
A D | ssl_asn1.c | 87 static void ssl_session_oinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, 90 os->data = (unsigned char *)data; /* justified cast: data is not modified */ 91 os->length = (int)len; 92 os->flags = 0; 93 *dest = os; 97 static void ssl_session_sinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, in ssl_session_sinit() argument 101 ssl_session_oinit(dest, os, (const unsigned char *)data, strlen(data)); in ssl_session_sinit()
|
/openssl-master/test/recipes/95-test_external_krb5_data/ |
A D | krb5.sh | 16 ./configure --with-ldap --with-prng-alg=os --enable-pkinit \
|
/openssl-master/crypto/evp/ |
A D | p_lib.c | 790 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_hmac() local 796 if (os != NULL) { in EVP_PKEY_get0_hmac() 797 *len = os->length; in EVP_PKEY_get0_hmac() 798 return os->data; in EVP_PKEY_get0_hmac() 806 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_poly1305() local 812 if (os != NULL) { in EVP_PKEY_get0_poly1305() 813 *len = os->length; in EVP_PKEY_get0_poly1305() 814 return os->data; in EVP_PKEY_get0_poly1305() 830 if (os != NULL) { in EVP_PKEY_get0_siphash() 831 *len = os->length; in EVP_PKEY_get0_siphash() [all …]
|
/openssl-master/util/perl/OpenSSL/ |
A D | config.pm | 200 my $os = ""; 204 $os = $_ if m@^System@; 208 return undef if $line eq '' or $os eq 'System = SunOS';
|
/openssl-master/test/certs/ |
A D | ee-cert-8192.pem | 19 bRPsGlfJsnJJlwmvUBTp4RXwXj2JvIQKYcPmqjJQW23rHQ5Dbux6WXs+6F8py/os
|
/openssl-master/crypto/rsa/ |
A D | rsa_ameth.c | 503 ASN1_STRING *os; in ossl_rsa_ctx_to_pss_string() local 508 os = ASN1_item_pack(pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), NULL); in ossl_rsa_ctx_to_pss_string() 510 return os; in ossl_rsa_ctx_to_pss_string()
|
/openssl-master/doc/man7/ |
A D | EVP_RAND.pod | 89 either from os entropy sources or by consuming randomness which was added 131 | os entropy sources |
|
/openssl-master/ |
A D | INSTALL.md | 422 ### os subsection 1743 randomness sources. This corresponds to the option `--with-rand-seed=os`.
|
/openssl-master/test/recipes/30-test_evp_data/ |
A D | evppkey_kas.txt | 6078 os/TBoJJo8OSOCJCjTUsXXTl1krM7tvapu++TACGaulA3TG15uPyCztNh6agLHgX
|