Home
last modified time | relevance | path

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

12345

/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 …]
H A Dmd5-loongarch64.pl56 add.w $dst,$t7,$t1 /* dst += ... */
60 $code .= " rotri.w $dst,$dst,32-$s /* dst <<< s */\n";
67 $code .= " add.w $dst,$dst,$x /* dst += x */\n";
94 $code .= " rotri.w $dst,$dst,32-$s /* dst <<< s */\n";
101 $code .= " add.w $dst,$dst,$x /* dst += x */\n";
125 $code .= " rotri.w $dst,$dst,32-$s /* dst <<< s */\n";
131 $code .= " add.w $dst,$dst,$x /* dst += x */\n";
157 $code .= " rotri.w $dst,$dst,32-$s /* dst <<< s */\n";
159 $code .= " add.w $dst,$dst,$x /* dst += x */\n";
164 $code .= " rotri.w $dst,$dst,32-$s /* dst <<< s */\n";
[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.pl1190 my ($dst,$src,$rex)=@_;
1202 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1209 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1224 my $dst=$3;
1225 if ($dst =~ /%r([0-9]+)d/) { $dst = $1; }
1226 elsif ($dst =~ /%e/) { $dst = $regrm{$dst}; }
1242 my $dst=$3;
1297 my $dst=$1;
1298 if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; }
1310 my $dst=$1;
[all …]
/openssl/crypto/
H A Dparams_dup.c61 int has_dst = (dst != NULL); in ossl_param_dup()
68 *dst = *in; in ossl_param_dup()
87 dst++; in ossl_param_dup()
95 return dst; in ossl_param_dup()
102 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup() local
135 return dst; in OSSL_PARAM_dup()
152 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 …]
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 …]
/openssl/providers/implementations/kdfs/
H A Dhmacdrbg_kdf.c83 if (dst->ctx == NULL) in ossl_drbg_hmac_dup()
88 memcpy(dst->K, src->K, sizeof(dst->K)); in ossl_drbg_hmac_dup()
89 memcpy(dst->V, src->V, sizeof(dst->V)); in ossl_drbg_hmac_dup()
90 dst->blocklen = src->blocklen; in ossl_drbg_hmac_dup()
97 KDF_HMAC_DRBG *dst; in hmac_drbg_kdf_dup() local
100 if (dst != NULL) { in hmac_drbg_kdf_dup()
103 &dst->entropy , &dst->entropylen) in hmac_drbg_kdf_dup()
105 &dst->nonce, &dst->noncelen)) in hmac_drbg_kdf_dup()
107 dst->init = src->init; in hmac_drbg_kdf_dup()
109 return dst; in hmac_drbg_kdf_dup()
[all …]
/openssl/crypto/ffc/
H A Dffc_params.c176 BN_clear_free(*dst); in ffc_bn_cpy()
177 *dst = a; in ffc_bn_cpy()
189 dst->mdname = src->mdname; in ossl_ffc_params_copy()
190 dst->mdprops = src->mdprops; in ossl_ffc_params_copy()
191 OPENSSL_free(dst->seed); in ossl_ffc_params_copy()
195 if (dst->seed == NULL) in ossl_ffc_params_copy()
198 dst->seed = NULL; in ossl_ffc_params_copy()
200 dst->nid = src->nid; in ossl_ffc_params_copy()
202 dst->h = src->h; in ossl_ffc_params_copy()
203 dst->gindex = src->gindex; in ossl_ffc_params_copy()
[all …]
/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()
66 memcpy(dst, src, sizeof(*dst)); in EVP_KDF_CTX_dup()
67 if (!EVP_KDF_up_ref(dst->meth)) { in EVP_KDF_CTX_dup()
69 OPENSSL_free(dst); in EVP_KDF_CTX_dup()
73 dst->algctx = src->meth->dupctx(src->algctx); in EVP_KDF_CTX_dup()
74 if (dst->algctx == NULL) { in EVP_KDF_CTX_dup()
75 EVP_KDF_CTX_free(dst); in EVP_KDF_CTX_dup()
78 return dst; in EVP_KDF_CTX_dup()
H A Dmac_lib.c52 EVP_MAC_CTX *dst; in EVP_MAC_CTX_dup() local
57 dst = OPENSSL_malloc(sizeof(*dst)); in EVP_MAC_CTX_dup()
58 if (dst == NULL) in EVP_MAC_CTX_dup()
61 *dst = *src; in EVP_MAC_CTX_dup()
62 if (!EVP_MAC_up_ref(dst->meth)) { in EVP_MAC_CTX_dup()
64 OPENSSL_free(dst); in EVP_MAC_CTX_dup()
68 dst->algctx = src->meth->dupctx(src->algctx); in EVP_MAC_CTX_dup()
69 if (dst->algctx == NULL) { in EVP_MAC_CTX_dup()
70 EVP_MAC_CTX_free(dst); in EVP_MAC_CTX_dup()
74 return dst; in EVP_MAC_CTX_dup()
/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.c109 struct hmac_data_st *dst; in hmac_dup() local
115 if (dst == NULL) in hmac_dup()
118 ctx = dst->ctx; in hmac_dup()
119 *dst = *src; in hmac_dup()
120 dst->ctx = ctx; in hmac_dup()
121 dst->key = NULL; in hmac_dup()
122 memset(&dst->digest, 0, sizeof(dst->digest)); in hmac_dup()
126 hmac_free(dst); in hmac_dup()
132 if (dst->key == NULL) { in hmac_dup()
133 hmac_free(dst); in hmac_dup()
[all …]
H A Dkmac_prov.c234 struct kmac_data_st *dst; in kmac_dup() local
239 dst = kmac_new(src->provctx); in kmac_dup()
240 if (dst == NULL) in kmac_dup()
245 kmac_free(dst); in kmac_dup()
249 dst->internal = src->internal; in kmac_dup()
251 dst->out_len = src->out_len; in kmac_dup()
252 dst->key_len = src->key_len; in kmac_dup()
254 dst->xof_mode = src->xof_mode; in kmac_dup()
256 memcpy(dst->custom, src->custom, dst->custom_len); in kmac_dup()
257 OSSL_FIPS_IND_COPY(dst, src) in kmac_dup()
[all …]
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 Dcmac_prov.c89 struct cmac_data_st *dst; in cmac_dup() local
94 dst = cmac_new(src->provctx); in cmac_dup()
95 if (dst == NULL) in cmac_dup()
97 if (!CMAC_CTX_copy(dst->ctx, src->ctx) in cmac_dup()
98 || !ossl_prov_cipher_copy(&dst->cipher, &src->cipher)) { in cmac_dup()
99 cmac_free(dst); in cmac_dup()
102 OSSL_FIPS_IND_COPY(dst, src) in cmac_dup()
103 return dst; in cmac_dup()
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/test/
H A Dbio_addr_test.c134 BIO_ADDR *src = NULL, *dst = NULL; in test_bio_addr_copy_dup() local
145 dst = BIO_ADDR_new(); in test_bio_addr_copy_dup()
146 if (!TEST_ptr(dst)) in test_bio_addr_copy_dup()
149 if (!TEST_true(BIO_ADDR_copy(dst, src))) in test_bio_addr_copy_dup()
152 dst = BIO_ADDR_dup(src); in test_bio_addr_copy_dup()
153 if (!TEST_ptr(dst)) in test_bio_addr_copy_dup()
157 if (!TEST_true(bio_addr_is_eq(src, dst))) in test_bio_addr_copy_dup()
163 BIO_ADDR_free(dst); in test_bio_addr_copy_dup()
/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.c254 int pkey_id = dst->pkey_id; in EVP_PKEY_asn1_copy()
255 int pkey_base_id = dst->pkey_base_id; in EVP_PKEY_asn1_copy()
256 unsigned long pkey_flags = dst->pkey_flags; in EVP_PKEY_asn1_copy()
257 char *pem_str = dst->pem_str; in EVP_PKEY_asn1_copy()
258 char *info = dst->info; in EVP_PKEY_asn1_copy()
260 *dst = *src; in EVP_PKEY_asn1_copy()
263 dst->pkey_id = pkey_id; in EVP_PKEY_asn1_copy()
264 dst->pkey_base_id = pkey_base_id; in EVP_PKEY_asn1_copy()
265 dst->pkey_flags = pkey_flags; in EVP_PKEY_asn1_copy()
266 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()

Completed in 40 milliseconds

12345