Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 1548) sorted by relevance

12345678910>>...62

/openssl/test/
H A Dparams_api_test.c208 memcpy(&in, buf, sizeof(in)); in test_param_int()
218 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int()
248 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_long()
277 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint()
307 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_ulong()
337 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int32()
367 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint32()
397 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_int64()
427 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_uint64()
457 le_copy(cmp, sizeof(in), &in, sizeof(in)); in test_param_size_t()
[all …]
H A Dpunycode_test.c193 char in[530] = { 0 }; in test_a2ulabel() local
213 strcpy(in, "xn--"); in test_a2ulabel()
214 memset(in + 4, 'e', 513); in test_a2ulabel()
215 memcpy(in + 517, "-3ya", 4); in test_a2ulabel()
231 if (!TEST_false(ossl_punycode_decode(in, strlen(in), buf, &bsize))) { in test_puny_overrun()
244 BUF_MEM *in; in test_dotted_overflow() local
250 if (!TEST_ptr(in = BUF_MEM_new())) in test_dotted_overflow()
253 BUF_MEM_free(in); in test_dotted_overflow()
268 memset(out, 0x7f, in->length - 1); in test_dotted_overflow()
274 if (!TEST_int_gt(ossl_a2ulabel(in->data, out, in->length), 0) in test_dotted_overflow()
[all …]
/openssl/crypto/ec/
H A Decp_nistp521.c221 out[0] = in[0]; in felem_assign()
222 out[1] = in[1]; in felem_assign()
223 out[2] = in[2]; in felem_assign()
224 out[3] = in[3]; in felem_assign()
225 out[4] = in[4]; in felem_assign()
226 out[5] = in[5]; in felem_assign()
421 out[0] = ((uint128_t) in[0]) * in[0]; in felem_square_ref()
423 out[2] = ((uint128_t) in[0]) * inx2[2] + ((uint128_t) in[1]) * in[1]; in felem_square_ref()
426 ((uint128_t) in[1]) * inx2[3] + ((uint128_t) in[2]) * in[2]; in felem_square_ref()
431 ((uint128_t) in[2]) * inx2[4] + ((uint128_t) in[3]) * in[3]; in felem_square_ref()
[all …]
H A Decp_nistp384.c378 out[0] = ((uint128_t) in[0]) * in[0]; in felem_square_ref()
383 + ((uint128_t) in[1]) * in[1]; in felem_square_ref()
390 + ((uint128_t) in[2]) * in[2]; in felem_square_ref()
399 + ((uint128_t) in[3]) * in[3]; in felem_square_ref()
407 + ((uint128_t) in[4]) * in[4]; in felem_square_ref()
413 + ((uint128_t) in[5]) * in[5]; in felem_square_ref()
417 out[12] = ((uint128_t) in[6]) * in[6]; in felem_square_ref()
832 zero = in[0] | in[1] | in[2] | in[3] | in[4] | in[5] | in[6]; in felem_is_zero()
834 p384 = (in[0] ^ 0x000000ffffffff) | (in[1] ^ 0xffff0000000000) in felem_is_zero()
835 | (in[2] ^ 0xfffffffffeffff) | (in[3] ^ 0xffffffffffffff) in felem_is_zero()
[all …]
H A Decp_nistp224.c377 out[0] = in[0]; in felem_assign()
378 out[1] = in[1]; in felem_assign()
498 out[0] = ((widelimb) in[0]) * in[0]; in felem_square()
500 out[2] = ((widelimb) in[0]) * tmp2 + ((widelimb) in[1]) * in[1]; in felem_square()
501 out[3] = ((widelimb) in[3]) * tmp0 + ((widelimb) in[1]) * tmp2; in felem_square()
502 out[4] = ((widelimb) in[3]) * tmp1 + ((widelimb) in[2]) * in[2]; in felem_square()
504 out[6] = ((widelimb) in[3]) * in[3]; in felem_square()
627 a = ((in[3] & in[2] & (in[1] | 0x000000ffffffffff)) + 1) | in felem_contract()
683 zero = in[0] | in[1] | in[2] | in[3]; in felem_is_zero()
685 two224m96p1 = (in[0] ^ 1) | (in[1] ^ 0x00ffff0000000000) in felem_is_zero()
[all …]
/openssl/providers/implementations/ciphers/
H A Dciphercommon_hw.c38 (*dat->stream.ecb) (in, out, len, dat->ks, dat->enc); in ossl_cipher_hw_generic_ecb()
42 (*dat->block) (in + i, out + i, dat->ks); in ossl_cipher_hw_generic_ecb()
100 in += MAXBITCHUNK; in ossl_cipher_hw_generic_cfb1()
138 in += MAXCHUNK; in ossl_cipher_hw_chunked_cbc()
142 ossl_cipher_hw_generic_cbc(ctx, out, in, inl); in ossl_cipher_hw_chunked_cbc()
154 ossl_cipher_hw_generic_cfb8(ctx, out, in, inl); in ossl_cipher_hw_chunked_cfb8()
156 in += chunk; in ossl_cipher_hw_chunked_cfb8()
172 ossl_cipher_hw_generic_cfb128(ctx, out, in, inl); in ossl_cipher_hw_chunked_cfb128()
174 in += chunk; in ossl_cipher_hw_chunked_cfb128()
188 in += MAXCHUNK; in ossl_cipher_hw_chunked_ofb128()
[all …]
H A Dcipher_cts.c107 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_encrypt()
113 in += len; in cts128_cs1_encrypt()
117 memcpy(tmp_in.c, in, residue); in cts128_cs1_encrypt()
151 in += len; in cts128_cs1_decrypt()
157 memcpy(cn.c, in + residue, CTS_BLOCK_SIZE); in cts128_cs1_decrypt()
169 memcpy(ct_mid.c, in, residue); in cts128_cs1_decrypt()
213 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs3_encrypt()
216 in += len; in cts128_cs3_encrypt()
220 memcpy(tmp_in.c, in, residue); in cts128_cs3_encrypt()
257 in += len; in cts128_cs3_decrypt()
[all …]
H A Dcipher_des_hw.c52 const unsigned char *in, size_t len) in cipher_hw_des_ecb_cipher() argument
60 DES_ecb_encrypt((const_DES_cblock *)(in + i), in cipher_hw_des_ecb_cipher()
72 (*dctx->dstream.cbc) (in, out, len, key, ctx->iv); in cipher_hw_des_cbc_cipher()
80 in += MAXCHUNK; in cipher_hw_des_cbc_cipher()
98 in += MAXCHUNK; in cipher_hw_des_ofb64_cipher()
121 in += chunk; in cipher_hw_des_cfb64_cipher()
147 c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0; in cipher_hw_des_cfb1_cipher()
154 in += chunk; in cipher_hw_des_cfb1_cipher()
169 DES_cfb_encrypt(in, out, 8, (long)MAXCHUNK, key, in cipher_hw_des_cfb8_cipher()
172 in += MAXCHUNK; in cipher_hw_des_cfb8_cipher()
[all …]
/openssl/crypto/modes/
H A Dcts128.c44 in += len; in CRYPTO_cts128_encrypt_block()
48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block()
76 in += len; in CRYPTO_nistcts128_encrypt_block()
80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block()
107 in += len; in CRYPTO_cts128_encrypt()
116 memcpy(tmp.c, in, residue); in CRYPTO_cts128_encrypt()
145 in += len; in CRYPTO_nistcts128_encrypt()
179 in += len; in CRYPTO_cts128_decrypt_block()
226 in += len; in CRYPTO_nistcts128_decrypt_block()
268 in += len; in CRYPTO_cts128_decrypt()
[all …]
H A Dcbc128.c43 in += 16; in CRYPTO_cbc128_encrypt()
54 in += 16; in CRYPTO_cbc128_encrypt()
69 in += 16; in CRYPTO_cbc128_encrypt()
90 if (in != out) { in CRYPTO_cbc128_decrypt()
99 iv = in; in CRYPTO_cbc128_decrypt()
101 in += 16; in CRYPTO_cbc128_decrypt()
112 iv = in; in CRYPTO_cbc128_decrypt()
114 in += 16; in CRYPTO_cbc128_decrypt()
132 in += 16; in CRYPTO_cbc128_decrypt()
159 c = in[n]; in CRYPTO_cbc128_decrypt()
[all …]
H A Dcfb128.c45 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt()
59 ^= *(size_t_aX *)(in + n); in CRYPTO_cfb128_encrypt()
63 in += 16; in CRYPTO_cfb128_encrypt()
69 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
83 out[l] = ivec[n] ^= in[l]; in CRYPTO_cfb128_encrypt()
94 *(out++) = ivec[n] ^ (c = *(in++)); in CRYPTO_cfb128_encrypt()
114 in += 16; in CRYPTO_cfb128_encrypt()
121 out[n] = ivec[n] ^ (c = in[n]); in CRYPTO_cfb128_encrypt()
137 out[l] = ivec[n] ^ (c = in[l]); in CRYPTO_cfb128_encrypt()
169 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
[all …]
/openssl/include/crypto/
H A Dsm4_platform.h59 void HWSM4_encrypt(const unsigned char *in, unsigned char *out,
61 void HWSM4_decrypt(const unsigned char *in, unsigned char *out,
63 void HWSM4_cbc_encrypt(const unsigned char *in, unsigned char *out,
66 void HWSM4_ecb_encrypt(const unsigned char *in, unsigned char *out,
77 void vpsm4_encrypt(const unsigned char *in, unsigned char *out,
79 void vpsm4_decrypt(const unsigned char *in, unsigned char *out,
81 void vpsm4_cbc_encrypt(const unsigned char *in, unsigned char *out,
84 void vpsm4_ecb_encrypt(const unsigned char *in, unsigned char *out,
90 void vpsm4_xts_encrypt(const unsigned char *in, unsigned char *out,
101 void vpsm4_ex_encrypt(const unsigned char *in, unsigned char *out,
[all …]
H A Daes_platform.h21 void vpaes_encrypt(const unsigned char *in, unsigned char *out,
23 void vpaes_decrypt(const unsigned char *in, unsigned char *out,
25 void vpaes_cbc_encrypt(const unsigned char *in,
35 void ossl_bsaes_ctr32_encrypt_blocks(const unsigned char *in,
207 void aesni_ecb_encrypt(const unsigned char *in,
210 void aesni_cbc_encrypt(const unsigned char *in,
229 void aesni_ctr32_encrypt_blocks(const unsigned char *in,
234 void aesni_xts_encrypt(const unsigned char *in,
240 void aesni_xts_decrypt(const unsigned char *in,
246 void aesni_ccm64_encrypt_blocks(const unsigned char *in,
[all …]
/openssl/include/openssl/
H A Dmodes.h25 typedef void (*block128_f) (const unsigned char in[16],
28 typedef void (*cbc128_f) (const unsigned char *in, unsigned char *out,
32 typedef void (*ecb128_f) (const unsigned char *in, unsigned char *out,
36 typedef void (*ctr128_f) (const unsigned char *in, unsigned char *out,
40 typedef void (*ccm128_f) (const unsigned char *in, unsigned char *out,
82 size_t CRYPTO_cts128_encrypt_block(const unsigned char *in,
89 size_t CRYPTO_cts128_decrypt_block(const unsigned char *in,
97 size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in,
105 size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in,
169 const unsigned char *in, size_t inlen,
[all …]
/openssl/crypto/ec/asm/
H A Decp_nistp384-ppc64.pl244 vmsumudm $out,$in[0],$in[0],$vzero
251 vmsumudm $out,$in[1],$in[1],$out
254 xxpermdi $t1,$in[0],$in[1],0b00
261 vmsumudm $out,$in[2],$in[2],$out
272 vmsumudm $out,$in[3],$in[3],$out
275 xxpermdi $t3,$in[1],$in[2],0b00
280 xxpermdi $t1,$in[2],$in[3],0b00
282 vmsumudm $out,$in[4],$in[4],$out
285 xxpermdi $t1,$in[3],$in[4],0b00
290 vmsumudm $out,$in[5],$in[5],$out
[all …]
H A Decp_nistp521-ppc64.pl344 vmsumudm $out[0],$in[0],$in[0],$vzero
348 xxpermdi $t1,$in[0],$in[1],0b00
357 vmsumudm $out[4],$in[2],$in[2],$out[4]
365 xxpermdi $t3,$in[2],$in[3],0b00
378 vmsumudm $out[8],$in[4],$in[4],$out[8]
404 xxpermdi $t1,$in[5],$in[6],0b00
407 xxpermdi $t1,$in[4],$in[5],0b00
410 xxpermdi $t1,$in[3],$in[4],0b00
414 xxpermdi $t1,$in[2],$in[3],0b00
418 xxpermdi $t1,$in[1],$in[2],0b00
[all …]
/openssl/crypto/sha/
H A Dsha_riscv.c17 void sha256_block_data_order_zvkb_zvknha_or_zvknhb(void *ctx, const void *in,
19 void sha256_block_data_order_c(void *ctx, const void *in, size_t num);
20 void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num);
22 void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num) in sha256_block_data_order() argument
26 sha256_block_data_order_zvkb_zvknha_or_zvknhb(ctx, in, num); in sha256_block_data_order()
28 sha256_block_data_order_c(ctx, in, num); in sha256_block_data_order()
33 void sha512_block_data_order_c(void *ctx, const void *in, size_t num);
34 void sha512_block_data_order(SHA512_CTX *ctx, const void *in, size_t num);
36 void sha512_block_data_order(SHA512_CTX *ctx, const void *in, size_t num) in sha512_block_data_order() argument
39 sha512_block_data_order_zvkb_zvknhb(ctx, in, num); in sha512_block_data_order()
[all …]
/openssl/test/ssl-tests/
H A D14-curves.cnf1213 [38-curve-sect233k1-tls12-in-tls13]
1243 [39-curve-sect233r1-tls12-in-tls13]
1273 [40-curve-sect283k1-tls12-in-tls13]
1303 [41-curve-sect283r1-tls12-in-tls13]
1333 [42-curve-sect409k1-tls12-in-tls13]
1363 [43-curve-sect409r1-tls12-in-tls13]
1393 [44-curve-sect571k1-tls12-in-tls13]
1423 [45-curve-sect571r1-tls12-in-tls13]
1453 [46-curve-secp224r1-tls12-in-tls13]
1483 [47-curve-sect163k1-tls12-in-tls13]
[all …]
/openssl/crypto/perlasm/
H A Dcbc.pl47 $in="esi";
66 &mov($in, &DWP(0,"ebx","",0));# iv[0]
70 &push($in);
76 &mov($in, &wparam(0)); # in
145 &add($in, 8);
169 &movb(&HB("edx"), &BP(6,$in,"",0));
173 &movb(&HB("edx"), &BP(5,$in,"",0));
176 &movb(&LB("edx"), &BP(4,$in,"",0));
179 &mov("ecx", &DWP(0,$in,"",0));
183 &movb(&HB("ecx"), &BP(2,$in,"",0));
[all …]
/openssl/ssl/
H A Dssl_asn1.c136 if ((in == NULL) || ((in->cipher == NULL) && (in->cipher_id == 0))) in i2d_SSL_SESSION()
147 l = in->cipher_id; in i2d_SSL_SESSION()
163 in->master_key, in->master_key_length); in i2d_SSL_SESSION()
166 in->session_id, in->session_id_length); in i2d_SSL_SESSION()
169 in->sid_ctx, in->sid_ctx_length); in i2d_SSL_SESSION()
175 as.peer = in->peer; in i2d_SSL_SESSION()
187 if (in->ext.tick) { in i2d_SSL_SESSION()
189 in->ext.tick, in->ext.ticklen); in i2d_SSL_SESSION()
203 as.flags = in->flags; in i2d_SSL_SESSION()
210 in->ext.alpn_selected, in->ext.alpn_selected_len); in i2d_SSL_SESSION()
[all …]
/openssl/
H A Dbuild.info55 GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
56 GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in
57 GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
66 GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
67 GENERATE[include/openssl/err.h]=include/openssl/err.h.in
68 GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in
76 GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in
77 GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in
78 GENERATE[include/openssl/ui.h]=include/openssl/ui.h.in
89 GENERATE[crypto/params_idx.c]=crypto/params_idx.c.in
[all …]
/openssl/crypto/evp/
H A De_des.c75 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, in des_ofb_cipher()
80 in += EVP_MAXCHUNK; in des_ofb_cipher()
85 DES_ofb64_encrypt(in, out, (long)inl, in des_ofb_cipher()
103 DES_ncbc_encrypt(in, out, (long)EVP_MAXCHUNK, in des_cbc_cipher()
108 in += EVP_MAXCHUNK; in des_cbc_cipher()
112 DES_ncbc_encrypt(in, out, (long)inl, in des_cbc_cipher()
130 in += EVP_MAXCHUNK; in des_cfb64_cipher()
135 DES_cfb64_encrypt(in, out, (long)inl, in des_cfb64_cipher()
169 in += chunk; in des_cfb1_cipher()
187 in += EVP_MAXCHUNK; in des_cfb8_cipher()
[all …]
H A De_des3.c92 in += EVP_MAXCHUNK; in des_ede_ofb_cipher()
97 DES_ede3_ofb64_encrypt(in, out, (long)inl, in des_ede_ofb_cipher()
124 in += EVP_MAXCHUNK; in des_ede_cbc_cipher()
128 DES_ede3_cbc_encrypt(in, out, (long)inl, in des_ede_cbc_cipher()
146 in += EVP_MAXCHUNK; in des_ede_cfb64_cipher()
195 in += EVP_MAXCHUNK; in des_ede3_cfb8_cipher()
330 des_ede_cbc_cipher(ctx, icv, in, 8); in des_ede3_unwrap()
336 if (out == in) { in des_ede3_unwrap()
338 in -= 8; in des_ede3_unwrap()
370 memmove(out + 8, in, inl); in des_ede3_wrap()
[all …]
/openssl/test/recipes/
H A D15-test_ec.t34 -in => srctop_file("test","testec-p256.pem") );
38 -in => srctop_file("test","testec-p256.pem"),
43 -in => srctop_file("test","testecpub-p256.pem"),
49 -in => srctop_file("test","testec-p256.pem") );
53 -in => srctop_file("test","testec-p256.pem"),
58 -in => srctop_file("test","testecpub-p256.pem"),
67 -in => srctop_file("test", "tested25519.pem") );
71 -in => srctop_file("test", "tested25519.pem"),
81 -in => srctop_file("test", "tested448.pem") );
85 -in => srctop_file("test", "tested448.pem"),
[all …]
/openssl/crypto/sm4/asm/
H A Dsm4-armv8.pl339 my @in=map("v$_",(24..31));
404 ld1 {@in[0].4s,@in[1].4s,@in[2].4s,@in[3].4s},[$inp],#64
409 ld1 {@in[4].4s,@in[5].4s,@in[6].4s,@in[7].4s},[$inp],#64
433 mov $ivec.16b,@in[7].16b
459 mov $ivec.16b,@in[3].16b
469 mov @in[0].16b,@dat[0].16b
476 mov $ivec.16b,@in[0].16b
492 my @in=map("v$_",(24..31));
512 ld1 {@in[0].4s,@in[1].4s,@in[2].4s,@in[3].4s},[$inp],#64
525 ld1 {@in[4].4s,@in[5].4s,@in[6].4s,@in[7].4s},[$inp],#64
[all …]

Completed in 73 milliseconds

12345678910>>...62