Home
last modified time | relevance | path

Searched refs:outsize (Results 1 – 25 of 27) sorted by relevance

12

/openssl-master/crypto/evp/
A Dmac_lib.c130 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() argument
155 if (outsize < macsize) { in evp_mac_final()
168 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final()
175 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() argument
177 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final()
180 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize) in EVP_MAC_finalXOF() argument
182 return evp_mac_final(ctx, 1, out, NULL, outsize); in EVP_MAC_finalXOF()
247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() argument
286 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac()
/openssl-master/providers/implementations/ciphers/
A Dciphercommon.c244 size_t *outl, size_t outsize, in ossl_cipher_generic_block_update() argument
261 || outsize < inl in ossl_cipher_generic_block_update()
275 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update()
340 if (outsize < blksz) { in ossl_cipher_generic_block_update()
361 if (outsize < outlint) { in ossl_cipher_generic_block_update()
385 size_t *outl, size_t outsize) in ossl_cipher_generic_block_final() argument
410 if (outsize < blksz) { in ossl_cipher_generic_block_final()
443 if (outsize < ctx->bufsz) { in ossl_cipher_generic_block_final()
464 if (outsize < inl) { in ossl_cipher_generic_stream_update()
511 size_t *outl, size_t outsize) in ossl_cipher_generic_stream_final() argument
[all …]
A Dcipher_tdes_wrap.c128 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() argument
138 if (outsize < inl) { in tdes_wrap_cipher()
152 size_t outsize, const unsigned char *in, in tdes_wrap_update() argument
158 if (outsize < inl) { in tdes_wrap_update()
163 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update()
A Dcipher_aes_xts.c158 size_t outsize, const unsigned char *in, size_t inl) in aes_xts_cipher() argument
193 size_t outsize, const unsigned char *in, in aes_xts_stream_update() argument
198 if (outsize < inl) { in aes_xts_stream_update()
203 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update()
212 size_t outsize) in aes_xts_stream_final() argument
A Dcipher_aes_ocb.c162 size_t outsize, const unsigned char *in, in aes_ocb_block_update_internal() argument
174 if (outsize < AES_BLOCK_SIZE) { in aes_ocb_block_update_internal()
189 if (outsize < outlint) { in aes_ocb_block_update_internal()
232 size_t outsize, const unsigned char *in, in aes_ocb_block_update() argument
258 return aes_ocb_block_update_internal(ctx, buf, buflen, out, outl, outsize, in aes_ocb_block_update()
263 size_t outsize) in aes_ocb_block_final() argument
498 size_t outsize, const unsigned char *in, size_t inl) in aes_ocb_cipher() argument
505 if (outsize < inl) { in aes_ocb_cipher()
A Dcipher_null.c66 size_t outsize, const unsigned char *in, size_t inl) in null_cipher() argument
83 if (outsize < inl) in null_cipher()
93 size_t outsize) in null_final() argument
A Dciphercommon_ccm.c267 size_t outsize, const unsigned char *in, in ossl_ccm_stream_update() argument
272 if (outsize < inl) { in ossl_ccm_stream_update()
285 size_t outsize) in ossl_ccm_stream_final() argument
301 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher() argument
309 if (outsize < inl) { in ossl_ccm_cipher()
A Dciphercommon_gcm.c297 size_t outsize, const unsigned char *in, size_t inl) in ossl_gcm_stream_update() argument
306 if (outsize < inl) { in ossl_gcm_stream_update()
319 size_t outsize) in ossl_gcm_stream_final() argument
336 unsigned char *out, size_t *outl, size_t outsize, in ossl_gcm_cipher() argument
344 if (outsize < inl) { in ossl_gcm_cipher()
A Dcipher_aes_wrp.c203 size_t outsize) in aes_wrap_final() argument
213 unsigned char *out, size_t *outl, size_t outsize, in aes_wrap_cipher() argument
227 if (outsize < inl) { in aes_wrap_cipher()
A Dcipher_chacha20_poly1305.c269 size_t *outl, size_t outsize, in chacha20_poly1305_cipher() argument
284 if (outsize < inl) { in chacha20_poly1305_cipher()
296 size_t outsize) in chacha20_poly1305_final() argument
A Dcipher_cts.c330 size_t outsize, const unsigned char *in, in ossl_cipher_cbc_cts_block_update() argument
338 if (outsize < inl) in ossl_cipher_cbc_cts_block_update()
375 size_t outsize) in ossl_cipher_cbc_cts_block_final() argument
A Dcipher_aes_siv.c116 size_t outsize, const unsigned char *in, size_t inl) in siv_cipher() argument
128 if (outsize < inl) { in siv_cipher()
142 size_t outsize) in siv_stream_final() argument
/openssl-master/providers/implementations/asymciphers/
A Drsa_enc.c136 size_t outsize, const unsigned char *in, size_t inlen) in rsa_encrypt() argument
196 size_t outsize, const unsigned char *in, size_t inlen) in rsa_decrypt() argument
210 if (outsize < SSL_MAX_MASTER_KEY_LENGTH) { in rsa_decrypt()
224 if (outsize < len) { in rsa_decrypt()
258 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf, in rsa_decrypt()
272 prsactx->libctx, out, outsize, tbuf, len, in rsa_decrypt()
A Dsm2_enc.c82 size_t outsize, const unsigned char *in, in sm2_asym_encrypt() argument
103 size_t outsize, const unsigned char *in, in sm2_asym_decrypt() argument
/openssl-master/doc/man7/
A Dprovider-cipher.pod33 size_t outsize, const unsigned char *in, size_t inl);
35 size_t outsize);
37 size_t outsize, const unsigned char *in, size_t inl);
145 I<*outl> which should not exceed I<outsize> bytes.
152 The same expectations apply to I<outsize> as documented for
160 amount of data written to I<*outl> which should not exceed I<outsize> bytes.
161 The same expectations apply to I<outsize> as documented for
176 I<outsize> bytes.
A Dprovider-asym_cipher.pod29 size_t outsize, const unsigned char *in,
36 size_t outsize, const unsigned char *in,
138 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
161 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
A Dprovider-mac.pod29 int OSSL_FUNC_mac_final(void *mctx, unsigned char *out, size_t *outl, size_t outsize);
125 to I<*outl>, which should not exceed I<outsize> bytes.
126 The same expectations apply to I<outsize> as documented for
/openssl-master/providers/implementations/macs/
A Dsiphash_prov.c130 size_t outsize) in siphash_final() argument
135 if (!ossl_prov_is_running() || outsize < hlen) in siphash_final()
A Dpoly1305_prov.c118 size_t outsize) in poly1305_final() argument
A Dcmac_prov.c137 size_t outsize) in cmac_final() argument
A Dblake2_mac_impl.c136 size_t outsize) in blake2_mac_final() argument
A Dgmac_prov.c146 size_t outsize) in gmac_final() argument
A Dhmac_prov.c220 size_t outsize) in hmac_final() argument
/openssl-master/include/openssl/
A Dcore_dispatch.h345 unsigned char *out, size_t *outl, size_t outsize,
349 unsigned char *out, size_t *outl, size_t outsize))
352 unsigned char *out, size_t *outl, size_t outsize,
392 unsigned char *out, size_t *outl, size_t outsize))
785 size_t outsize,
792 size_t outsize,
/openssl-master/doc/man3/
A DEVP_MAC.pod49 unsigned char *out, size_t outsize, size_t *outlen);
54 unsigned char *out, size_t *outl, size_t outsize);
55 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize);
135 but only if I<outsize> is sufficient (otherwise no computation is made).
154 the memory pointed at by I<out> of size I<outsize>, and sets the number
156 If I<out> is NULL or I<outsize> is too small, then no computation
164 the result in the memory pointed at by I<out> of size I<outsize>.

Completed in 48 milliseconds

12