Home
last modified time | relevance | path

Searched refs:EVP_MAX_MD_SIZE (Results 1 – 25 of 28) sorted by relevance

12

/external/boringssl/src/include/openssl/
Dssl3.h361 uint8_t read_mac_secret[EVP_MAX_MD_SIZE];
364 uint8_t write_mac_secret[EVP_MAX_MD_SIZE];
430 uint8_t finish_md[EVP_MAX_MD_SIZE * 2];
432 uint8_t peer_finish_md[EVP_MAX_MD_SIZE * 2];
513 uint8_t previous_client_finished[EVP_MAX_MD_SIZE];
515 uint8_t previous_server_finished[EVP_MAX_MD_SIZE];
Ddigest.h143 #define EVP_MAX_MD_SIZE 64 /* SHA-512 is the longest so far. */ macro
/external/boringssl/src/crypto/cipher/
Dtls_cbc.c136 uint8_t rotated_mac_buf[64 + EVP_MAX_MD_SIZE]; in EVP_tls_cbc_copy_mac()
139 uint8_t rotated_mac[EVP_MAX_MD_SIZE]; in EVP_tls_cbc_copy_mac()
154 assert(md_size <= EVP_MAX_MD_SIZE); in EVP_tls_cbc_copy_mac()
294 uint8_t mac_out[EVP_MAX_MD_SIZE]; in EVP_tls_cbc_digest_record()
342 assert(md_size <= EVP_MAX_MD_SIZE); in EVP_tls_cbc_digest_record()
Dderive_key.c73 uint8_t md_buf[EVP_MAX_MD_SIZE]; in EVP_BytesToKey()
152 OPENSSL_cleanse(md_buf, EVP_MAX_MD_SIZE); in EVP_BytesToKey()
De_tls.c36 uint8_t mac_key[EVP_MAX_MD_SIZE];
43 OPENSSL_COMPILE_ASSERT(EVP_MAX_MD_SIZE < 256, mac_key_len_fits_in_uint8_t);
83 assert(mac_key_len <= EVP_MAX_MD_SIZE); in aead_tls_init()
147 uint8_t mac[EVP_MAX_MD_SIZE]; in aead_tls_seal()
306 uint8_t mac[EVP_MAX_MD_SIZE]; in aead_tls_open()
308 uint8_t record_mac_tmp[EVP_MAX_MD_SIZE]; in aead_tls_open()
De_ssl3.c51 uint8_t tmp[EVP_MAX_MD_SIZE]; in ssl3_mac()
164 uint8_t mac[EVP_MAX_MD_SIZE]; in aead_ssl3_seal()
287 uint8_t mac[EVP_MAX_MD_SIZE]; in aead_ssl3_open()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c31 uint8_t prk[EVP_MAX_MD_SIZE], previous[EVP_MAX_MD_SIZE]; in HKDF()
/external/boringssl/src/ssl/
Ds3_both.c179 assert(n <= EVP_MAX_MD_SIZE); in ssl3_send_finished()
183 assert(n <= EVP_MAX_MD_SIZE); in ssl3_send_finished()
228 s->method->ssl_get_message(s, a, b, SSL3_MT_FINISHED, EVP_MAX_MD_SIZE, in ssl3_get_finished()
267 assert(finished_len <= EVP_MAX_MD_SIZE); in ssl3_get_finished()
271 assert(finished_len <= EVP_MAX_MD_SIZE); in ssl3_get_finished()
456 OPENSSL_COMPILE_ASSERT(EVP_MAX_MD_SIZE > MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH,
Dt1_enc.c162 uint8_t A1[EVP_MAX_MD_SIZE]; in tls1_P_hash()
553 uint8_t buf[2 * EVP_MAX_MD_SIZE]; in tls1_final_finish_mac()
589 uint8_t digests[2 * EVP_MAX_MD_SIZE]; in tls1_generate_master_secret()
Ds3_enc.c358 uint8_t md_buf[EVP_MAX_MD_SIZE]; in ssl3_handshake_mac()
Dt1_lib.c2106 uint8_t tick_hmac[EVP_MAX_MD_SIZE]; in tls_decrypt_ticket()
2528 uint8_t temp_digest[EVP_MAX_MD_SIZE]; in tls1_channel_id_hash()
/external/boringssl/src/crypto/evp/
Dsign.c79 uint8_t m[EVP_MAX_MD_SIZE]; in EVP_SignFinal()
125 uint8_t m[EVP_MAX_MD_SIZE]; in EVP_VerifyFinal()
Ddigestsign.c154 uint8_t md[EVP_MAX_MD_SIZE]; in EVP_DigestSignFinal()
184 uint8_t md[EVP_MAX_MD_SIZE]; in EVP_DigestVerifyFinal()
Dp_hmac_asn1.c66 static int hmac_size(const EVP_PKEY *pkey) { return EVP_MAX_MD_SIZE; } in hmac_size()
Dpbkdf.c66 uint8_t digest_tmp[EVP_MAX_MD_SIZE], *p, itmp[4]; in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/rsa/
Dpadding.c335 uint8_t md[EVP_MAX_MD_SIZE]; in PKCS1_MGF1()
378 uint8_t *dbmask = NULL, seedmask[EVP_MAX_MD_SIZE]; in RSA_padding_add_PKCS1_OAEP_mgf1()
456 uint8_t *db = NULL, seed[EVP_MAX_MD_SIZE], phash[EVP_MAX_MD_SIZE]; in RSA_padding_check_PKCS1_OAEP_mgf1()
561 uint8_t H_[EVP_MAX_MD_SIZE]; in RSA_verify_PKCS1_PSS_mgf1()
/external/boringssl/src/tool/
Ddigest.cc165 uint8_t digest[EVP_MAX_MD_SIZE]; in SumFile()
172 char hex_digest[EVP_MAX_MD_SIZE * 2]; in SumFile()
246 char line[EVP_MAX_MD_SIZE * 2 + 2 /* spaces */ + PATH_MAX + 1 /* newline */ + in Check()
Dspeed.cc255 uint8_t digest[EVP_MAX_MD_SIZE]; in SpeedHashChunk()
/external/boringssl/src/crypto/digest/
Ddigest_test.cc142 char digest_hex[2*EVP_MAX_MD_SIZE + 1]; in CompareDigest()
174 uint8_t digest[EVP_MAX_MD_SIZE]; in TestDigest()
Ddigest.c207 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
/external/boringssl/src/crypto/hmac/
Dhmac.c69 static uint8_t static_out_buffer[EVP_MAX_MD_SIZE]; in HMAC()
173 uint8_t buf[EVP_MAX_MD_SIZE]; in HMAC_Final()
Dhmac_test.cc108 uint8_t mac[EVP_MAX_MD_SIZE]; in TestHMAC()
/external/boringssl/src/crypto/x509v3/
Dv3_skey.c109 unsigned char pkey_dig[EVP_MAX_MD_SIZE]; in s2i_skey_id()
/external/libvncserver/x11vnc/
Denc.h1105 char digest[EVP_MAX_MD_SIZE], tmp[16]; in rsa_md5_sum()
1106 char md5str[EVP_MAX_MD_SIZE * 8]; in rsa_md5_sum()
1452 unsigned char digest[EVP_MAX_MD_SIZE], *signature; in securevnc_setup()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c956 uint8_t hmac_key[EVP_MAX_MD_SIZE]; in PKCS12_get_key_and_certs()
957 uint8_t hmac[EVP_MAX_MD_SIZE]; in PKCS12_get_key_and_certs()

12