Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 42) sorted by relevance

12

/openssl/test/
H A Dexdatatest.c162 ex_data->hello = cp; in MYOBJ_sethello2()
186 ex_data->hello = cp; in MYOBJ_allochello3()
224 const char *cp; in test_exdata() local
259 cp = MYOBJ_gethello(t1); in test_exdata()
260 if (!TEST_ptr_eq(cp, p)) in test_exdata()
265 if (!TEST_ptr_eq(cp, p)) in test_exdata()
270 if (!TEST_ptr_eq(cp, p)) in test_exdata()
273 cp = MYOBJ_gethello(t2); in test_exdata()
274 if (!TEST_ptr_null(cp)) in test_exdata()
278 if (!TEST_ptr_null(cp)) in test_exdata()
[all …]
H A Dparams_api_test.c601 OSSL_PARAM *cp; in test_param_construct() local
656 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct()
667 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct()
674 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "double")) in test_param_construct()
676 || !TEST_true(OSSL_PARAM_get_double(cp, &d2)) in test_param_construct()
713 cp->data_size = cp->return_size; in test_param_construct()
733 cp->data_size = cp->return_size; in test_param_construct()
741 || !TEST_true(OSSL_PARAM_set_BN(cp, bn)) in test_param_construct()
742 || !TEST_size_t_eq(cp->data_size, cp->return_size)) in test_param_construct()
745 cp->data_size = cp->return_size; in test_param_construct()
[all …]
H A Ddanetest.c181 unsigned char *cp; in hexdecode() local
187 cp = ret; in hexdecode()
201 *cp++ = byte; in hexdecode()
212 return cp - (*out = ret); in hexdecode()
218 const char *cp = in; in checked_uint8() local
224 v = strtol(cp, &endp, 10); in checked_uint8()
232 for (cp = endp; isspace(_UC(*cp)); ++cp) in checked_uint8()
234 return cp - in; in checked_uint8()
258 const char *cp = rrdata; in tlsa_import_rr() local
282 static int allws(const char *cp) in allws() argument
[all …]
/openssl/test/smime-certs/
H A Dmksmime-certs.sh26 cp ../certs/ee-key.pem smrsa1.pem
28 cp ../certs/ee-key-3072.pem smrsa2.pem
30 cp ../certs/ee-key-4096.pem smrsa3.pem
38 cp ../certs/server-dsa-key.pem smdsa1.pem
40 cp ../certs/server-dsa-key.pem smdsa2.pem
42 cp ../certs/server-dsa-key.pem smdsa3.pem
47 cp ../certs/ee-ecdsa-key.pem smec1.pem
49 cp ../certs/server-ecdsa-key.pem smec2.pem
68 cp ../certs/ee-key.pem csrsa1.pem
/openssl/crypto/asn1/
H A Dx_int64.c53 char *cp = (char *)*pval; in uint64_i2c() local
56 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
75 char *cp; in uint64_c2i() local
81 cp = (char *)*pval; in uint64_c2i()
108 memcpy(cp, &utmp, sizeof(utmp)); in uint64_c2i()
146 char *cp = (char *)*pval; in uint32_i2c() local
149 memcpy(&utmp, cp, sizeof(utmp)); in uint32_i2c()
176 char *cp; in uint32_c2i() local
182 cp = (char *)*pval; in uint32_c2i()
215 memcpy(cp, &utmp2, sizeof(utmp2)); in uint32_c2i()
H A Dasn1_gen.c111 const unsigned char *cp; in generate_v3() local
228 cp = new_der; in generate_v3()
231 ret = d2i_ASN1_TYPE(NULL, &cp, len); in generate_v3()
/openssl/crypto/des/
H A Dqud_cksm.c40 const unsigned char *cp; in DES_quad_cksum() local
53 cp = input; in DES_quad_cksum()
57 t0 = (DES_LONG)(*(cp++)); in DES_quad_cksum()
58 t0 |= (DES_LONG)Q_B1(*(cp++)); in DES_quad_cksum()
61 t0 = (DES_LONG)(*(cp++)); in DES_quad_cksum()
/openssl/crypto/md2/
H A Dmd2_dgst.c159 register UCHAR *cp; in MD2_Final() local
162 cp = c->data; in MD2_Final()
167 cp[i] = (UCHAR) v; in MD2_Final()
169 md2_block(c, cp); in MD2_Final()
172 cp[i] = (UCHAR) p2[i]; in MD2_Final()
173 md2_block(c, cp); in MD2_Final()
/openssl/crypto/
H A Dmem.c167 const char *cp = getenv("OPENSSL_MALLOC_FAILURES"); in ossl_malloc_setup_failures() local
170 if (cp != NULL) { in ossl_malloc_setup_failures()
172 cplen = strlen(cp); in ossl_malloc_setup_failures()
174 strncpy(md_failbuf, cp, CRYPTO_MEM_CHECK_MAX_FS); in ossl_malloc_setup_failures()
179 if ((cp = getenv("OPENSSL_MALLOC_FD")) != NULL) in ossl_malloc_setup_failures()
180 md_tracefd = atoi(cp); in ossl_malloc_setup_failures()
181 if ((cp = getenv("OPENSSL_MALLOC_SEED")) != NULL) in ossl_malloc_setup_failures()
182 srandom(atoi(cp)); in ossl_malloc_setup_failures()
H A DLPdir_win.c103 UINT cp; in LP_find_file() local
107 if ((sz = MultiByteToWideChar((cp = CP_UTF8), 0, in LP_find_file()
113 sz = MultiByteToWideChar((cp = CP_ACP), 0, in LP_find_file()
124 if (!MultiByteToWideChar(cp, 0, directory, len_0, in LP_find_file()
H A Dparams_from_text.c164 unsigned char *cp; in construct_from_text() local
167 for (cp = buf; i-- > 0; cp++) in construct_from_text()
168 *cp ^= 0xFF; in construct_from_text()
/openssl/crypto/evp/
H A Dnames.c78 const EVP_CIPHER *cp; in evp_get_cipherbyname_ex() local
86 cp = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in evp_get_cipherbyname_ex()
88 if (cp != NULL) in evp_get_cipherbyname_ex()
89 return cp; in evp_get_cipherbyname_ex()
114 if (!ossl_namemap_doall_names(namemap, id, cipher_from_name, &cp)) in evp_get_cipherbyname_ex()
117 return cp; in evp_get_cipherbyname_ex()
/openssl/apps/
H A Dpasswd.c524 char *cp = NULL; in shacrypt() local
654 for (cp = p_bytes, n = passwd_len; n > buf_size; n -= buf_size, cp += buf_size) in shacrypt()
655 memcpy(cp, temp_buf, buf_size); in shacrypt()
656 memcpy(cp, temp_buf, n); in shacrypt()
671 for (cp = s_bytes, n = salt_len; n > buf_size; n -= buf_size, cp += buf_size) in shacrypt()
672 memcpy(cp, temp_buf, buf_size); in shacrypt()
673 memcpy(cp, temp_buf, n); in shacrypt()
706 cp = out_buf + strlen(out_buf); in shacrypt()
707 *cp++ = ascii_dollar[0]; in shacrypt()
714 *cp++ = cov_2char[w & 0x3f]; \ in shacrypt()
[all …]
/openssl/crypto/chacha/asm/
H A Dchacha-x86.pl75 my ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-1)&3),($ai,$bi,$ci,$di)); # previous
90 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-$j--)&3),($ap,$bp,$cp,$dp));
96 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_+$j--)&3),($ap,$bp,$cp,$dp));
104 &mov (&DWP(4*$cp,"esp"),$c_) if ($ai>0 && $ai<3);
383 my ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-1)&3),($ai,$bi,$ci,$di)); # previous
398 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-$j--)&3),($ap,$bp,$cp,$dp));
404 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_+$j--)&3),($ap,$bp,$cp,$dp));
412 &movdqa(&QWP(16*$cp-128,"ebx"),$xc_) if ($ai>0 && $ai<3);
812 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-$j--)&3),($ap,$bp,$cp,$dp));
818 ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_+$j--)&3),($ap,$bp,$cp,$dp));
[all …]
/openssl/ssl/
H A Dssl_ciph.c783 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() local
821 cp = curr->cipher; in ssl_cipher_apply_rule()
828 if (strength_bits != cp->strength_bits) in ssl_cipher_apply_rule()
835 cp->name, in ssl_cipher_apply_rule()
838 (unsigned int)cp->algorithm_enc, in ssl_cipher_apply_rule()
839 (unsigned int)cp->algorithm_mac, in ssl_cipher_apply_rule()
840 cp->min_tls, in ssl_cipher_apply_rule()
843 if (cipher_id != 0 && (cipher_id != cp->id)) in ssl_cipher_apply_rule()
849 if (alg_enc && !(alg_enc & cp->algorithm_enc)) in ssl_cipher_apply_rule()
851 if (alg_mac && !(alg_mac & cp->algorithm_mac)) in ssl_cipher_apply_rule()
[all …]
/openssl/crypto/hpke/
H A Dhpke_util.c492 char *cp = strchr(st, OSSL_HPKE_STR_DELIMCHAR); in ossl_hpke_str2suite() local
495 if (cp != NULL) in ossl_hpke_str2suite()
496 *cp = '\0'; in ossl_hpke_str2suite()
512 if (cp == NULL) in ossl_hpke_str2suite()
515 st = cp + 1; in ossl_hpke_str2suite()
/openssl/crypto/engine/
H A Deng_list.c436 ENGINE *cp = ENGINE_new(); in ENGINE_by_id() local
437 if (cp == NULL) in ENGINE_by_id()
440 engine_cpy(cp, iterator); in ENGINE_by_id()
441 iterator = cp; in ENGINE_by_id()
/openssl/Configurations/
H A Dunix-Makefile.tmpl760 cp $$l "$(DESTDIR)$(libdir)/$$fn.new"; \
792 cp -f $$a $$a.new; \
809 cp $$e "$(DESTDIR)$(PKGCONFIGDIR)/$$fn"; \
816 cp $$e $(DESTDIR)$(CMAKECONFIGDIR)/$$fn; \
939 cp $$s "$(DESTDIR)$(bindir)/$$fn.new"; \
945 cp $$s "$(DESTDIR)$(libdir)/$$fn.new"; \
960 cp $$x "$(DESTDIR)$(bindir)/$$fn.new"; \
969 cp $$x "$(DESTDIR)$(bindir)/$$fn.new"; \
1890 cp -p $full apps/
1891 cp -p $full fuzz/
[all …]
/openssl/.github/workflows/
H A Dinterop-tests.yml40 cd /build && cp ${GITHUB_WORKSPACE}/interop/openssl/openssl.spec SPECS/ && \
49 cp ${GITHUB_WORKSPACE}/interop/openssl/openssl.cnf /etc/pki/tls/openssl.cnf
H A Dfips-checksums.yml63cp -a build-pristine/providers/fips.module.sources.new source/providers/fips.module.sources
64cp -a build-pristine/providers/fips-sources.checksums.new source/providers/fips-sources.checksums
65 cp -a build-pristine/providers/fips.checksum.new source/providers/fips.checksum
/openssl/apps/lib/
H A Dapps.c1949 if (*cp++ != '/') { in parse_name()
1963 work = OPENSSL_strdup(cp); in parse_name()
1970 while (*cp != '\0') { in parse_name()
1980 while (*cp != '\0' && *cp != '=') in parse_name()
1981 *bp++ = *cp++; in parse_name()
1983 if (*cp == '\0') { in parse_name()
1989 ++cp; in parse_name()
1993 for (; *cp != '\0' && *cp != '/'; *bp++ = *cp++) { in parse_name()
1999 if (*cp == '\\' && *++cp == '\0') { in parse_name()
2009 if (*cp != '\0') in parse_name()
[all …]
/openssl/test/recipes/95-test_external_oqsprovider_data/
H A Doqsprovider.sh75 cp $SRCTOP/test/recipes/95-test_external_oqsprovider_data/oqsprovider-pkcs12gen.sh $SRCTOP/oqs-prov…
/openssl/crypto/ec/curve448/
H A Dcurve448.c686 int cp = (i == control_pre[contp].power); in ossl_curve448_base_double_scalarmul_non_secret() local
688 point_double_internal(combo, combo, i && !(cv || cp)); in ossl_curve448_base_double_scalarmul_non_secret()
696 i && !cp); in ossl_curve448_base_double_scalarmul_non_secret()
700 >> 1], i && !cp); in ossl_curve448_base_double_scalarmul_non_secret()
704 if (cp) { in ossl_curve448_base_double_scalarmul_non_secret()
/openssl/doc/internal/man3/
H A Dossl_cmp_mock_srv_new.pod54 to be returned in cp/ip/kup messages.
59 to be added to the extraCerts in a cp/ip/kup message.
/openssl/crypto/conf/
H A Dconf_def.c645 char *s, *e, *rp, *p, *rrp, *np, *cp, v; in str_copy() local
718 cp = section; in str_copy()
724 cp = np; in str_copy()
754 p = _CONF_get_string(conf, cp, np); in str_copy()

Completed in 56 milliseconds

12