Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 27) 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/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/crypto/pkcs7/
H A Dpk7_attr.c122 ASN1_OCTET_STRING *os; in PKCS7_add1_attrib_digest() local
123 os = ASN1_OCTET_STRING_new(); in PKCS7_add1_attrib_digest()
124 if (os == NULL) in PKCS7_add1_attrib_digest()
126 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest()
128 V_ASN1_OCTET_STRING, os)) { in PKCS7_add1_attrib_digest()
129 ASN1_OCTET_STRING_free(os); in PKCS7_add1_attrib_digest()
H A Dpk7_doit.c349 } else if (os && os->length > 0) { in PKCS7_dataInit()
350 bio = BIO_new_mem_buf(os->data, os->length); in PKCS7_dataInit()
752 os = p7->d.data; in PKCS7_dataFinal()
758 if (os == NULL) { in PKCS7_dataFinal()
770 if (os == NULL) { in PKCS7_dataFinal()
785 os = NULL; in PKCS7_dataFinal()
795 os = NULL; in PKCS7_dataFinal()
869 if (os == NULL) in PKCS7_dataFinal()
1012 ASN1_OCTET_STRING *os; in PKCS7_signatureVerify() local
1116 os = si->enc_digest; in PKCS7_signatureVerify()
[all …]
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 return X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, 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.c564 ASN1_OCTET_STRING **pos, *os = NULL; in CMS_sign_receipt() local
595 os = ossl_cms_encode_Receipt(si); in CMS_sign_receipt()
596 if (os == NULL) in CMS_sign_receipt()
600 rct_cont = BIO_new_mem_buf(os->data, os->length); in CMS_sign_receipt()
617 *pos = os; in CMS_sign_receipt()
626 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/.github/workflows/
H A Dwindows.yml20 os:
28 …${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os)…
77 os:
80 …${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os)…
114 os:
117 …${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os)…
152 os:
162 …${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os)…
H A Dos-zoo.yml108 os: [macos-11, macos-12, macos-13, macos-14]
109 runs-on: ${{ matrix.os }}
134 os: [windows-2019, windows-2022]
135 runs-on: ${{ matrix.os }}
173 os: [freebsd-13.2, ubuntu-arm64-22.04]
174 runs-on: ${{ matrix.os }}-self-hosted
H A Dci.yml127 os: [freebsd-13.2, ubuntu-arm64-22.04]
128 runs-on: ${{ matrix.os }}-self-hosted
145 name: "ci@self-hosted-${{ matrix.os }}"
218 os: [macos-13, macos-14]
220 runs-on: ${{ matrix.os }}
238 name: "ci@no-shared-${{ matrix.os }}"
520 os: [macos-13, macos-14]
521 runs-on: ${{ matrix.os }}
555 name: "ci@out-of-readonly-source-and-install-${{ matrix.os }}"
H A Drun-checker-daily.yml316 os: [ ubuntu-latest, macos-13, macos-14 ]
317 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.c805 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_hmac() local
811 if (os != NULL) { in EVP_PKEY_get0_hmac()
812 *len = os->length; in EVP_PKEY_get0_hmac()
813 return os->data; in EVP_PKEY_get0_hmac()
821 const ASN1_OCTET_STRING *os = NULL; in EVP_PKEY_get0_poly1305() local
827 if (os != NULL) { in EVP_PKEY_get0_poly1305()
828 *len = os->length; in EVP_PKEY_get0_poly1305()
829 return os->data; in EVP_PKEY_get0_poly1305()
845 if (os != NULL) { in EVP_PKEY_get0_siphash()
846 *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 88 milliseconds

12