Searched refs:mac_size (Results 1 – 9 of 9) sorted by relevance
/openssl/ssl/record/methods/ |
H A D | tls_pad.c | 32 size_t mac_size, 110 + mac_size; in tls1_cbc_remove_padding_and_mac() 206 size_t mac_start = mac_end - mac_size; in ssl3_cbc_copy_mac() 221 if (mac_size == 0) { in ssl3_cbc_copy_mac() 228 *reclen -= mac_size; in ssl3_cbc_copy_mac() 255 if (origreclen > mac_size + 255 + 1) in ssl3_cbc_copy_mac() 260 memset(rotated_mac, 0, mac_size); in ssl3_cbc_copy_mac() 276 for (i = 0; i < mac_size; i++) { in ssl3_cbc_copy_mac() 294 memset(out, 0, mac_size); in ssl3_cbc_copy_mac() 297 for (i = 0; i < mac_size; i++) { in ssl3_cbc_copy_mac() [all …]
|
H A D | dtls_meth.c | 114 size_t mac_size = 0; in dtls_process_record() local 158 mac_size = (size_t)imac_size; in dtls_process_record() 165 if (rr->orig_len < mac_size) { in dtls_process_record() 169 rr->length -= mac_size; in dtls_process_record() 172 if (i == 0 || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0) { in dtls_process_record() 181 mac_size = 0; in dtls_process_record() 190 enc_err = rl->funcs->cipher(rl, rr, 1, 0, &macbuf, mac_size); in dtls_process_record() 223 || CRYPTO_memcmp(md, macbuf.mac, mac_size) != 0) in dtls_process_record() 225 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH + mac_size) in dtls_process_record() 724 size_t mac_size, in dtls_post_encryption_processing() argument [all …]
|
H A D | tls_common.c | 553 size_t mac_size = 0; in tls_get_more_records() local 780 mac_size = (size_t)imac_size; in tls_get_more_records() 794 if (thisrr->length < mac_size) { in tls_get_more_records() 798 thisrr->length -= mac_size; in tls_get_more_records() 811 mac_size = 0; in tls_get_more_records() 814 if (mac_size > 0) { in tls_get_more_records() 1644 if (!rl->use_etm && mac_size != 0) { in tls_prepare_for_encryption_default() 1661 - mac_size, NULL) in tls_prepare_for_encryption_default() 1704 if (rl->use_etm && mac_size != 0) { in tls_post_encryption_processing_default() 1755 int mac_size = 0, ret = 0; in tls_write_records_default() local [all …]
|
H A D | recmethod_local.h | 189 size_t mac_size, 198 size_t mac_size, 427 size_t mac_size, 513 size_t mac_size, 517 size_t mac_size,
|
H A D | tlsany_meth.c | 140 size_t mac_size, in tls_any_prepare_for_encryption() argument
|
H A D | ktls_meth.c | 505 size_t mac_size, in ktls_prepare_for_encryption() argument 514 size_t mac_size, in ktls_post_encryption_processing() argument
|
/openssl/include/internal/ |
H A D | ssl3_cbc.h | 18 size_t block_size, size_t mac_size, 26 size_t block_size, size_t mac_size,
|
/openssl/doc/man7/ |
H A D | EVP_KDF-SS.pod | 26 =item B<H(x) = KMACxxx(x, key=salt, custom="KDF", outlen=mac_size)>
|
/openssl/test/ |
H A D | evp_kdf_test.c | 1635 size_t mac_size = 20; in test_kdf_ss_kmac() local 1664 *p++ = OSSL_PARAM_construct_size_t(OSSL_KDF_PARAM_MAC_SIZE, &mac_size); in test_kdf_ss_kmac()
|
Completed in 24 milliseconds