Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/openssl/crypto/bio/
H A Dbio_dump.c22 int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u), in BIO_dump_cb()
23 void *u, const void *s, int len) in BIO_dump_cb()
28 int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u), in BIO_dump_indent_cb()
29 void *u, const void *v, int len, int indent) in BIO_dump_indent_cb()
98 static int write_fp(const void *data, size_t len, void *fp) in write_fp()
103 int BIO_dump_fp(FILE *fp, const void *s, int len) in BIO_dump_fp()
108 int BIO_dump_indent_fp(FILE *fp, const void *s, int len, int indent) in BIO_dump_indent_fp()
114 static int write_bio(const void *data, size_t len, void *bp) in write_bio()
119 int BIO_dump(BIO *bp, const void *s, int len) in BIO_dump()
124 int BIO_dump_indent(BIO *bp, const void *s, int len, int indent) in BIO_dump_indent()
/openssl/include/internal/
H A Dpacket.h30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
71 size_t len) in PACKET_buf_init()
817 #define WPACKET_sub_allocate_bytes_u8(pkt, len, bytes) \ argument
855 #define WPACKET_sub_reserve_bytes_u8(pkt, len, bytes) \ argument
857 #define WPACKET_sub_reserve_bytes_u16(pkt, len, bytes) \ argument
859 #define WPACKET_sub_reserve_bytes_u24(pkt, len, bytes) \ argument
861 #define WPACKET_sub_reserve_bytes_u32(pkt, len, bytes) \ argument
906 #define WPACKET_sub_memcpy_u8(pkt, src, len) \ argument
908 #define WPACKET_sub_memcpy_u16(pkt, src, len) \ argument
910 #define WPACKET_sub_memcpy_u24(pkt, src, len) \ argument
[all …]
/openssl/crypto/ct/
H A Dct_oct.c24 int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len) in o2i_SCT_signature()
70 SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len) in o2i_SCT()
155 size_t len; in i2o_SCT_signature() local
200 size_t len; in i2o_SCT() local
319 int len, sct_len, i, is_pp_new = 0; in i2o_SCT_LIST() local
392 int len; in i2d_SCT_LIST() local
/openssl/providers/implementations/ciphers/
H A Dciphercommon_hw.c17 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_cbc()
30 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_ecb()
49 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_ofb128()
60 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_cfb128()
72 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_cfb8()
84 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_cfb1()
112 const unsigned char *in, size_t len) in ossl_cipher_hw_generic_ctr()
H A Dcipher_cts.c100 unsigned char *out, size_t len) in cts128_cs1_encrypt()
125 size_t len, unsigned char *out) in do_xor()
134 unsigned char *out, size_t len) in cts128_cs1_decrypt()
196 unsigned char *out, size_t len) in cts128_cs3_encrypt()
236 unsigned char *out, size_t len) in cts128_cs3_decrypt()
302 unsigned char *out, size_t len) in cts128_cs2_encrypt()
315 unsigned char *out, size_t len) in cts128_cs2_decrypt()
/openssl/crypto/
H A Dpacket.c19 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes()
29 int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_allocate_bytes__()
80 int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_reserve_bytes__()
129 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, in WPACKET_init_static_len()
146 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len) in WPACKET_init_der()
211 static int put_value(unsigned char *data, uint64_t value, size_t len) in put_value()
230 static int put_quic_value(unsigned char *data, size_t value, size_t len) in put_quic_value()
443 int WPACKET_memset(WPACKET *pkt, int ch, size_t len) in WPACKET_memset()
459 int WPACKET_memcpy(WPACKET *pkt, const void *src, size_t len) in WPACKET_memcpy()
475 int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len, in WPACKET_sub_memcpy__()
[all …]
/openssl/crypto/sha/
H A Dsha_ppc.c20 void sha256_block_data_order(void *ctx, const void *inp, size_t len) in sha256_block_data_order()
29 void sha512_block_data_order(void *ctx, const void *inp, size_t len) in sha512_block_data_order()
/openssl/crypto/modes/
H A Dcts128.c28 unsigned char *out, size_t len, in CRYPTO_cts128_encrypt_block()
57 unsigned char *out, size_t len, in CRYPTO_nistcts128_encrypt_block()
88 size_t len, const void *key, in CRYPTO_cts128_encrypt()
124 size_t len, const void *key, in CRYPTO_nistcts128_encrypt()
159 unsigned char *out, size_t len, in CRYPTO_cts128_decrypt_block()
201 unsigned char *out, size_t len, in CRYPTO_nistcts128_decrypt_block()
249 size_t len, const void *key, in CRYPTO_cts128_decrypt()
289 size_t len, const void *key, in CRYPTO_nistcts128_decrypt()
H A Docb128.c79 const unsigned char *in2, size_t len, in ocb_block_xor()
214 size_t len, size_t taglen) in CRYPTO_ocb128_setiv()
265 size_t len) in CRYPTO_ocb128_aad()
327 size_t len) in CRYPTO_ocb128_encrypt()
419 size_t len) in CRYPTO_ocb128_decrypt()
505 static int ocb_finish(OCB128_CONTEXT *ctx, unsigned char *tag, size_t len, in ocb_finish()
534 size_t len) in CRYPTO_ocb128_finish()
542 int CRYPTO_ocb128_tag(OCB128_CONTEXT *ctx, unsigned char *tag, size_t len) in CRYPTO_ocb128_tag()
H A Dgcm128.c246 const u8 *inp, size_t len) in gcm_ghash_4bit()
330 # define GHASH(ctx,in,len) ctx->funcs.ghash((ctx)->Xi.u,(ctx)->Htable,in,len) argument
582 const u8 *inp, size_t len) in ossl_gcm_ghash_4bit()
632 size_t len) in CRYPTO_gcm128_setiv()
719 size_t len) in CRYPTO_gcm128_aad()
774 size_t len) in CRYPTO_gcm128_encrypt()
999 size_t len) in CRYPTO_gcm128_decrypt()
1232 size_t len, ctr128_f stream) in CRYPTO_gcm128_encrypt_ctr32()
1386 size_t len, ctr128_f stream) in CRYPTO_gcm128_decrypt_ctr32()
1546 size_t len) in CRYPTO_gcm128_finish()
[all …]
H A Dsiv128.c90 unsigned char const* in, size_t len) in siv128_do_s2v_p()
130 unsigned char const *in, size_t len, in siv128_do_encrypt()
247 size_t len) in ossl_siv128_aad()
275 size_t len) in ossl_siv128_encrypt()
302 size_t len) in ossl_siv128_decrypt()
344 int ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) in ossl_siv128_set_tag()
357 int ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) in ossl_siv128_get_tag()
/openssl/crypto/x509/
H A Dx_x509a.c50 int X509_alias_set1(X509 *x, const unsigned char *name, int len) in X509_alias_set1()
67 int X509_keyid_set1(X509 *x, const unsigned char *id, int len) in X509_keyid_set1()
85 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0()
94 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0()
H A Dx509name.c20 char *buf, int len) in X509_NAME_get_text_by_NID()
31 char *buf, int len) in X509_NAME_get_text_by_OBJ()
142 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_OBJ()
157 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_NID()
171 const unsigned char *bytes, int len, int loc, in X509_NAME_add_entry_by_txt()
245 int len) in X509_NAME_ENTRY_create_by_txt()
264 int len) in X509_NAME_ENTRY_create_by_NID()
282 int len) in X509_NAME_ENTRY_create_by_OBJ()
318 const unsigned char *bytes, int len) in X509_NAME_ENTRY_set_data()
/openssl/crypto/asn1/
H A Da_utf8.c28 int UTF8_getc(const unsigned char *str, int len, unsigned long *val) in UTF8_getc()
93 int UTF8_putc(unsigned char *str, int len, unsigned long value) in UTF8_putc()
H A Da_digest.c29 unsigned char *md, unsigned int *len) in ASN1_digest()
55 unsigned char *data, unsigned int *len, in ossl_asn1_item_digest_ex()
88 unsigned char *data, unsigned int *len) in ASN1_item_digest()
H A Dtasn_dec.c108 long len, const ASN1_ITEM *it, int tag, in asn1_item_ex_d2i_intern()
134 const unsigned char **in, long len, in ASN1_item_d2i_ex()
151 const unsigned char **in, long len, in ASN1_item_d2i()
163 long len, const ASN1_ITEM *it, in asn1_item_embed_d2i()
504 long len; in asn1_template_ex_d2i() local
569 const unsigned char **in, long len, in asn1_template_noexp_d2i()
709 long len; in asn1_d2i_ex_primitive() local
979 static int asn1_find_end(const unsigned char **in, long len, char inf) in asn1_find_end()
1105 int len; in collect_data() local
1120 static int asn1_check_eoc(const unsigned char **in, long len) in asn1_check_eoc()
[all …]
H A Dasn1_lib.c20 static int _asn1_check_infinite_end(const unsigned char **p, long len) in _asn1_check_infinite_end()
36 int ASN1_check_infinite_end(unsigned char **p, long len) in ASN1_check_infinite_end()
41 int ASN1_const_check_infinite_end(const unsigned char **p, long len) in ASN1_const_check_infinite_end()
50 long len; in ASN1_get_object() local
203 int i, len; in asn1_put_length() local
290 size_t len; in ASN1_STRING_set() local
339 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) in ASN1_STRING_set0()
411 void ASN1_STRING_length_set(ASN1_STRING *x, int len) in ASN1_STRING_length_set()
/openssl/test/
H A Dparams_api_test.c52 size_t len; member
199 const size_t len = raw_values[n].len >= sizeof(int) ? in test_param_int() local
229 const size_t len = raw_values[n].len >= sizeof(long int) in test_param_long() local
318 const size_t len = raw_values[n].len >= sizeof(int32_t) in test_param_int32() local
348 const size_t len = raw_values[n].len >= sizeof(uint32_t) in test_param_uint32() local
378 const size_t len = raw_values[n].len >= sizeof(int64_t) in test_param_int64() local
408 const size_t len = raw_values[n].len >= sizeof(uint64_t) in test_param_uint64() local
438 const size_t len = raw_values[n].len >= sizeof(size_t) in test_param_size_t() local
468 const size_t len = raw_values[n].len >= sizeof(time_t) in test_param_time_t() local
497 const size_t len = raw_values[n].len; in test_param_bignum() local
[all …]
H A Dhexstr_test.c65 long len = 0; in test_hexstr_sep_to_from() local
86 long len = 0; in test_hexstr_to_from() local
115 size_t len = 0; in test_hexstr_ex_to_from() local
/openssl/crypto/rand/
H A Drand_pool.c61 RAND_POOL *ossl_rand_pool_attach(const unsigned char *buffer, size_t len, in ossl_rand_pool_attach()
199 static int rand_pool_grow(RAND_POOL *pool, size_t len) in rand_pool_grow()
302 const unsigned char *buffer, size_t len, size_t entropy) in ossl_rand_pool_add()
356 unsigned char *ossl_rand_pool_add_begin(RAND_POOL *pool, size_t len) in ossl_rand_pool_add_begin()
395 int ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy) in ossl_rand_pool_add_end()
H A Dprov_seed.c58 unsigned char *buf, size_t len) in ossl_rand_cleanup_entropy()
64 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_entropy()
123 unsigned char *buf, size_t len) in ossl_rand_cleanup_nonce()
129 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_nonce()
/openssl/providers/implementations/rands/seeding/
H A Drand_cpu_x86.c61 static size_t get_hardware_random_value(unsigned char *buf, size_t len) in get_hardware_random_value()
91 static size_t get_hardware_random_value(unsigned char *buf, size_t len) { in get_hardware_random_value()
/openssl/crypto/buffer/
H A Dbuffer.c56 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc()
71 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow()
107 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len) in BUF_MEM_grow_clean()
/openssl/fuzz/
H A Dprovider.c104 static int read_uint(const uint8_t **buf, size_t *len, uint64_t **res) in read_uint()
122 static int read_int(const uint8_t **buf, size_t *len, int64_t **res) in read_int()
140 static int read_double(const uint8_t **buf, size_t *len, double **res) in read_double()
158 static int read_utf8_string(const uint8_t **buf, size_t *len, char **res) in read_utf8_string()
181 static int read_utf8_ptr(const uint8_t **buf, size_t *len, char **res) in read_utf8_ptr()
193 static int read_octet_string(const uint8_t **buf, size_t *len, char **res) in read_octet_string()
225 static int read_octet_ptr(const uint8_t **buf, size_t *len, char **res) in read_octet_ptr()
264 static OSSL_PARAM *fuzz_params(OSSL_PARAM *param, const uint8_t **buf, size_t *len) in fuzz_params()
595 int FuzzerTestOneInput(const uint8_t *buf, size_t len) in FuzzerTestOneInput()
/openssl/crypto/evp/
H A De_sm4.c140 const unsigned char *in, size_t len) in sm4_cbc_cipher()
157 const unsigned char *in, size_t len) in sm4_cfb_cipher()
170 const unsigned char *in, size_t len) in sm4_ecb_cipher()
190 const unsigned char *in, size_t len) in sm4_ofb_cipher()
202 const unsigned char *in, size_t len) in sm4_ctr_cipher()

Completed in 42 milliseconds

12345678910>>...18