Home | History | Annotate | Download | only in keymaster

Lines Matching refs:peek_read

165     if (!data_.write(input.peek_read(), input.available_read())) {
286 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1)
334 const uint8_t* to_encrypt = data_.peek_read();
355 bytes_encrypted = RSA_private_encrypt(data_.available_read(), data_.peek_read(),
409 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1)
459 int bytes_decrypted = RSA_public_decrypt(signature.available_read(), signature.peek_read(),
476 if (memcmp_s(compare_pos, data_.peek_read(), bytes_to_compare) != 0 || zero_check_result != 0)
482 if (!EVP_DigestVerifyFinal(&digest_ctx_, signature.peek_read(), signature.available_read()))
547 if (EVP_PKEY_encrypt(ctx.get(), nullptr /* out */, &outlen, data_.peek_read(),
554 const uint8_t* to_encrypt = data_.peek_read();
600 if (EVP_PKEY_decrypt(ctx.get(), nullptr /* out */, &outlen, data_.peek_read(),
607 const uint8_t* to_decrypt = data_.peek_read();