Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/openssl/crypto/modes/
H A Dcfb128.c69 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
85 n = (n + 1) % 16; in CRYPTO_cfb128_encrypt()
121 out[n] = ivec[n] ^ (c = in[n]); in CRYPTO_cfb128_encrypt()
140 n = (n + 1) % 16; in CRYPTO_cfb128_encrypt()
168 for (n = 0; n < num; ++n) in cfbr_encrypt_block()
169 out[n] = (ovec[16 + n] = in[n] ^ ivec[n]); in cfbr_encrypt_block()
171 for (n = 0; n < num; ++n) in cfbr_encrypt_block()
172 out[n] = (ovec[16 + n] = in[n]) ^ ivec[n]; in cfbr_encrypt_block()
179 for (n = 0; n < 16; ++n) in cfbr_encrypt_block()
194 for (n = 0; n < bits; ++n) { in CRYPTO_cfb128_1_encrypt()
[all …]
H A Dcbc128.c38 for (n = 0; n < 16; ++n) in CRYPTO_cbc128_encrypt()
39 out[n] = in[n] ^ iv[n]; in CRYPTO_cbc128_encrypt()
48 for (n = 0; n < 16; n += sizeof(size_t)) in CRYPTO_cbc128_encrypt()
60 for (n = 0; n < 16 && n < len; ++n) in CRYPTO_cbc128_encrypt()
61 out[n] = in[n] ^ iv[n]; in CRYPTO_cbc128_encrypt()
62 for (; n < 16; ++n) in CRYPTO_cbc128_encrypt()
97 for (n = 0; n < 16; ++n) in CRYPTO_cbc128_decrypt()
126 for (n = 0; n < 16; ++n) { in CRYPTO_cbc128_decrypt()
128 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt()
158 for (n = 0; n < 16 && n < len; ++n) { in CRYPTO_cbc128_decrypt()
[all …]
H A Dctr128.c32 --n; in ctr128_inc()
54 --n; in ctr128_inc_aligned()
82 n = *num; in CRYPTO_ctr128_encrypt()
90 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt()
101 for (n = 0; n < 16; n += sizeof(size_t)) in CRYPTO_ctr128_encrypt()
114 out[n] = in[n] ^ ecount_buf[n]; in CRYPTO_ctr128_encrypt()
131 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt()
143 --n; in ctr96_inc()
158 n = *num; in CRYPTO_ctr128_encrypt_ctr32()
163 n = (n + 1) % 16; in CRYPTO_ctr128_encrypt_ctr32()
[all …]
H A Dofb128.c29 unsigned int n; in CRYPTO_ofb128_encrypt() local
37 n = *num; in CRYPTO_ofb128_encrypt()
45 n = (n + 1) % 16; in CRYPTO_ofb128_encrypt()
54 for (; n < 16; n += sizeof(size_t)) in CRYPTO_ofb128_encrypt()
61 n = 0; in CRYPTO_ofb128_encrypt()
66 out[n] = in[n] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
67 ++n; in CRYPTO_ofb128_encrypt()
70 *num = n; in CRYPTO_ofb128_encrypt()
77 if (n == 0) { in CRYPTO_ofb128_encrypt()
82 n = (n + 1) % 16; in CRYPTO_ofb128_encrypt()
[all …]
H A Dcts128.c47 for (n = 0; n < residue; ++n) in CRYPTO_cts128_encrypt_block()
48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block()
79 for (n = 0; n < residue; ++n) in CRYPTO_nistcts128_encrypt_block()
80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block()
189 for (n = 0; n < 16; ++n) { in CRYPTO_cts128_decrypt_block()
191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block()
195 out[n] = tmp.c[n] ^ in[n]; in CRYPTO_cts128_decrypt_block()
236 for (n = 0; n < 16; ++n) { in CRYPTO_nistcts128_decrypt_block()
238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block()
239 ivec[n] = in[n + residue]; in CRYPTO_nistcts128_decrypt_block()
[all …]
/openssl/test/
H A Dctype_internal_test.c36 return TEST_int_eq(isalpha(n) != 0, ossl_isalpha(n) != 0) in test_ctype_chars()
37 && TEST_int_eq(isalnum(n) != 0, ossl_isalnum(n) != 0) in test_ctype_chars()
39 && TEST_int_eq(isblank(n) != 0, ossl_isblank(n) != 0) in test_ctype_chars()
41 && TEST_int_eq(iscntrl(n) != 0, ossl_iscntrl(n) != 0) in test_ctype_chars()
42 && TEST_int_eq(isdigit(n) != 0, ossl_isdigit(n) != 0) in test_ctype_chars()
43 && TEST_int_eq(isgraph(n) != 0, ossl_isgraph(n) != 0) in test_ctype_chars()
44 && TEST_int_eq(islower(n) != 0, ossl_islower(n) != 0) in test_ctype_chars()
45 && TEST_int_eq(isprint(n) != 0, ossl_isprint(n) != 0) in test_ctype_chars()
46 && TEST_int_eq(ispunct(n) != 0, ossl_ispunct(n) != 0) in test_ctype_chars()
47 && TEST_int_eq(isspace(n) != 0, ossl_isspace(n) != 0) in test_ctype_chars()
[all …]
H A Dssl_test.tmpl34 $OUT .= "\n[$testname-server2]\n";
41 $OUT .= "\n[$testname-resume-server]\n";
55 $OUT .= "\n[$testname-resume-client]\n";
70 $OUT .= "server = $testname-server-extra\n";
75 $OUT .= "server2 = $testname-server-extra\n";
83 $OUT .= "client = $testname-client-extra\n";
92 $OUT .= "\n[$testname-server-extra]\n";
99 $OUT .= "\n[$testname-server2-extra]\n";
106 $OUT .= "\n[$testname-resume-server-extra]\n";
113 $OUT .= "\n[$testname-client-extra]\n";
[all …]
H A Dlist_test.c23 int n; member
48 elem[i].n = i; in test_fizzbuzz()
66 || !TEST_int_eq(ossl_list_fizz_head(&a)->n, 3) in test_fizzbuzz()
89 int n; member
101 int n = 1; in test_insert() local
106 elem[i].n = i; in test_insert()
122 if (!TEST_int_eq(c->n, n) || !TEST_int_eq(d->n, 8 - n)) in test_insert()
126 n++; in test_insert()
135 n = 2; in test_insert()
139 if (!TEST_int_eq(c->n, n) || !TEST_int_eq(d->n, 7 - n)) in test_insert()
[all …]
H A Dbftest.c301 BF_set_key(&key, strlen(bf_key[n]), (unsigned char *)bf_key[n]); in test_bf_ecb_raw()
379 int n, ret = 1; in test_bf_cfb64() local
389 n = 0; in test_bf_cfb64()
397 n = 0; in test_bf_cfb64()
411 int n, ret = 1; in test_bf_ofb64() local
421 n = 0; in test_bf_ofb64()
423 &n); in test_bf_ofb64()
429 n = 0; in test_bf_ofb64()
462 int n; in setup_tests() local
464 for (n = 0; n < 2; n++) { in setup_tests()
[all …]
H A Dparams_api_test.c195 static int test_param_int(int n) in test_param_int() argument
225 static int test_param_long(int n) in test_param_long() argument
255 static int test_param_uint(int n) in test_param_uint() argument
284 static int test_param_ulong(int n) in test_param_ulong() argument
314 static int test_param_int32(int n) in test_param_int32() argument
344 static int test_param_uint32(int n) in test_param_uint32() argument
374 static int test_param_int64(int n) in test_param_int64() argument
404 static int test_param_uint64(int n) in test_param_uint64() argument
434 static int test_param_size_t(int n) in test_param_size_t() argument
464 static int test_param_time_t(int n) in test_param_time_t() argument
[all …]
H A Drc5test.c184 static int test_rc5_ecb(int n) in test_rc5_ecb() argument
190 if (!TEST_true(RC5_32_set_key(&key, 16, &RC5key[n][0], 12))) in test_rc5_ecb()
193 RC5_32_ecb_encrypt(&RC5plain[n][0], buf, &key, RC5_ENCRYPT); in test_rc5_ecb()
204 static int test_rc5_cbc(int n) in test_rc5_cbc() argument
211 i = rc5_cbc_rounds[n]; in test_rc5_cbc()
213 if (!TEST_true(RC5_32_set_key(&key, rc5_cbc_key[n][0], in test_rc5_cbc()
214 &rc5_cbc_key[n][1], i))) in test_rc5_cbc()
217 memcpy(ivb, &rc5_cbc_iv[n][0], 8); in test_rc5_cbc()
218 RC5_32_cbc_encrypt(&rc5_cbc_plain[n][0], buf, 8, in test_rc5_cbc()
225 memcpy(ivb, &rc5_cbc_iv[n][0], 8); in test_rc5_cbc()
[all …]
H A Dsafe_math_test.c55 static int test_int_ops(int n) in test_int_ops() argument
58 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops()
143 static int test_uint_ops(int n) in test_uint_ops() argument
147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops()
226 static int test_size_t_ops(int n) in test_size_t_ops() argument
230 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops()
313 static int test_int_muldiv(int n) in test_int_muldiv() argument
317 const int a = test_muldiv_ints[n].a; in test_int_muldiv()
318 const int b = test_muldiv_ints[n].b; in test_int_muldiv()
319 const int c = test_muldiv_ints[n].c; in test_int_muldiv()
[all …]
/openssl/crypto/aes/
H A Daes_ige.c74 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
78 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
98 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
102 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
127 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
131 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
152 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
156 for (n = 0; n < N_WORDS; ++n) in AES_ige_encrypt()
214 for (n = 0; n < AES_BLOCK_SIZE; ++n) in AES_bi_ige_encrypt()
215 out[n] = in[n] ^ iv[n]; in AES_bi_ige_encrypt()
[all …]
/openssl/crypto/bn/
H A Dbn_mul.c179 int tna = n + dna, tnb = n + dnb; in bn_mul_recursive()
214 bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */ in bn_mul_recursive()
221 bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */ in bn_mul_recursive()
231 bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */ in bn_mul_recursive()
239 bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); in bn_mul_recursive()
360 bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); in bn_mul_part_recursive()
485 bn_add_words(&(r[n]), &(r[n]), &(t[0]), n); in bn_mul_low_recursive()
487 bn_add_words(&(r[n]), &(r[n]), &(t[0]), n); in bn_mul_low_recursive()
490 bn_mul_low_normal(&(t[n]), &(a[n]), &(b[0]), n); in bn_mul_low_recursive()
491 bn_add_words(&(r[n]), &(r[n]), &(t[0]), n); in bn_mul_low_recursive()
[all …]
/openssl/crypto/rc5/
H A Drc5_local.h20 #define c2ln(c,l1,l2,n) { \ argument
72 # define ROTATE_l32(a,n) _lrotl(a,n) argument
73 # define ROTATE_r32(a,n) _lrotr(a,n) argument
75 # define ROTATE_l32(a,n) _rotl(a,n) argument
76 # define ROTATE_r32(a,n) _rotr(a,n) argument
96 # define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>((32-n)&0x1f))) argument
99 # define ROTATE_r32(a,n) (((a)<<((32-n)&0x1f))|(((a)&0xffffffff)>>(n&0x1f))) argument
110 a+=s[n]; \
114 b+=s[n+1]; \
118 b-=s[n+1]; \
[all …]
/openssl/include/crypto/
H A Dmd32_common.h100 # define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) argument
159 size_t n; in HASH_UPDATE() local
171 n = c->num; in HASH_UPDATE()
172 if (n != 0) { in HASH_UPDATE()
176 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
178 n = HASH_CBLOCK - n; in HASH_UPDATE()
197 if (n > 0) { in HASH_UPDATE()
223 n++; in HASH_FINAL()
226 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
227 n = 0; in HASH_FINAL()
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devpencod.txt22 Output = "aA==\n"
26 Output = "aGVsbG8=\n"
41 Output = "aGVsbG8\n"
51 Output = "aGVsbG8==\n"
54 Output = "aGVsbG8===\n"
58 Output = "aGV=sbG8=\n"
116 Output = "A\n"
122 Output = "A==\n"
125 Output = "A===\n"
128 Output = "A====\n"
[all …]
/openssl/crypto/bn/asm/
H A Dppc64-mont-fixed.pl108 n => $n,
167 my ($n) = $self->{n};
181 my ($n) = $self->{n};
217 $self->mul_last($tp[$n-1], $tp[$n], $apj, $bp0, $c0);
246 addc $tp[$n],$tp[$n],$c0
268 addc $tp[$n-1],$tp[$n],$c0
269 addze $tp[$n],$tp[$n+1]
274 and. $tp[$n],$tp[$n],$tp[$n]
309 addme. $tp[$n],$tp[$n]
347 my $n = $self->{n};
[all …]
/openssl/ssl/quic/
H A Dquic_cfq.c106 n->prev->next = n->next; in list_remove()
108 n->next->prev = n->prev; in list_remove()
109 n->prev = n->next = NULL; in list_remove()
115 n->prev = NULL; in list_insert_head()
116 l->head = n; in list_insert_head()
118 n->next->prev = n; in list_insert_head()
127 l->tail = n; in list_insert_tail()
129 n->prev->next = n; in list_insert_tail()
138 n->prev = ref; in list_insert_after()
142 ref->next = n; in list_insert_after()
[all …]
H A Dquic_txpim.c48 for (n = l->head; n != NULL; n = nnext) { in free_list()
70 if (l->head == n) in list_remove()
72 if (l->tail == n) in list_remove()
75 n->prev->next = n->next; in list_remove()
77 n->next->prev = n->prev; in list_remove()
78 n->prev = n->next = NULL; in list_remove()
83 n->prev = l->tail; in list_insert_tail()
84 n->next = NULL; in list_insert_tail()
85 l->tail = n; in list_insert_tail()
87 n->prev->next = n; in list_insert_tail()
[all …]
/openssl/include/internal/
H A Dsockets.h177 # define readsocket(s,b,n) recv((s),(b),(n),0) argument
178 # define writesocket(s,b,n) send((s),(b),(n),0) argument
181 # define readsocket(s,b,n) read_s(s,b,n) argument
182 # define writesocket(s,b,n) send(s,b,n,0) argument
186 # define readsocket(s,b,n) recv((s),(b),(n),0) argument
187 # define writesocket(s,b,n) send((s),(b),(n),0) argument
191 # define readsocket(s,b,n) read((s),(b),(n)) argument
194 # define readsocket(s,b,n) read((s),(b),(n)) argument
195 # define writesocket(s,b,n) write((s),(b),(n)) argument
201 # define readsocket(s,b,n) read((s),(b),(n)) argument
[all …]
/openssl/crypto/des/
H A Dcfb64ede.c55 iv[n] = c; in DES_ede3_cfb64_encrypt()
56 n = (n + 1) & 0x07; in DES_ede3_cfb64_encrypt()
76 c = iv[n]; in DES_ede3_cfb64_encrypt()
79 n = (n + 1) & 0x07; in DES_ede3_cfb64_encrypt()
83 *num = n; in DES_ede3_cfb64_encrypt()
110 l -= n; in DES_ede3_cfb_encrypt()
115 in += n; in DES_ede3_cfb_encrypt()
119 out += n; in DES_ede3_cfb_encrypt()
151 l -= n; in DES_ede3_cfb_encrypt()
156 in += n; in DES_ede3_cfb_encrypt()
[all …]
/openssl/ssl/
H A Dpriority_queue.c138 ASSERT_USED(pq, n); in pqueue_force_bottom()
139 while (n > 0) { in pqueue_force_bottom()
144 n = p; in pqueue_force_bottom()
157 while (n > 0) { in pqueue_move_down()
164 n = p; in pqueue_move_down()
187 n = p; in pqueue_move_up()
188 p = n * 2 + 1; in pqueue_move_up()
199 size_t n, m; in ossl_pqueue_push() local
204 n = pq->htop++; in ossl_pqueue_push()
257 size_t n; in ossl_pqueue_remove() local
[all …]
/openssl/crypto/cast/
H A Dcast_local.h15 #define n2ln(c,l1,l2,n) { \ argument
16 c+=n; \
18 switch (n) { \
38 #define l2nn(l1,l2,c,n) { \ argument
39 c+=n; \
40 switch (n) { \
72 # define ROTL(a,n) (_lrotl(a,n)) argument
74 # define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>((32-(n))&31))) argument
89 i=key[n*2+1]; \
106 i=key[n*2+1]; \
[all …]
/openssl/crypto/bio/
H A Dbio_dump.c20 #define SPACE(buf, pos, n) (sizeof(buf) - (pos) > (n)) argument
34 int i, j, rows, n; in BIO_dump_indent_cb() local
51 if (SPACE(buf, n, 3)) { in BIO_dump_indent_cb()
59 n += 3; in BIO_dump_indent_cb()
62 if (SPACE(buf, n, 2)) { in BIO_dump_indent_cb()
63 strcpy(buf + n, " "); in BIO_dump_indent_cb()
64 n += 2; in BIO_dump_indent_cb()
78 buf[n] = '\0'; in BIO_dump_indent_cb()
81 if (SPACE(buf, n, 1)) { in BIO_dump_indent_cb()
82 buf[n++] = '\n'; in BIO_dump_indent_cb()
[all …]

Completed in 45 milliseconds

12345678910>>...24