Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 29) sorted by relevance

12

/openssl/fuzz/
H A Dhelper.py15 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 Dv3_ocsp.c175 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 Docsp_ext.c248 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 Dpk7_doit.c62 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 Dpk7_attr.c126 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 Dpk7_lib.c33 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 Dcms_rsa.c118 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 Dcms_ess.c388 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 Dcms_smime.c573 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 Dcms_sd.c999 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 Dasn1_parse.c102 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 Devp_asn1.c18 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 Dn_pkey.c32 ASN1_OCTET_STRING *os; member
42 ASN1_SIMPLE(NETSCAPE_ENCRYPTED_PKEY, os, ASN1_OCTET_STRING),
/openssl/.github/workflows/
H A Dwindows.yml22 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 Dos-zoo.yml105 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 Dci.yml133 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 Drun-checker-daily.yml347 os: [ ubuntu-latest, macos-13, macos-14 ]
348 runs-on: ${{matrix.os}}
/openssl/test/recipes/70-test_quic_multistream_data/
H A Dverify-qlog.py9 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 Dssl_asn1.c90 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 Dp_lib.c804 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 Dkrb5.sh16 ./configure --with-ldap --with-prng-alg=os --enable-pkinit \
/openssl/util/perl/OpenSSL/
H A Dconfig.pm213 my $os = "";
217 $os = $_ if m@^System@;
221 return undef if $line eq '' or $os eq 'System = SunOS';
/openssl/test/certs/
H A Dee-cert-8192.pem19 bRPsGlfJsnJJlwmvUBTp4RXwXj2JvIQKYcPmqjJQW23rHQ5Dbux6WXs+6F8py/os
/openssl/crypto/rsa/
H A Drsa_ameth.c525 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 DEVP_RAND.pod89 either from os entropy sources or by consuming randomness which was added
131 | os entropy sources |

Completed in 139 milliseconds

12