Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 1227) sorted by relevance

12345678910>>...50

/openssl/include/openssl/
H A Dmodes.h119 size_t len);
121 size_t len);
124 size_t len);
127 size_t len);
135 size_t len);
145 size_t nlen, size_t mlen);
147 size_t alen);
158 size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
202 size_t len, size_t taglen);
204 size_t len);
[all …]
H A Dhpke.h113 unsigned char *enc, size_t *enclen,
117 unsigned char *ct, size_t *ctlen,
118 const unsigned char *aad, size_t aadlen,
119 const unsigned char *pt, size_t ptlen);
130 unsigned char *pt, size_t *ptlen,
131 const unsigned char *aad, size_t aadlen,
132 const unsigned char *ct, size_t ctlen);
136 size_t secretlen,
138 size_t labellen);
143 size_t publen);
[all …]
H A Dcore_dispatch.h126 CRYPTO_clear_realloc, (void *addr, size_t old_num, size_t num,
168 size_t data_len, size_t *written))
316 unsigned char *out, size_t *outl, size_t outsz))
319 unsigned char *out, size_t *outl, size_t outsz))
322 unsigned char *out, size_t *outl, size_t outsz))
372 unsigned char *out, size_t *outl, size_t outsize,
376 unsigned char *out, size_t *outl, size_t outsize))
379 unsigned char *out, size_t *outl, size_t outsize,
504 size_t min_noncelen, size_t max_noncelen))
527 int entropy, size_t min_len, size_t max_len,
[all …]
/openssl/ssl/record/methods/
H A Drecmethod_local.h34 size_t len;
36 size_t offset;
38 size_t left;
54 size_t length;
60 size_t orig_len;
63 size_t off;
141 size_t maxfrag, size_t *preffrag);
150 size_t numtempl, size_t *prefix);
300 size_t eivlen;
453 size_t maxfrag, size_t *preffrag);
[all …]
H A Dtls_pad.c33 size_t good,
58 size_t block_size, size_t mac_size, in ssl3_cbc_remove_padding_and_mac()
61 size_t padding_length; in ssl3_cbc_remove_padding_and_mac()
62 size_t good; in ssl3_cbc_remove_padding_and_mac()
103 size_t block_size, size_t mac_size, in tls1_cbc_remove_padding_and_mac()
107 size_t good = -1; in tls1_cbc_remove_padding_and_mac()
205 size_t mac_end = *reclen; in ssl3_cbc_copy_mac()
207 size_t in_mac; in ssl3_cbc_copy_mac()
212 size_t scan_start = 0; in ssl3_cbc_copy_mac()
213 size_t i, j; in ssl3_cbc_copy_mac()
[all …]
/openssl/include/crypto/
H A Drand_pool.h80 size_t alloc_len; /* current number of bytes allocated */
81 size_t entropy; /* current entropy count in bits */
86 size_t min_len, size_t max_len);
88 size_t entropy);
95 size_t ossl_rand_pool_entropy(RAND_POOL *pool);
96 size_t ossl_rand_pool_length(RAND_POOL *pool);
98 size_t ossl_rand_pool_entropy_available(RAND_POOL *pool);
99 size_t ossl_rand_pool_entropy_needed(RAND_POOL *pool);
102 size_t ossl_rand_pool_bytes_remaining(RAND_POOL *pool);
105 const unsigned char *buffer, size_t len, size_t entropy);
[all …]
H A Daes_platform.h27 size_t length,
154 size_t armv8_aes_gcm_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *k…
156 size_t armv8_aes_gcm_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *k…
212 size_t length,
217 size_t start_block_num,
223 size_t start_block_num,
236 size_t length,
242 size_t length,
261 size_t aesni_gcm_encrypt(const unsigned char *in, unsigned char *out, size_t len,
263 size_t aesni_gcm_decrypt(const unsigned char *in, unsigned char *out, size_t len,
[all …]
H A Drand.h111 size_t ossl_rand_get_entropy(OSSL_LIB_CTX *ctx,
113 size_t min_len, size_t max_len);
114 size_t ossl_rand_get_user_entropy(OSSL_LIB_CTX *ctx,
116 size_t min_len, size_t max_len);
118 unsigned char *buf, size_t len);
121 size_t ossl_rand_get_nonce(OSSL_LIB_CTX *ctx,
122 unsigned char **pout, size_t min_len, size_t max_len,
123 const void *salt, size_t salt_len);
125 size_t min_len, size_t max_len,
128 unsigned char *buf, size_t len);
[all …]
H A Dsm2.h31 const size_t id_len,
40 const size_t id_len,
41 const uint8_t *msg, size_t msg_len);
47 const size_t id_len,
48 const uint8_t *msg, size_t msg_len);
68 size_t msg_len, size_t *ct_size);
70 int ossl_sm2_plaintext_size(const unsigned char *ct, size_t ct_size,
71 size_t *pt_size);
75 const uint8_t *msg, size_t msg_len,
76 uint8_t *ciphertext_buf, size_t *ciphertext_len);
[all …]
/openssl/ssl/record/
H A Drecord.h34 size_t length;
36 size_t off;
99 size_t wnum;
104 size_t wpend_tot;
113 size_t (*record_padding_cb)(SSL *s, int type, size_t len, void *arg);
115 size_t block_padding;
116 size_t hs_padding;
119 size_t num_recs;
121 size_t curr_rec;
158 size_t len, size_t *written);
[all …]
/openssl/include/internal/
H A Dhpke_util.h36 size_t Nsecret; /* size of secrets */
37 size_t Nenc; /* length of encapsulated key */
38 size_t Npk; /* length of public key */
39 size_t Nsk; /* length of raw private key */
49 size_t Nh; /* length of hash/extract output */
58 size_t taglen; /* aead tag len */
59 size_t Nk; /* size of a key for this aead */
60 size_t Nn; /* length of a nonce for this aead */
72 unsigned char *prk, size_t prklen,
77 unsigned char *okm, size_t okmlen,
[all …]
H A Dquic_stream.h60 QUIC_SSTREAM *ossl_quic_sstream_new(size_t init_buf_size);
129 size_t skip,
132 size_t *num_iov);
241 size_t buf_len,
242 size_t *consumed);
277 size_t ossl_quic_sstream_get_buffer_size(QUIC_SSTREAM *qss);
282 size_t ossl_quic_sstream_get_buffer_used(QUIC_SSTREAM *qss);
294 void ossl_quic_sstream_adjust_iov(size_t len,
296 size_t num_iov);
354 size_t *readbytes, int *fin);
[all …]
H A Dsha3.h25 typedef size_t (sha3_absorb_fn)(void *vctx, const void *in, size_t inlen);
26 typedef int (sha3_final_fn)(void *vctx, unsigned char *out, size_t outlen);
27 typedef int (sha3_squeeze_fn)(void *vctx, unsigned char *out, size_t outlen);
43 size_t block_size; /* cached ctx->digest->block_size */
44 size_t md_size; /* output length, variable in XOF */
45 size_t bufsz; /* used bytes in below buffer */
52 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen);
54 size_t typelen, size_t mdlen);
55 int ossl_sha3_update(KECCAK1600_CTX *ctx, const void *_inp, size_t len);
59 size_t SHA3_absorb(uint64_t A[5][5], const unsigned char *inp, size_t len,
[all …]
H A Dpacket.h26 size_t remaining;
167 *data = (size_t)i; in PACKET_get_net_2_len()
208 *data = (size_t)i; in PACKET_get_net_3_len()
429 size_t dest_len, size_t *len) in PACKET_copy_all()
452 size_t length; in PACKET_memdup()
641 size_t packet_len;
644 size_t lenbytes;
647 size_t pwritten;
665 size_t curr;
668 size_t written;
[all …]
H A Dssl3_cbc.h13 int ssl3_cbc_remove_padding_and_mac(size_t *reclen,
14 size_t origreclen,
18 size_t block_size, size_t mac_size,
21 int tls1_cbc_remove_padding_and_mac(size_t *reclen,
22 size_t origreclen,
26 size_t block_size, size_t mac_size,
34 size_t *md_out_size,
37 size_t data_size,
38 size_t data_plus_mac_plus_padding_size,
40 size_t mac_secret_length, char is_sslv3);
H A Dbio.h20 int (*bwrite) (BIO *, const char *, size_t, size_t *);
22 int (*bread) (BIO *, char *, size_t, size_t *);
30 int (*bsendmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *);
31 int (*brecvmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *);
39 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written);
40 int bread_conv(BIO *bio, char *data, size_t datal, size_t *read);
88 int ossl_core_bio_read_ex(OSSL_CORE_BIO *cb, void *data, size_t dlen,
89 size_t *readbytes);
90 int ossl_core_bio_write_ex(OSSL_CORE_BIO *cb, const void *data, size_t dlen,
91 size_t *written);
/openssl/providers/implementations/include/prov/
H A Dciphercommon_ccm.h40 size_t l, m; /* L and M parameters from RFC3610 */
41 size_t keylen;
42 size_t tls_aad_len; /* TLS AAD length */
43 size_t tls_aad_pad_sz;
53 size_t len));
58 size_t mlen));
95 size_t nlen, size_t mlen);
97 size_t alen);
100 unsigned char *out, size_t len,
101 unsigned char *tag, size_t taglen);
[all …]
H A Dciphercommon_gcm.h53 size_t keylen;
54 size_t ivlen;
55 size_t taglen;
56 size_t tls_aad_pad_sz;
57 size_t tls_aad_len; /* TLS AAD length */
64 size_t num;
65 size_t bufsz; /* Number of bytes in buf */
85 size_t keylen));
87 size_t ivlen));
119 size_t aad_len);
[all …]
/openssl/providers/implementations/rands/
H A Ddrbg_local.h80 const unsigned char *adin, size_t adin_len);
82 const unsigned char *adin, size_t adin_len);
124 size_t max_request;
125 size_t min_entropylen, max_entropylen;
126 size_t min_noncelen, max_noncelen;
127 size_t max_perslen, max_adinlen;
161 size_t seedlen;
187 const unsigned char *adin, size_t adin_len),
213 size_t i; \
251 size_t ossl_crngt_get_entropy(PROV_DRBG *drbg,
[all …]
/openssl/ssl/statem/
H A Dstatem_local.h46 unsigned int ossl_get_extension_type(size_t idx);
69 size_t num_groups, int checkallow);
73 size_t hrrlen);
292 X509 *x, size_t chainidx);
318 X509 *x, size_t chainidx);
327 X509 *x, size_t chainidx);
333 X509 *x, size_t chainidx);
338 X509 *x, size_t chainidx);
516 X509 *x, size_t chainidx);
520 X509 *x, size_t chainidx);
[all …]
/openssl/crypto/modes/
H A Dcbc128.c19 typedef size_t size_t_aX __attribute((__aligned__(1)));
21 typedef size_t size_t_aX;
25 size_t len, const void *key, in CRYPTO_cbc128_encrypt()
28 size_t n; in CRYPTO_cbc128_encrypt()
36 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_encrypt()
48 for (n = 0; n < 16; n += sizeof(size_t)) in CRYPTO_cbc128_encrypt()
80 size_t n; in CRYPTO_cbc128_decrypt()
82 size_t t[16 / sizeof(size_t)]; in CRYPTO_cbc128_decrypt()
94 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt()
122 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt()
[all …]
/openssl/crypto/rand/
H A Dprov_seed.c18 size_t ossl_rand_get_entropy(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_get_entropy()
20 size_t min_len, size_t max_len) in ossl_rand_get_entropy()
22 size_t ret = 0; in ossl_rand_get_entropy()
23 size_t entropy_available; in ossl_rand_get_entropy()
44 size_t ossl_rand_get_user_entropy(OSSL_LIB_CTX *ctx, in ossl_rand_get_user_entropy()
46 size_t min_len, size_t max_len) in ossl_rand_get_user_entropy()
74 size_t ossl_rand_get_nonce(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_get_nonce()
76 size_t min_len, ossl_unused size_t max_len, in ossl_rand_get_nonce()
79 size_t ret = 0; in ossl_rand_get_nonce()
100 size_t ossl_rand_get_user_nonce(OSSL_LIB_CTX *ctx, in ossl_rand_get_user_nonce()
[all …]
/openssl/ssl/
H A Dssl_local.h420 int (*ssl_read) (SSL *s, void *buf, size_t len, size_t *readbytes);
421 int (*ssl_peek) (SSL *s, void *buf, size_t len, size_t *readbytes);
1757 size_t asyncrw;
1885 size_t msg_len;
1887 size_t frag_off;
1888 size_t frag_len;
1966 size_t len;
2442 size_t len; in ssl_has_cert_type()
2678 size_t frag_off, size_t frag_len);
2681 size_t len, size_t *written);
[all …]
/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c39 size_t ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, in ossl_cipher_fillblock()
40 size_t blocksize, in ossl_cipher_fillblock()
43 size_t blockmask = ~(blocksize - 1); in ossl_cipher_fillblock()
44 size_t bufremain = blocksize - *buflen; in ossl_cipher_fillblock()
63 int ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, in ossl_cipher_trailingdata()
82 void ossl_cipher_padblock(unsigned char *buf, size_t *buflen, size_t blocksize) in ossl_cipher_padblock()
84 size_t i; in ossl_cipher_padblock()
91 int ossl_cipher_unpadblock(unsigned char *buf, size_t *buflen, size_t blocksize) in ossl_cipher_unpadblock()
93 size_t pad, i; in ossl_cipher_unpadblock()
94 size_t len = *buflen; in ossl_cipher_unpadblock()
[all …]
/openssl/crypto/bio/
H A Dbio_meth.c72 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written) in bwrite_conv()
86 *written = (size_t)ret; in bwrite_conv()
100 int (*bwrite) (BIO *, const char *, size_t, size_t *)) in BIO_meth_set_write_ex() argument
113 int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *) in BIO_meth_get_read_ex()
120 int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes) in bread_conv()
134 *readbytes = (size_t)ret; in bread_conv()
148 int (*bread) (BIO *, char *, size_t, size_t *)) in BIO_meth_set_read_ex() argument
239 int (*bsendmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *)) in BIO_meth_set_sendmmsg() argument
246 …_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *) { in BIO_meth_get_sendmmsg()
252 int (*brecvmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *)) in BIO_meth_set_recvmmsg() argument
[all …]

Completed in 76 milliseconds

12345678910>>...50