/openssl/fuzz/ |
H 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/crypto/ocsp/ |
H 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 …]
|
H 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) <= 0) in ocsp_add1_nonce() 276 OPENSSL_free(os.data); in ocsp_add1_nonce()
|
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 62 if (os != NULL) { in pkcs7_get1_data() 82 if (os == NULL) in pkcs7_get1_data() 89 os = NULL; in pkcs7_get1_data() 92 return os; in pkcs7_get1_data() 386 } else if (os != NULL && os->length > 0) { in PKCS7_dataInit() 394 if (BIO_write(bio, os->data, os->length) != os->length) { in PKCS7_dataInit() 803 os = p7->d.data; in PKCS7_dataFinal() 836 os = NULL; in PKCS7_dataFinal() 846 os = NULL; in PKCS7_dataFinal() 920 if (os == NULL) in PKCS7_dataFinal() [all …]
|
H A D | pk7_attr.c | 126 ASN1_OCTET_STRING *os; in PKCS7_add1_attrib_digest() local 127 os = ASN1_OCTET_STRING_new(); in PKCS7_add1_attrib_digest() 128 if (os == NULL) in PKCS7_add1_attrib_digest() 130 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest() 132 V_ASN1_OCTET_STRING, os)) { in PKCS7_add1_attrib_digest() 133 ASN1_OCTET_STRING_free(os); in PKCS7_add1_attrib_digest()
|
H A D | pk7_lib.c | 33 ASN1_OCTET_STRING *os; in PKCS7_ctrl() local 35 ASN1_OCTET_STRING_free(os); in PKCS7_ctrl() 714 ASN1_OCTET_STRING *os = NULL; in PKCS7_stream() local 718 os = p7->d.data; in PKCS7_stream() 723 if (os == NULL) { in PKCS7_stream() 724 os = ASN1_OCTET_STRING_new(); in PKCS7_stream() 731 if (os == NULL) { in PKCS7_stream() 742 os = NULL; in PKCS7_stream() 746 if (os == NULL) in PKCS7_stream() 749 os->flags |= ASN1_STRING_FLAG_NDEF; in PKCS7_stream() [all …]
|
/openssl/crypto/cms/ |
H A D | cms_rsa.c | 118 ASN1_STRING *os = NULL; in rsa_cms_encrypt() local 168 if (!ASN1_item_pack(oaep, ASN1_ITEM_rptr(RSA_OAEP_PARAMS), &os)) in rsa_cms_encrypt() 170 if (!X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaesOaep), V_ASN1_SEQUENCE, os)) in rsa_cms_encrypt() 172 os = NULL; in rsa_cms_encrypt() 176 ASN1_STRING_free(os); in rsa_cms_encrypt() 220 ASN1_STRING *os = NULL; in rsa_cms_sign() local 222 os = ossl_rsa_ctx_to_pss_string(pkctx); in rsa_cms_sign() 223 if (os == NULL) in rsa_cms_sign() 225 if (X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, os)) in rsa_cms_sign() 227 ASN1_STRING_free(os); in rsa_cms_sign()
|
H A D | cms_ess.c | 388 ASN1_OCTET_STRING *os = NULL; in ossl_cms_encode_Receipt() local 414 os = ASN1_item_pack(&rct, ASN1_ITEM_rptr(CMS_Receipt), NULL); in ossl_cms_encode_Receipt() 418 return os; in ossl_cms_encode_Receipt()
|
H A D | cms_smime.c | 573 ASN1_OCTET_STRING **pos, *os = NULL; in CMS_sign_receipt() local 604 os = ossl_cms_encode_Receipt(si); in CMS_sign_receipt() 605 if (os == NULL) in CMS_sign_receipt() 609 rct_cont = BIO_new_mem_buf(os->data, os->length); in CMS_sign_receipt() 626 *pos = os; in CMS_sign_receipt() 635 ASN1_OCTET_STRING_free(os); in CMS_sign_receipt()
|
H A D | cms_sd.c | 999 ASN1_OCTET_STRING *os = NULL; in CMS_SignerInfo_verify_content() local 1012 os = CMS_signed_get0_data_by_OBJ(si, in CMS_SignerInfo_verify_content() 1015 if (os == NULL) { in CMS_SignerInfo_verify_content() 1030 if (os != NULL) { in CMS_SignerInfo_verify_content() 1031 if (mlen != (unsigned int)os->length) { in CMS_SignerInfo_verify_content() 1036 if (memcmp(mval, os->data, mlen)) { in CMS_SignerInfo_verify_content()
|
/openssl/crypto/asn1/ |
H 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 …]
|
H 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()
|
H A D | n_pkey.c | 32 ASN1_OCTET_STRING *os; member 42 ASN1_SIMPLE(NETSCAPE_ENCRYPTED_PKEY, os, ASN1_OCTET_STRING),
|
/openssl/.github/workflows/ |
H A D | windows.yml | 22 os: windows-2019 25 os: windows-2022 28 os: windows-2022 30 runs-on: ${{ matrix.platform.os }} 94 os: 97 runs-on: ${{ matrix.os }} 131 os: 134 runs-on: ${{ matrix.os }} 169 os: 179 runs-on: ${{ matrix.os }}
|
H A D | os-zoo.yml | 105 os: [macos-13, macos-14, macos-15] 106 runs-on: ${{ matrix.os }} 128 os: [windows-2019, windows-2022] 129 runs-on: ${{ matrix.os }} 165 os: [freebsd-13.2, ubuntu-arm64-22.04] 166 runs-on: ${{ matrix.os }}-self-hosted
|
H A D | ci.yml | 133 os: [freebsd-13.2, ubuntu-arm64-22.04] 134 runs-on: ${{ matrix.os }}-self-hosted 151 name: "ci@self-hosted-${{ matrix.os }}" 224 os: [macos-13, macos-14] 225 runs-on: ${{ matrix.os }} 243 name: "ci@no-shared-${{ matrix.os }}" 525 os: [macos-13, macos-14] 526 runs-on: ${{ matrix.os }} 559 name: "ci@out-of-readonly-source-and-install-${{ matrix.os }}"
|
H A D | run-checker-daily.yml | 347 os: [ ubuntu-latest, macos-13, macos-14 ] 348 runs-on: ${{matrix.os}}
|
/openssl/test/recipes/70-test_quic_multistream_data/ |
H A D | verify-qlog.py | 9 import sys, os, os.path, glob, json, re 167 qlogdir = os.environ['QLOGDIR'] 168 for filename in glob.glob(os.path.join(qlogdir, '*.sqlog')):
|
/openssl/ssl/ |
H A D | ssl_asn1.c | 90 static void ssl_session_oinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, 93 os->data = (unsigned char *)data; /* justified cast: data is not modified */ 94 os->length = (int)len; 95 os->flags = 0; 96 *dest = os; 100 static void ssl_session_sinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, in ssl_session_sinit() argument 104 ssl_session_oinit(dest, os, (const unsigned char *)data, strlen(data)); in ssl_session_sinit()
|
/openssl/crypto/evp/ |
H A D | p_lib.c | 804 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_hmac() local 810 if (os != NULL) { in EVP_PKEY_get0_hmac() 811 *len = os->length; in EVP_PKEY_get0_hmac() 812 return os->data; in EVP_PKEY_get0_hmac() 820 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_poly1305() local 826 if (os != NULL) { in EVP_PKEY_get0_poly1305() 827 *len = os->length; in EVP_PKEY_get0_poly1305() 828 return os->data; in EVP_PKEY_get0_poly1305() 844 if (os != NULL) { in EVP_PKEY_get0_siphash() 845 *len = os->length; in EVP_PKEY_get0_siphash() [all …]
|
/openssl/test/recipes/95-test_external_krb5_data/ |
H A D | krb5.sh | 16 ./configure --with-ldap --with-prng-alg=os --enable-pkinit \
|
/openssl/util/perl/OpenSSL/ |
H A D | config.pm | 213 my $os = ""; 217 $os = $_ if m@^System@; 221 return undef if $line eq '' or $os eq 'System = SunOS';
|
/openssl/test/certs/ |
H A D | ee-cert-8192.pem | 19 bRPsGlfJsnJJlwmvUBTp4RXwXj2JvIQKYcPmqjJQW23rHQ5Dbux6WXs+6F8py/os
|
/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 525 ASN1_STRING *os; in ossl_rsa_ctx_to_pss_string() local 530 os = ASN1_item_pack(pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), NULL); in ossl_rsa_ctx_to_pss_string() 532 return os; in ossl_rsa_ctx_to_pss_string()
|
/openssl/doc/man7/ |
H A D | EVP_RAND.pod | 89 either from os entropy sources or by consuming randomness which was added 131 | os entropy sources |
|