Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 77) sorted by relevance

1234

/openssl/test/
H A Dgmdifftest.c22 static int check_time(long offset) in check_time() argument
31 t2 = t1 + offset; in check_time()
35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time()
45 if (!TEST_long_eq(offset, toffset)) in check_time()
50 static int test_gmtime(int offset) in test_gmtime() argument
52 return check_time(offset) in test_gmtime()
53 && check_time(-offset) in test_gmtime()
54 && check_time(offset * 1000L) in test_gmtime()
55 && check_time(-offset * 1000L) in test_gmtime()
56 && check_time(offset * 1000000L) in test_gmtime()
[all …]
H A Dquic_fifd_test.c144 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic()
148 hdr.offset, in test_generic()
149 hdr.offset + hdr.len - 1))) in test_generic()
153 hdr.offset + hdr.len))) in test_generic()
258 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic()
/openssl/crypto/aes/asm/
H A Daesni-mb-x86_64.pl216 xor $offset,$offset
221 add \$16,$offset
224 sub $offset,$sink
494 xor $offset,$offset
499 add \$16,$offset
502 sub $offset,$sink
795 mov 64+8*$i(%rsp),$offset
807 lea (@ptr[$i],$offset),$offset
812 sub @ptr[$i],$offset
1116 lea (@ptr[$i],$offset),$offset
[all …]
H A Daesni-x86_64.pl2923 movdqa @offset[4],@offset[5]
2949 movdqa @offset[1],@offset[5]
2961 movdqa @offset[2],@offset[5]
2972 movdqa @offset[3],@offset[5]
3055 pxor @offset[5],@offset[0]
3057 pxor @offset[0],@offset[1]
3060 pxor @offset[1],@offset[2]
3063 pxor @offset[2],@offset[3]
3066 pxor @offset[3],@offset[4]
3069 pxor @offset[4],@offset[5]
[all …]
/openssl/ssl/quic/
H A Dquic_rstream.c58 uint64_t offset, in ossl_quic_rstream_queue_data() argument
70 range.start = offset; in ossl_quic_rstream_queue_data()
71 range.end = offset + data_len; in ossl_quic_rstream_queue_data()
82 uint64_t offset = 0; in read_internal() local
93 offset = range.start + l; in read_internal()
124 if (drop && offset != 0) { in read_internal()
234 uint64_t offset; in ossl_quic_rstream_release_record() local
242 offset = qrs->head_range.end; in ossl_quic_rstream_release_record()
244 offset = qrs->head_range.start + read_len; in ossl_quic_rstream_release_record()
247 if (!ossl_sframe_list_drop_frames(&qrs->fl, offset)) in ossl_quic_rstream_release_record()
[all …]
H A Dquic_sf_list.c86 : fl->offset; in ossl_sframe_list_insert()
93 if (fl->offset >= range->end) in ossl_sframe_list_insert()
189 start = fl->offset; in ossl_sframe_list_peek()
223 if (!ossl_assert(limit >= fl->offset) in ossl_sframe_list_drop_frames()
227 || limit == fl->offset)) in ossl_sframe_list_drop_frames()
230 fl->offset = limit; in ossl_sframe_list_drop_frames()
277 uint64_t limit = fl->offset; in ossl_sframe_list_move_data()
H A Dquic_wire.c130 || !WPACKET_quic_write_vlint(pkt, f->offset) in ossl_quic_wire_encode_frame_crypto_hdr()
142 b = ossl_quic_vlint_encode_len(f->offset); in ossl_quic_wire_get_encoded_frame_len_crypto_hdr()
183 if (f->offset != 0) in ossl_quic_wire_encode_frame_stream_hdr()
194 if (f->offset != 0 && !WPACKET_quic_write_vlint(pkt, f->offset)) in ossl_quic_wire_encode_frame_stream_hdr()
212 if (f->offset > 0) { in ossl_quic_wire_get_encoded_frame_len_stream_hdr()
213 c = ossl_quic_vlint_encode_len(f->offset); in ossl_quic_wire_get_encoded_frame_len_stream_hdr()
629 || !PACKET_get_quic_vlint(pkt, &f->offset) in ossl_quic_wire_decode_frame_crypto()
634 if (f->offset + f->len > (((uint64_t)1) << 62) - 1) in ossl_quic_wire_decode_frame_crypto()
689 if (!PACKET_get_quic_vlint(pkt, &f->offset)) in ossl_quic_wire_decode_frame_stream()
692 f->offset = 0; in ossl_quic_wire_decode_frame_stream()
[all …]
/openssl/crypto/bio/
H A Dbss_bio.c172 peer_b->offset += chunk; in bio_read()
175 peer_b->offset = 0; in bio_read()
180 peer_b->offset = 0; in bio_read()
258 peer_b->offset += num; in bio_nread()
261 peer_b->offset = 0; in bio_nread()
263 peer_b->offset = 0; in bio_nread()
530 b->offset = 0; in bio_ctrl()
626 b1->offset = 0; in bio_make_pair()
634 b2->offset = 0; in bio_make_pair()
667 peer_b->offset = 0; in bio_destroy_pair()
[all …]
/openssl/crypto/txt_db/
H A Dtxt_db.c26 int offset = 0; in TXT_DB_read() local
54 offset = 0; in TXT_DB_read()
56 if (offset != 0) { in TXT_DB_read()
61 buf->data[offset] = '\0'; in TXT_DB_read()
62 BIO_gets(in, &(buf->data[offset]), size - offset); in TXT_DB_read()
63 if (buf->data[offset] == '\0') in TXT_DB_read()
65 if ((offset == 0) && (buf->data[0] == '#')) in TXT_DB_read()
67 i = strlen(&(buf->data[offset])); in TXT_DB_read()
68 offset += i; in TXT_DB_read()
69 if (buf->data[offset - 1] != '\n') in TXT_DB_read()
[all …]
/openssl/crypto/modes/
H A Docb128.c254 ctx->sess.offset.c[15] |= in CRYPTO_ocb128_setiv()
365 ocb_block16_xor(&ctx->sess.offset, lookup, &ctx->sess.offset); in CRYPTO_ocb128_encrypt()
374 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_encrypt()
376 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_encrypt()
393 ocb_block16_xor(&ctx->sess.offset, &ctx->l_star, &ctx->sess.offset); in CRYPTO_ocb128_encrypt()
396 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_encrypt()
457 ocb_block16_xor(&ctx->sess.offset, lookup, &ctx->sess.offset); in CRYPTO_ocb128_decrypt()
463 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_decrypt()
465 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_decrypt()
485 ocb_block16_xor(&ctx->sess.offset, &ctx->l_star, &ctx->sess.offset); in CRYPTO_ocb128_decrypt()
[all …]
/openssl/crypto/dso/
H A Ddso_win32.c301 int len = 0, offset = 0; in win32_joiner() local
337 offset += 2; in win32_joiner()
341 result[offset] = '\\'; in win32_joiner()
342 offset++; in win32_joiner()
347 result[offset] = ':'; in win32_joiner()
348 offset++; in win32_joiner()
360 result[offset] = '\\'; in win32_joiner()
361 offset++; in win32_joiner()
373 result[offset] = '\\'; in win32_joiner()
374 offset++; in win32_joiner()
[all …]
/openssl/crypto/err/
H A Derr_prn.c31 int offset; in ERR_print_errors_cb() local
38 offset = strlen(buf); in ERR_print_errors_cb()
39 ossl_err_string_int(l, func, buf + offset, sizeof(buf) - offset); in ERR_print_errors_cb()
40 offset += strlen(buf + offset); in ERR_print_errors_cb()
41 BIO_snprintf(buf + offset, sizeof(buf) - offset, ":%s:%d:%s\n", in ERR_print_errors_cb()
/openssl/crypto/asn1/
H A Dasn1_parse.c21 int offset, int depth, int indent, int dump);
22 static int asn1_print_info(BIO *bp, long offset, int depth, int hl, long len, in asn1_print_info() argument
38 offset, depth, (long)hl, len, p) <= 0) in asn1_print_info()
42 offset, depth, (long)hl, p) <= 0) in asn1_print_info()
95 int offset, int depth, int indent, int dump) in asn1_parse2() argument
128 if (!asn1_print_info(bp, (long)offset + (long)(op - *pp), depth, in asn1_parse2()
144 offset + (p - *pp), depth + 1, in asn1_parse2()
159 offset + (p - *pp), depth + 1, in asn1_parse2()
H A Dtasn_utl.c23 #define offset2ptr(addr, offset) (void *)(((char *) addr) + offset) argument
203 ASN1_VALUE **pvaltmp = offset2ptr(*pval, tt->offset); in ossl_asn1_get_field_ptr()
216 return offset2ptr(*pval, tt->offset); in ossl_asn1_get_const_field_ptr()
241 sfld = offset2ptr(val, adb->offset); in ossl_asn1_do_adb()
H A Da_time.c218 int offset = 0; in ossl_asn1_time_to_tm() local
243 offset = n * 3600; in ossl_asn1_time_to_tm()
245 offset += n * 60; in ossl_asn1_time_to_tm()
249 if (offset && !OPENSSL_gmtime_adj(&tmp, 0, offset * offsign)) in ossl_asn1_time_to_tm()
/openssl/doc/man3/
H A DRSA_print.pod17 int RSA_print(BIO *bp, const RSA *x, int offset);
18 int RSA_print_fp(FILE *fp, const RSA *x, int offset);
28 int DSA_print(BIO *bp, const DSA *x, int offset);
29 int DSA_print_fp(FILE *fp, const DSA *x, int offset);
49 The output lines are indented by B<offset> spaces.
/openssl/apps/
H A Dasn1parse.c73 int offset = 0, ret = 1, i, j; in asn1parse_main() local
118 offset = strtol(opt_arg(), NULL, 0); in asn1parse_main()
270 if (offset < 0 || offset >= num) { in asn1parse_main()
275 num -= offset; in asn1parse_main()
280 if (BIO_write(derout, str + offset, length) != (int)length) { in asn1parse_main()
287 const unsigned char *p = str + offset; in asn1parse_main()
/openssl/crypto/bn/
H A Dbn_ctx.c353 unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE; in BN_POOL_release() local
357 bn_check_top(p->current->vals + offset); in BN_POOL_release()
358 if (offset == 0) { in BN_POOL_release()
359 offset = BN_CTX_POOL_SIZE - 1; in BN_POOL_release()
362 offset--; in BN_POOL_release()
/openssl/doc/man1/
H A Dopenssl-asn1parse.pod.in16 [B<-offset> I<number>]
22 [B<-strparse> I<offset>]
60 =item B<-offset> I<number>
62 Starting offset to begin parsing, default is start of file.
85 =item B<-strparse> I<offset>
87 Parse the contents octets of the ASN.1 object starting at B<offset>. This
137 offset in decimal. C<d=XX> specifies the current depth. The depth is increased
146 In this example the BIT STRING at offset 229 is the certificate public key.
/openssl/crypto/ec/asm/
H A Decp_nistp384-ppc64.pl70 my $offset = $i * 8;
72 lxsd $reg_list->[$i],$offset($pointer)
86 my $offset = $i * 16;
88 stxv $reg_list->[$i],$offset($pointer)
H A Decp_nistp521-ppc64.pl115 my $offset = $i * 8;
117 lxsd $reg_list->[$i],$offset($pointer)
131 my $offset = $i * 16;
133 stxv $reg_list->[$i],$offset($pointer)
/openssl/ssl/record/methods/
H A Dtls13_meth.c92 size_t nonce_len, offset, loop, hdrlen, taglen; in tls13_cipher() local
160 offset = nonce_len - SEQ_NUM_SIZE; in tls13_cipher()
161 memcpy(nonce, staticiv, offset); in tls13_cipher()
163 nonce[offset + loop] = staticiv[offset + loop] ^ seq[loop]; in tls13_cipher()
/openssl/test/recipes/
H A D70-test_sslcbcpadding.t54 foreach my $offset (@test_offsets) {
55 $bad_padding_offset = $offset;
/openssl/doc/designs/quic-design/
H A Dstream-receive-buffers.md37 of offset, length, and pointers to data, along with a pointer to the
121 offset. For example: 1st frame - offset 0 length 1000, 2nd frame -
122 offset 1 length 1000, 3rd frame - offset 2 length 1000, and so on. We
/openssl/crypto/sha/
H A Dkeccak1600.c54 #define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31))) argument
56 static uint64_t ROL64(uint64_t val, int offset) in ROL64() argument
58 if (offset == 0) { in ROL64()
61 return (val << offset) | (val >> (64-offset)); in ROL64()
65 if (offset & 1) { in ROL64()
68 offset >>= 1; in ROL64()
69 hi = ROL32(lo, offset); in ROL64()
70 lo = ROL32(tmp, offset + 1); in ROL64()
72 offset >>= 1; in ROL64()
73 lo = ROL32(lo, offset); in ROL64()
[all …]

Completed in 52 milliseconds

1234