Searched refs:md_buf (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/cipher/ |
D | derive_key.c | 73 uint8_t md_buf[EVP_MAX_MD_SIZE]; in EVP_BytesToKey() local 94 if (!EVP_DigestUpdate(&c, md_buf, mds)) { in EVP_BytesToKey() 106 if (!EVP_DigestFinal_ex(&c, md_buf, &mds)) { in EVP_BytesToKey() 112 !EVP_DigestUpdate(&c, md_buf, mds) || in EVP_BytesToKey() 113 !EVP_DigestFinal_ex(&c, md_buf, &mds)) { in EVP_BytesToKey() 125 *(key++) = md_buf[i]; in EVP_BytesToKey() 138 *(iv++) = md_buf[i]; in EVP_BytesToKey() 152 OPENSSL_cleanse(md_buf, EVP_MAX_MD_SIZE); in EVP_BytesToKey()
|
/external/boringssl/src/ssl/ |
D | s3_enc.c | 339 uint8_t md_buf[EVP_MAX_MD_SIZE]; in ssl3_handshake_mac() local 368 EVP_DigestFinal_ex(&ctx, md_buf, &i); in ssl3_handshake_mac() 378 EVP_DigestUpdate(&ctx, md_buf, i); in ssl3_handshake_mac()
|