Home
last modified time | relevance | path

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

12

/openssl/crypto/evp/
H A Dmac_lib.c127 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() argument
152 if (outsize < macsize) { in evp_mac_final()
165 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final()
172 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() argument
174 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final()
177 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize) in EVP_MAC_finalXOF() argument
179 return evp_mac_final(ctx, 1, out, NULL, outsize); in EVP_MAC_finalXOF()
244 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() argument
283 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac()
/openssl/providers/implementations/ciphers/
H A Dciphercommon.c249 size_t *outl, size_t outsize, in ossl_cipher_generic_block_update() argument
271 || outsize < inl in ossl_cipher_generic_block_update()
285 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update()
350 if (outsize < blksz) { in ossl_cipher_generic_block_update()
371 if (outsize < outlint) { in ossl_cipher_generic_block_update()
395 size_t *outl, size_t outsize) in ossl_cipher_generic_block_final() argument
425 if (outsize < blksz) { in ossl_cipher_generic_block_final()
458 if (outsize < ctx->bufsz) { in ossl_cipher_generic_block_final()
484 if (outsize < inl) { in ossl_cipher_generic_stream_update()
531 size_t *outl, size_t outsize) in ossl_cipher_generic_stream_final() argument
[all …]
H A Dcipher_tdes_wrap.c127 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() argument
137 if (outsize < inl) { in tdes_wrap_cipher()
151 size_t outsize, const unsigned char *in, in tdes_wrap_update() argument
157 if (outsize < inl) { in tdes_wrap_update()
162 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update()
H A Dcipher_aes_xts.c177 size_t outsize, const unsigned char *in, size_t inl) in aes_xts_cipher() argument
183 return s390x_aes_xts_cipher(vctx, out, outl, outsize, in, inl); in aes_xts_cipher()
217 size_t outsize, const unsigned char *in, in aes_xts_stream_update() argument
222 if (outsize < inl) { in aes_xts_stream_update()
227 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update()
236 size_t outsize) in aes_xts_stream_final() argument
H A Dcipher_sm4_xts.c122 size_t outsize, const unsigned char *in, size_t inl) in sm4_xts_cipher() argument
165 size_t outsize, const unsigned char *in, in sm4_xts_stream_update() argument
170 if (outsize < inl) { in sm4_xts_stream_update()
175 if (!sm4_xts_cipher(ctx, out, outl, outsize, in, inl)) { in sm4_xts_stream_update()
184 size_t outsize) in sm4_xts_stream_final() argument
H 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
507 size_t outsize, const unsigned char *in, size_t inl) in aes_ocb_cipher() argument
514 if (outsize < inl) { in aes_ocb_cipher()
H 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
H A Dciphercommon_ccm.c270 size_t outsize, const unsigned char *in, in ossl_ccm_stream_update() argument
275 if (outsize < inl) { in ossl_ccm_stream_update()
288 size_t outsize) in ossl_ccm_stream_final() argument
304 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher() argument
312 if (outsize < inl) { in ossl_ccm_cipher()
H A Dciphercommon_gcm.c331 size_t outsize, const unsigned char *in, size_t inl) in ossl_gcm_stream_update() argument
340 if (outsize < inl) { in ossl_gcm_stream_update()
353 size_t outsize) in ossl_gcm_stream_final() argument
370 unsigned char *out, size_t *outl, size_t outsize, in ossl_gcm_cipher() argument
378 if (outsize < inl) { in ossl_gcm_cipher()
H A Dcipher_cts.c328 size_t outsize, const unsigned char *in, in ossl_cipher_cbc_cts_block_update() argument
336 if (outsize < inl) in ossl_cipher_cbc_cts_block_update()
373 size_t outsize) in ossl_cipher_cbc_cts_block_final() argument
H A Dcipher_aes_siv.c114 size_t outsize, const unsigned char *in, size_t inl) in siv_cipher() argument
129 if (outsize < inl) { in siv_cipher()
144 size_t outsize) in siv_stream_final() argument
H A Dcipher_aes_wrp.c226 size_t outsize) in aes_wrap_final() argument
236 unsigned char *out, size_t *outl, size_t outsize, in aes_wrap_cipher() argument
250 if (outsize < inl) { in aes_wrap_cipher()
H A Dcipher_chacha20_poly1305.c286 size_t *outl, size_t outsize, in chacha20_poly1305_cipher() argument
301 if (outsize < inl) { in chacha20_poly1305_cipher()
313 size_t outsize) in chacha20_poly1305_final() argument
H A Dcipher_aes_gcm_siv.c139 size_t outsize, const unsigned char *in, size_t inl) in ossl_aes_gcm_siv_cipher() argument
154 if (outsize < inl) { in ossl_aes_gcm_siv_cipher()
167 size_t outsize) in ossl_aes_gcm_siv_stream_final() argument
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c151 size_t outsize, const unsigned char *in, size_t inlen) in rsa_encrypt() argument
223 size_t outsize, const unsigned char *in, size_t inlen) in rsa_decrypt() argument
238 if (outsize < SSL_MAX_MASTER_KEY_LENGTH) { in rsa_decrypt()
252 if (outsize < len) { in rsa_decrypt()
284 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf, in rsa_decrypt()
298 prsactx->libctx, out, outsize, tbuf, len, in rsa_decrypt()
H A Dsm2_enc.c83 size_t outsize, const unsigned char *in, in sm2_asym_encrypt() argument
104 size_t outsize, const unsigned char *in, in sm2_asym_decrypt() argument
/openssl/doc/man7/
H 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.
164 amount of data written to I<*outl> which should not exceed I<outsize> bytes.
165 The same expectations apply to I<outsize> as documented for
180 I<outsize> bytes.
H A Dprovider-asym_cipher.pod29 size_t outsize, const unsigned char *in,
36 size_t outsize, const unsigned char *in,
137 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
160 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
H 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/providers/implementations/macs/
H A Dsiphash_prov.c139 size_t outsize) in siphash_final() argument
144 if (!ossl_prov_is_running() || outsize < hlen) in siphash_final()
H A Dpoly1305_prov.c122 size_t outsize) in poly1305_final() argument
H A Dblake2_mac_impl.c136 size_t outsize) in blake2_mac_final() argument
H A Dgmac_prov.c146 size_t outsize) in gmac_final() argument
/openssl/include/openssl/
H A Dcore_dispatch.h372 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,
419 unsigned char *out, size_t *outl, size_t outsize))
850 size_t outsize,
857 size_t outsize,
/openssl/doc/man3/
H 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).
157 the memory pointed at by I<out> of size I<outsize>, and sets the number
159 If I<out> is NULL or I<outsize> is too small, then no computation
167 the result in the memory pointed at by I<out> of size I<outsize>.

Completed in 48 milliseconds

12