Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 34) 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.c519 OSSL_PARAM *cp; in test_param_construct() local
574 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct()
585 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct()
592 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "double")) in test_param_construct()
594 || !TEST_true(OSSL_PARAM_get_double(cp, &d2)) in test_param_construct()
631 cp->data_size = cp->return_size; in test_param_construct()
651 cp->data_size = cp->return_size; in test_param_construct()
659 || !TEST_true(OSSL_PARAM_set_BN(cp, bn)) in test_param_construct()
660 || !TEST_size_t_eq(cp->data_size, cp->return_size)) in test_param_construct()
663 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/crypto/asn1/
H A Dx_int64.c55 char *cp = (char *)*pval; in uint64_i2c() local
58 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
77 char *cp; in uint64_c2i() local
83 cp = (char *)*pval; in uint64_c2i()
110 memcpy(cp, &utmp, sizeof(utmp)); in uint64_c2i()
150 char *cp = (char *)*pval; in uint32_i2c() local
153 memcpy(&utmp, cp, sizeof(utmp)); in uint32_i2c()
180 char *cp; in uint32_c2i() local
186 cp = (char *)*pval; in uint32_c2i()
219 memcpy(cp, &utmp2, sizeof(utmp2)); in uint32_c2i()
H A Dasn1_gen.c110 const unsigned char *cp; in generate_v3() local
227 cp = new_der; in generate_v3()
230 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/evp/
H A Dnames.c78 const EVP_CIPHER *cp; in evp_get_cipherbyname_ex() local
85 cp = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in evp_get_cipherbyname_ex()
87 if (cp != NULL) in evp_get_cipherbyname_ex()
88 return cp; in evp_get_cipherbyname_ex()
101 if (!ossl_namemap_doall_names(namemap, id, cipher_from_name, &cp)) in evp_get_cipherbyname_ex()
104 return cp; in evp_get_cipherbyname_ex()
/openssl/crypto/
H A Dparams_from_text.c157 unsigned char *cp; in construct_from_text() local
160 for (cp = buf; i-- > 0; cp++) in construct_from_text()
161 *cp ^= 0xFF; in construct_from_text()
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 Dmem.c162 const char *cp = getenv("OPENSSL_MALLOC_FAILURES"); in ossl_malloc_setup_failures() local
164 if (cp != NULL && (md_failstring = strdup(cp)) != NULL) in ossl_malloc_setup_failures()
166 if ((cp = getenv("OPENSSL_MALLOC_FD")) != NULL) in ossl_malloc_setup_failures()
167 md_tracefd = atoi(cp); in ossl_malloc_setup_failures()
/openssl/apps/
H A Dpasswd.c525 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()
715 *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/.github/workflows/
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
H A Dfips-provider.yml52 cp -a build-3.0/providers/fips.so build/providers/fips.so
94 cp -a build/providers/fips.so build-3.0/providers/fips.so
/openssl/ssl/
H A Dssl_ciph.c816 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() local
853 cp = curr->cipher; in ssl_cipher_apply_rule()
860 if (strength_bits != cp->strength_bits) in ssl_cipher_apply_rule()
867 cp->name, cp->algorithm_mkey, cp->algorithm_auth, in ssl_cipher_apply_rule()
868 cp->algorithm_enc, cp->algorithm_mac, cp->min_tls, in ssl_cipher_apply_rule()
869 cp->algo_strength); in ssl_cipher_apply_rule()
871 if (cipher_id != 0 && (cipher_id != cp->id)) in ssl_cipher_apply_rule()
873 if (alg_mkey && !(alg_mkey & cp->algorithm_mkey)) in ssl_cipher_apply_rule()
877 if (alg_enc && !(alg_enc & cp->algorithm_enc)) in ssl_cipher_apply_rule()
879 if (alg_mac && !(alg_mac & cp->algorithm_mac)) in ssl_cipher_apply_rule()
[all …]
/openssl/crypto/engine/
H A Deng_list.c397 ENGINE *cp = ENGINE_new(); in ENGINE_by_id() local
398 if (cp == NULL) in ENGINE_by_id()
401 engine_cpy(cp, iterator); in ENGINE_by_id()
402 iterator = cp; in ENGINE_by_id()
/openssl/Configurations/
H A Dunix-Makefile.tmpl713 cp $$l $(DESTDIR)$(libdir)/$$fn.new; \
735 cp $$s3 $(DESTDIR)$(libdir)/$$fn3.new; \
745 cp -f $$a $$a.new; \
888 cp $$s $(DESTDIR)$(libdir)/$$fn.new; \
1032 cp $$x $(DESTDIR)$(HTMLDIR)/man1/$$fn; \
1039 cp $$x $(DESTDIR)$(HTMLDIR)/man3/$$fn; \
1046 cp $$x $(DESTDIR)$(HTMLDIR)/man5/$$fn; \
1053 cp $$x $(DESTDIR)$(HTMLDIR)/man7/$$fn; \
1845 cp -p $full apps/
1846 cp -p $full fuzz/
[all …]
/openssl/apps/lib/
H A Dapps.c1844 if (*cp++ != '/') { in parse_name()
1858 work = OPENSSL_strdup(cp); in parse_name()
1865 while (*cp != '\0') { in parse_name()
1875 while (*cp != '\0' && *cp != '=') in parse_name()
1876 *bp++ = *cp++; in parse_name()
1878 if (*cp == '\0') { in parse_name()
1884 ++cp; in parse_name()
1888 for (; *cp != '\0' && *cp != '/'; *bp++ = *cp++) { in parse_name()
1894 if (*cp == '\\' && *++cp == '\0') { in parse_name()
1904 if (*cp != '\0') in parse_name()
[all …]
H A Ds_cb.c1149 char *cp; in hexencode() local
1158 cp = out = app_malloc(ilen, "TLSA hex data buffer"); in hexencode()
1161 *cp++ = hex[(*data >> 4) & 0x0f]; in hexencode()
1162 *cp++ = hex[*data++ & 0x0f]; in hexencode()
1164 *cp = '\0'; in hexencode()
/openssl/doc/internal/man3/
H A Dossl_cmp_mock_srv_new.pod48 cp/ip/kup.
53 the extraCerts in a cp/ip/kup.
/openssl/demos/bio/
H A Dsconnect.c33 char *cp; in main() local
/openssl/crypto/ec/curve448/
H A Dcurve448.c685 int cp = (i == control_pre[contp].power); in ossl_curve448_base_double_scalarmul_non_secret() local
687 point_double_internal(combo, combo, i && !(cv || cp)); in ossl_curve448_base_double_scalarmul_non_secret()
695 i && !cp); in ossl_curve448_base_double_scalarmul_non_secret()
699 >> 1], i && !cp); in ossl_curve448_base_double_scalarmul_non_secret()
703 if (cp) { in ossl_curve448_base_double_scalarmul_non_secret()
/openssl/crypto/conf/
H A Dconf_def.c637 char *s, *e, *rp, *p, *rrp, *np, *cp, v; in str_copy() local
710 cp = section; in str_copy()
716 cp = np; in str_copy()
746 p = _CONF_get_string(conf, cp, np); in str_copy()
/openssl/crypto/objects/
H A Dobj_dat.c399 const unsigned char *cp; in OBJ_txt2obj() local
434 cp = buf; in OBJ_txt2obj()
435 op = d2i_ASN1_OBJECT(NULL, &cp, j); in OBJ_txt2obj()

Completed in 152 milliseconds

12