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 EVP_DigestUpdate(&c,&(md_buf[0]),mds); in EVP_BytesToKey()
141 EVP_DigestFinal_ex(&c,&(md_buf[0]),&mds); in EVP_BytesToKey()
146 EVP_DigestUpdate(&c,&(md_buf[0]),mds); in EVP_BytesToKey()
147 EVP_DigestFinal_ex(&c,&(md_buf[0]),&mds); in EVP_BytesToKey()
157 *(key++)=md_buf[i]; in EVP_BytesToKey()
169 *(iv++)=md_buf[i]; in EVP_BytesToKey()
177 OPENSSL_cleanse(&(md_buf[0]),EVP_MAX_MD_SIZE); in EVP_BytesToKey()
/external/openssl/ssl/
Ds3_enc.c651 unsigned char md_buf[EVP_MAX_MD_SIZE]; in ssl3_handshake_mac() local
684 EVP_DigestFinal_ex(&ctx,md_buf,&i); in ssl3_handshake_mac()
690 EVP_DigestUpdate(&ctx,md_buf,i); in ssl3_handshake_mac()
Dd1_srvr.c867 unsigned char md_buf[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; in dtls1_send_server_key_exchange() local
1211 q=md_buf; in dtls1_send_server_key_exchange()
1225 if (RSA_sign(NID_md5_sha1, md_buf, j, in dtls1_send_server_key_exchange()
Ds3_clnt.c1211 unsigned char *q,md_buf[EVP_MAX_MD_SIZE*2]; in ssl3_get_key_exchange() local
1605 q=md_buf; in ssl3_get_key_exchange()
1617 i=RSA_verify(NID_md5_sha1, md_buf, j, p, n, in ssl3_get_key_exchange()
Ds3_srvr.c1420 unsigned char md_buf[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; in ssl3_send_server_key_exchange() local
1763 q=md_buf; in ssl3_send_server_key_exchange()
1777 if (RSA_sign(NID_md5_sha1, md_buf, j, in ssl3_send_server_key_exchange()