Home
last modified time | relevance | path

Searched refs:md_buf (Results 1 – 5 of 5) sorted by relevance

/external/openssl/crypto/evp/
Devp_key.c120 unsigned char md_buf[EVP_MAX_MD_SIZE]; in EVP_BytesToKey() local
137 if (!EVP_DigestUpdate(&c,&(md_buf[0]),mds)) in EVP_BytesToKey()
144 if (!EVP_DigestFinal_ex(&c,&(md_buf[0]),&mds)) in EVP_BytesToKey()
151 if (!EVP_DigestUpdate(&c,&(md_buf[0]),mds)) in EVP_BytesToKey()
153 if (!EVP_DigestFinal_ex(&c,&(md_buf[0]),&mds)) in EVP_BytesToKey()
164 *(key++)=md_buf[i]; in EVP_BytesToKey()
176 *(iv++)=md_buf[i]; in EVP_BytesToKey()
186 OPENSSL_cleanse(&(md_buf[0]),EVP_MAX_MD_SIZE); in EVP_BytesToKey()
/external/openssl/ssl/
Ds3_enc.c664 unsigned char md_buf[EVP_MAX_MD_SIZE]; in ssl3_handshake_mac() local
698 EVP_DigestFinal_ex(&ctx,md_buf,&i); in ssl3_handshake_mac()
704 EVP_DigestUpdate(&ctx,md_buf,i); in ssl3_handshake_mac()
Dd1_srvr.c1028 unsigned char md_buf[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; in dtls1_send_server_key_exchange() local
1371 q=md_buf; in dtls1_send_server_key_exchange()
1385 if (RSA_sign(NID_md5_sha1, md_buf, j, in dtls1_send_server_key_exchange()
Ds3_srvr.c1560 unsigned char md_buf[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; in ssl3_send_server_key_exchange() local
1934 q=md_buf; in ssl3_send_server_key_exchange()
1950 if (RSA_sign(NID_md5_sha1, md_buf, j, in ssl3_send_server_key_exchange()
Ds3_clnt.c1321 unsigned char *q,md_buf[EVP_MAX_MD_SIZE*2]; in ssl3_get_key_exchange() local
1829 q=md_buf; in ssl3_get_key_exchange()
1843 i=RSA_verify(NID_md5_sha1, md_buf, j, p, n, in ssl3_get_key_exchange()