/openssl/crypto/evp/ |
H A D | mac_lib.c | 127 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 D | ciphercommon.c | 249 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 D | cipher_tdes_wrap.c | 127 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 D | cipher_aes_xts.c | 177 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 D | cipher_sm4_xts.c | 122 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 D | cipher_aes_ocb.c | 162 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 D | cipher_null.c | 66 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 D | ciphercommon_ccm.c | 270 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 D | ciphercommon_gcm.c | 331 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 D | cipher_cts.c | 328 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 D | cipher_aes_siv.c | 114 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 D | cipher_aes_wrp.c | 226 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 D | cipher_chacha20_poly1305.c | 286 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 D | cipher_aes_gcm_siv.c | 139 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 D | rsa_enc.c | 151 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 D | sm2_enc.c | 83 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 D | provider-cipher.pod | 33 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 D | provider-asym_cipher.pod | 29 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 D | provider-mac.pod | 29 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 D | siphash_prov.c | 139 size_t outsize) in siphash_final() argument 144 if (!ossl_prov_is_running() || outsize < hlen) in siphash_final()
|
H A D | poly1305_prov.c | 122 size_t outsize) in poly1305_final() argument
|
H A D | blake2_mac_impl.c | 136 size_t outsize) in blake2_mac_final() argument
|
H A D | gmac_prov.c | 146 size_t outsize) in gmac_final() argument
|
/openssl/include/openssl/ |
H A D | core_dispatch.h | 370 unsigned char *out, size_t *outl, size_t outsize, 374 unsigned char *out, size_t *outl, size_t outsize)) 377 unsigned char *out, size_t *outl, size_t outsize, 417 unsigned char *out, size_t *outl, size_t outsize)) 848 size_t outsize, 855 size_t outsize,
|
/openssl/doc/man3/ |
H A D | EVP_MAC.pod | 49 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>.
|