Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 84) sorted by relevance

1234

/openssl-master/crypto/md5/asm/
A Dmd5-x86_64.pl28 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
32 add %r11d, $dst /* dst += ... */
33 rol \$$s, $dst /* dst <<< s */
35 add $x, $dst /* dst += x */
53 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
60 rol \$$s, $dst /* dst <<< s */
61 add $x, $dst /* dst += x */
76 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
91 add $x, $dst /* dst += x */
109 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
[all …]
/openssl-master/crypto/perlasm/
A Dx86asm.pl94 { my($dst,$src,$imm)=@_;
102 { my($dst,$src,$imm)=@_;
110 { my($dst,$src)=@_;
118 { my($dst,$src,$imm)=@_;
126 { my($dst,$src,$imm)=@_;
134 { my ($dst)=@_;
135 if ($dst =~ /(e[a-dsd][ixp])/)
142 { my ($dst)=@_;
143 if ($dst =~ /(e[a-dsd][ixp])/)
151 my ($dst,$src1,$src2,$rxb)=@_;
[all …]
A Dx86gas.pl36 my($suffix,$dst,$src);
47 $dst = $arg[$#arg] if ($#arg>=0);
49 if ($dst =~ m/^%/o) { $suffix=&opsize($dst); }
52 undef $suffix if ($dst =~ m/^%[xm]/o || $src =~ m/^%[xm]/o);
212 { my($dst,$sym,$base,$reflabel)=@_;
218 &::blindpop($dst);
219 $base=$dst;
224 &::mov($dst,&::DWP("$indirect-$reflabel",$base));
228 { &::lea($dst,&::DWP("$sym-$reflabel",$base)); }
232 &::mov($dst,&::DWP("$sym\@GOT",$dst));
[all …]
A Dx86_64-xlate.pl1003 my ($dst,$src,$rex)=@_;
1015 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1022 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1037 my $dst=$3;
1038 if ($dst =~ /%r([0-9]+)d/) { $dst = $1; }
1039 elsif ($dst =~ /%e/) { $dst = $regrm{$dst}; }
1055 my $dst=$3;
1110 my $dst=$1;
1111 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1123 my $dst=$1;
[all …]
/openssl-master/crypto/
A Dparams_dup.c65 int has_dst = (dst != NULL); in ossl_param_dup()
72 *dst = *in; in ossl_param_dup()
91 dst++; in ossl_param_dup()
99 return dst; in ossl_param_dup()
106 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup() local
137 return dst; in OSSL_PARAM_dup()
154 OSSL_PARAM *params, *dst; in OSSL_PARAM_merge() local
187 dst = params; in OSSL_PARAM_merge()
211 *dst++ = **p2cur; in OSSL_PARAM_merge()
215 *dst++ = **p2cur; in OSSL_PARAM_merge()
[all …]
A Ds390xcpuid.pl511 stg %r0,24($dst)
512 stg %r1,16($dst)
513 stg %r4,8($dst)
514 stg %r5,0($dst)
539 stg %r0,56($dst)
540 stg %r1,48($dst)
541 stg %r4,40($dst)
542 stg %r5,32($dst)
543 stg %r6,24($dst)
545 stg %r8,8($dst)
[all …]
A Do_str.c72 size_t OPENSSL_strlcpy(char *dst, const char *src, size_t size) in OPENSSL_strlcpy() argument
76 *dst++ = *src++; in OPENSSL_strlcpy()
80 *dst = CH_ZERO; in OPENSSL_strlcpy()
84 size_t OPENSSL_strlcat(char *dst, const char *src, size_t size) in OPENSSL_strlcat() argument
87 for (; size > 0 && *dst; size--, dst++) in OPENSSL_strlcat()
89 return l + OPENSSL_strlcpy(dst, src, size); in OPENSSL_strlcat()
/openssl-master/crypto/evp/
A Dkdf_lib.c57 EVP_KDF_CTX *dst; in EVP_KDF_CTX_dup() local
62 dst = OPENSSL_malloc(sizeof(*dst)); in EVP_KDF_CTX_dup()
63 if (dst == NULL) { in EVP_KDF_CTX_dup()
68 memcpy(dst, src, sizeof(*dst)); in EVP_KDF_CTX_dup()
69 if (!EVP_KDF_up_ref(dst->meth)) { in EVP_KDF_CTX_dup()
71 OPENSSL_free(dst); in EVP_KDF_CTX_dup()
75 dst->algctx = src->meth->dupctx(src->algctx); in EVP_KDF_CTX_dup()
76 if (dst->algctx == NULL) { in EVP_KDF_CTX_dup()
77 EVP_KDF_CTX_free(dst); in EVP_KDF_CTX_dup()
80 return dst; in EVP_KDF_CTX_dup()
A Dmac_lib.c53 EVP_MAC_CTX *dst; in EVP_MAC_CTX_dup() local
58 dst = OPENSSL_malloc(sizeof(*dst)); in EVP_MAC_CTX_dup()
59 if (dst == NULL) { in EVP_MAC_CTX_dup()
64 *dst = *src; in EVP_MAC_CTX_dup()
65 if (!EVP_MAC_up_ref(dst->meth)) { in EVP_MAC_CTX_dup()
67 OPENSSL_free(dst); in EVP_MAC_CTX_dup()
71 dst->algctx = src->meth->dupctx(src->algctx); in EVP_MAC_CTX_dup()
72 if (dst->algctx == NULL) { in EVP_MAC_CTX_dup()
73 EVP_MAC_CTX_free(dst); in EVP_MAC_CTX_dup()
77 return dst; in EVP_MAC_CTX_dup()
/openssl-master/crypto/sha/asm/
A Dkeccak1600-s390x.pl53 my ($src,$dst,$iotas) = map("%r$_",(2..4));
155 stg @C[4],$A[0][2]($dst) # R[0][2] = C[2] ^ ( C[4] & C[3])
163 stg @T[0],$A[0][4]($dst) # R[0][4] = C[4] ^ ( C[1] & C[0])
188 stg @C[0],$A[1][3]($dst) # R[1][3] = C[3] ^ (C[0] | C[4])
195 stg @C[1],$A[1][4]($dst) # R[1][4] = C[4] ^ (C[1] & C[0])
204 stg @C[3],$A[1][1]($dst) # R[1][1] = C[1] ^ (C[3] & C[2])
293 xgr $dst,$src # xchg $dst,$src
297 xgr $src,$dst
299 xgr $dst,$src
368 la $dst,$stdframe($sp)
[all …]
/openssl-master/crypto/ffc/
A Dffc_params.c173 BN_clear_free(*dst); in ffc_bn_cpy()
174 *dst = a; in ffc_bn_cpy()
186 OPENSSL_free(dst->seed); in ossl_ffc_params_copy()
187 dst->seedlen = src->seedlen; in ossl_ffc_params_copy()
190 if (dst->seed == NULL) in ossl_ffc_params_copy()
193 dst->seed = NULL; in ossl_ffc_params_copy()
195 dst->nid = src->nid; in ossl_ffc_params_copy()
196 dst->pcounter = src->pcounter; in ossl_ffc_params_copy()
197 dst->h = src->h; in ossl_ffc_params_copy()
198 dst->gindex = src->gindex; in ossl_ffc_params_copy()
[all …]
/openssl-master/providers/implementations/digests/
A Dblake2_impl.h58 static ossl_inline void store32(uint8_t *dst, uint32_t w) in store32() argument
63 memcpy(dst, &w, sizeof(w)); in store32()
65 uint8_t *p = (uint8_t *)dst; in store32()
73 static ossl_inline void store64(uint8_t *dst, uint64_t w) in store64() argument
78 memcpy(dst, &w, sizeof(w)); in store64()
80 uint8_t *p = (uint8_t *)dst; in store64()
99 static ossl_inline void store48(uint8_t *dst, uint64_t w) in store48() argument
101 uint8_t *p = (uint8_t *)dst; in store48()
/openssl-master/providers/implementations/macs/
A Dhmac_prov.c105 struct hmac_data_st *dst; in hmac_dup() local
110 dst = hmac_new(src->provctx); in hmac_dup()
111 if (dst == NULL) in hmac_dup()
114 ctx = dst->ctx; in hmac_dup()
115 *dst = *src; in hmac_dup()
116 dst->ctx = ctx; in hmac_dup()
117 dst->key = NULL; in hmac_dup()
121 hmac_free(dst); in hmac_dup()
127 if (dst->key == NULL) { in hmac_dup()
128 hmac_free(dst); in hmac_dup()
[all …]
A Dcmac_prov.c83 struct cmac_data_st *dst; in cmac_dup() local
88 dst = cmac_new(src->provctx); in cmac_dup()
89 if (dst == NULL) in cmac_dup()
91 if (!CMAC_CTX_copy(dst->ctx, src->ctx) in cmac_dup()
92 || !ossl_prov_cipher_copy(&dst->cipher, &src->cipher)) { in cmac_dup()
93 cmac_free(dst); in cmac_dup()
96 return dst; in cmac_dup()
A Dkmac_prov.c217 struct kmac_data_st *dst; in kmac_dup() local
222 dst = kmac_new(src->provctx); in kmac_dup()
223 if (dst == NULL) in kmac_dup()
226 if (!EVP_MD_CTX_copy(dst->ctx, src->ctx) in kmac_dup()
228 kmac_free(dst); in kmac_dup()
232 dst->out_len = src->out_len; in kmac_dup()
233 dst->key_len = src->key_len; in kmac_dup()
234 dst->custom_len = src->custom_len; in kmac_dup()
235 dst->xof_mode = src->xof_mode; in kmac_dup()
237 memcpy(dst->custom, src->custom, dst->custom_len); in kmac_dup()
[all …]
A Dgmac_prov.c78 struct gmac_data_st *dst; in gmac_dup() local
83 dst = gmac_new(src->provctx); in gmac_dup()
84 if (dst == NULL) in gmac_dup()
87 if (!EVP_CIPHER_CTX_copy(dst->ctx, src->ctx) in gmac_dup()
88 || !ossl_prov_cipher_copy(&dst->cipher, &src->cipher)) { in gmac_dup()
89 gmac_free(dst); in gmac_dup()
92 return dst; in gmac_dup()
A Dpoly1305_prov.c63 struct poly1305_data_st *dst; in poly1305_dup() local
67 dst = poly1305_new(src->provctx); in poly1305_dup()
68 if (dst == NULL) in poly1305_dup()
71 dst->poly1305 = src->poly1305; in poly1305_dup()
72 return dst; in poly1305_dup()
A Dblake2_mac_impl.c59 struct blake2_mac_data_st *dst; in blake2_mac_dup() local
65 dst = OPENSSL_zalloc(sizeof(*dst)); in blake2_mac_dup()
66 if (dst == NULL) in blake2_mac_dup()
69 *dst = *src; in blake2_mac_dup()
70 return dst; in blake2_mac_dup()
/openssl-master/crypto/rsa/
A Drsa_acvp_test_params.c16 int ossl_rsa_acvp_test_gen_params_new(OSSL_PARAM **dst, const OSSL_PARAM src[]) in ossl_rsa_acvp_test_gen_params_new() argument
59 if (*dst != NULL) in ossl_rsa_acvp_test_gen_params_new()
60 ossl_rsa_acvp_test_gen_params_free(*dst); in ossl_rsa_acvp_test_gen_params_new()
61 *dst = alloc; in ossl_rsa_acvp_test_gen_params_new()
65 void ossl_rsa_acvp_test_gen_params_free(OSSL_PARAM *dst) in ossl_rsa_acvp_test_gen_params_free() argument
69 if (dst == NULL) in ossl_rsa_acvp_test_gen_params_free()
72 for (p = dst; p->key != NULL; ++p) { in ossl_rsa_acvp_test_gen_params_free()
76 OPENSSL_free(dst); in ossl_rsa_acvp_test_gen_params_free()
/openssl-master/crypto/asn1/
A Dameth_lib.c258 int pkey_id = dst->pkey_id; in EVP_PKEY_asn1_copy()
259 int pkey_base_id = dst->pkey_base_id; in EVP_PKEY_asn1_copy()
260 unsigned long pkey_flags = dst->pkey_flags; in EVP_PKEY_asn1_copy()
261 char *pem_str = dst->pem_str; in EVP_PKEY_asn1_copy()
262 char *info = dst->info; in EVP_PKEY_asn1_copy()
264 *dst = *src; in EVP_PKEY_asn1_copy()
267 dst->pkey_id = pkey_id; in EVP_PKEY_asn1_copy()
268 dst->pkey_base_id = pkey_base_id; in EVP_PKEY_asn1_copy()
269 dst->pkey_flags = pkey_flags; in EVP_PKEY_asn1_copy()
270 dst->pem_str = pem_str; in EVP_PKEY_asn1_copy()
[all …]
/openssl-master/include/openssl/
A Dbuffer.h37 # define BUF_strlcpy(dst, src, size) OPENSSL_strlcpy(dst, src, size) argument
38 # define BUF_strlcat(dst, src, size) OPENSSL_strlcat(dst, src, size) argument
/openssl-master/crypto/bn/
A Dbn_const.c13 #define COPY_BN(dst, src) (dst != NULL) ? BN_copy(dst, &src) : BN_dup(&src) argument
/openssl-master/providers/common/
A Dprovider_util.c35 int ossl_prov_cipher_copy(PROV_CIPHER *dst, const PROV_CIPHER *src) in ossl_prov_cipher_copy() argument
45 dst->engine = src->engine; in ossl_prov_cipher_copy()
46 dst->cipher = src->cipher; in ossl_prov_cipher_copy()
47 dst->alloc_cipher = src->alloc_cipher; in ossl_prov_cipher_copy()
151 int ossl_prov_digest_copy(PROV_DIGEST *dst, const PROV_DIGEST *src) in ossl_prov_digest_copy() argument
161 dst->engine = src->engine; in ossl_prov_digest_copy()
162 dst->md = src->md; in ossl_prov_digest_copy()
163 dst->alloc_md = src->alloc_md; in ossl_prov_digest_copy()
/openssl-master/providers/implementations/ciphers/
A Dcipher_desx_hw.c40 static void cipher_hw_desx_copyctx(PROV_CIPHER_CTX *dst, in cipher_hw_desx_copyctx() argument
44 PROV_TDES_CTX *dctx = (PROV_TDES_CTX *)dst; in cipher_hw_desx_copyctx()
47 dst->ks = &dctx->tks.ks; in cipher_hw_desx_copyctx()
/openssl-master/ssl/statem/
A Dextensions_cust.c248 int custom_exts_copy_flags(custom_ext_methods *dst, in custom_exts_copy_flags() argument
255 custom_ext_method *methdst = custom_ext_find(dst, methsrc->role, in custom_exts_copy_flags()
268 int custom_exts_copy(custom_ext_methods *dst, const custom_ext_methods *src) in custom_exts_copy() argument
274 dst->meths = in custom_exts_copy()
277 if (dst->meths == NULL) in custom_exts_copy()
279 dst->meths_count = src->meths_count; in custom_exts_copy()
283 custom_ext_method *methdst = dst->meths + i; in custom_exts_copy()
310 custom_exts_free(dst); in custom_exts_copy()

Completed in 34 milliseconds

1234