Home
last modified time | relevance | path

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

1234

/openssl/crypto/md5/asm/
H 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/crypto/perlasm/
H 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 …]
H 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 …]
H 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/crypto/
H A Dparams_dup.c64 int has_dst = (dst != NULL); in ossl_param_dup()
71 *dst = *in; in ossl_param_dup()
90 dst++; in ossl_param_dup()
98 return dst; in ossl_param_dup()
105 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup() local
138 return dst; in OSSL_PARAM_dup()
155 OSSL_PARAM *params, *dst; in OSSL_PARAM_merge() local
192 dst = params; in OSSL_PARAM_merge()
216 *dst++ = **p2cur; in OSSL_PARAM_merge()
220 *dst++ = **p2cur; in OSSL_PARAM_merge()
[all …]
H 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 …]
H A Do_str.c75 size_t OPENSSL_strlcpy(char *dst, const char *src, size_t size) in OPENSSL_strlcpy() argument
79 *dst++ = *src++; in OPENSSL_strlcpy()
83 *dst = CH_ZERO; in OPENSSL_strlcpy()
87 size_t OPENSSL_strlcat(char *dst, const char *src, size_t size) in OPENSSL_strlcat() argument
90 for (; size > 0 && *dst; size--, dst++) in OPENSSL_strlcat()
92 return l + OPENSSL_strlcpy(dst, src, size); in OPENSSL_strlcat()
/openssl/crypto/evp/
H 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()
H 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/crypto/ffc/
H A Dffc_params.c172 BN_clear_free(*dst); in ffc_bn_cpy()
173 *dst = a; in ffc_bn_cpy()
185 OPENSSL_free(dst->seed); in ossl_ffc_params_copy()
186 dst->seedlen = src->seedlen; in ossl_ffc_params_copy()
189 if (dst->seed == NULL) in ossl_ffc_params_copy()
192 dst->seed = NULL; in ossl_ffc_params_copy()
194 dst->nid = src->nid; in ossl_ffc_params_copy()
195 dst->pcounter = src->pcounter; in ossl_ffc_params_copy()
196 dst->h = src->h; in ossl_ffc_params_copy()
197 dst->gindex = src->gindex; in ossl_ffc_params_copy()
[all …]
/openssl/crypto/sha/asm/
H 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/providers/implementations/macs/
H A Dhmac_prov.c105 struct hmac_data_st *dst; in hmac_dup() local
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()
118 memset(&dst->digest, 0, sizeof(dst->digest)); in hmac_dup()
122 hmac_free(dst); in hmac_dup()
128 if (dst->key == NULL) { in hmac_dup()
129 hmac_free(dst); in hmac_dup()
[all …]
H 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()
H A Dpoly1305_prov.c64 struct poly1305_data_st *dst; in poly1305_dup() local
68 dst = OPENSSL_malloc(sizeof(*dst)); in poly1305_dup()
69 if (dst == NULL) in poly1305_dup()
72 *dst = *src; in poly1305_dup()
73 return dst; in poly1305_dup()
H 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 …]
H 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()
H 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/providers/implementations/digests/
H 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/crypto/rsa/
H 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/crypto/asn1/
H A Dameth_lib.c257 int pkey_id = dst->pkey_id; in EVP_PKEY_asn1_copy()
258 int pkey_base_id = dst->pkey_base_id; in EVP_PKEY_asn1_copy()
259 unsigned long pkey_flags = dst->pkey_flags; in EVP_PKEY_asn1_copy()
260 char *pem_str = dst->pem_str; in EVP_PKEY_asn1_copy()
261 char *info = dst->info; in EVP_PKEY_asn1_copy()
263 *dst = *src; in EVP_PKEY_asn1_copy()
266 dst->pkey_id = pkey_id; in EVP_PKEY_asn1_copy()
267 dst->pkey_base_id = pkey_base_id; in EVP_PKEY_asn1_copy()
268 dst->pkey_flags = pkey_flags; in EVP_PKEY_asn1_copy()
269 dst->pem_str = pem_str; in EVP_PKEY_asn1_copy()
[all …]
/openssl/include/openssl/
H 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/crypto/bn/
H A Dbn_const.c13 #define COPY_BN(dst, src) (dst != NULL) ? BN_copy(dst, &src) : BN_dup(&src) argument
/openssl/providers/common/
H 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/providers/implementations/ciphers/
H 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/ssl/statem/
H A Dextensions_cust.c251 int custom_exts_copy_flags(custom_ext_methods *dst, in custom_exts_copy_flags() argument
258 custom_ext_method *methdst = custom_ext_find(dst, methsrc->role, in custom_exts_copy_flags()
271 int custom_exts_copy(custom_ext_methods *dst, const custom_ext_methods *src) in custom_exts_copy() argument
277 dst->meths = in custom_exts_copy()
280 if (dst->meths == NULL) in custom_exts_copy()
282 dst->meths_count = src->meths_count; in custom_exts_copy()
286 custom_ext_method *methdst = dst->meths + i; in custom_exts_copy()
313 custom_exts_free(dst); in custom_exts_copy()

Completed in 79 milliseconds

1234