Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <stdint.h>
#include "third_party/base/containers/span.h"
Go to the source code of this file.
Classes | |
struct | CRYPT_rc4_context |
struct | CRYPT_aes_context |
struct | CRYPT_md5_context |
struct | CRYPT_sha1_context |
struct | CRYPT_sha2_context |
void CRYPT_AESDecrypt | ( | CRYPT_aes_context * | context, |
uint8_t * | dest, | ||
const uint8_t * | src, | ||
uint32_t | size ) |
Definition at line 647 of file fx_crypt_aes.cpp.
void CRYPT_AESEncrypt | ( | CRYPT_aes_context * | context, |
uint8_t * | dest, | ||
const uint8_t * | src, | ||
uint32_t | size ) |
Definition at line 654 of file fx_crypt_aes.cpp.
void CRYPT_AESSetIV | ( | CRYPT_aes_context * | context, |
const uint8_t * | iv ) |
Definition at line 642 of file fx_crypt_aes.cpp.
References CRYPT_aes_context::iv, and CRYPT_aes_context::Nb.
void CRYPT_AESSetKey | ( | CRYPT_aes_context * | context, |
const uint8_t * | key, | ||
uint32_t | keylen ) |
Definition at line 636 of file fx_crypt_aes.cpp.
void CRYPT_ArcFourCrypt | ( | CRYPT_rc4_context * | context, |
pdfium::span< uint8_t > | data ) |
Definition at line 158 of file fx_crypt.cpp.
void CRYPT_ArcFourCryptBlock | ( | pdfium::span< uint8_t > | data, |
pdfium::span< const uint8_t > | key ) |
Definition at line 169 of file fx_crypt.cpp.
void CRYPT_ArcFourSetup | ( | CRYPT_rc4_context * | context, |
pdfium::span< const uint8_t > | key ) |
Definition at line 143 of file fx_crypt.cpp.
References CRYPT_rc4_context::kPermutationLength, CRYPT_rc4_context::m, CRYPT_rc4_context::x, and CRYPT_rc4_context::y.
void CRYPT_MD5Finish | ( | CRYPT_md5_context * | context, |
uint8_t | digest[16] ) |
Definition at line 214 of file fx_crypt.cpp.
References CRYPT_md5_context::state, and CRYPT_md5_context::total.
Referenced by CRYPT_MD5Generate(), CFDETextOutTest::GetBitmapChecksum(), EmbedderTest::HashBitmap(), CPDF_SecurityHandler::OnCreate(), TEST(), TEST(), and TEST().
void CRYPT_MD5Generate | ( | pdfium::span< const uint8_t > | data, |
uint8_t | digest[16] ) |
Definition at line 228 of file fx_crypt.cpp.
References CRYPT_MD5Finish(), and CRYPT_MD5Start().
CRYPT_md5_context CRYPT_MD5Start | ( | ) |
Definition at line 176 of file fx_crypt.cpp.
References CRYPT_md5_context::state, and CRYPT_md5_context::total.
Referenced by CRYPT_MD5Generate(), CFDETextOutTest::GetBitmapChecksum(), EmbedderTest::HashBitmap(), CPDF_SecurityHandler::OnCreate(), TEST(), TEST(), and TEST().
void CRYPT_MD5Update | ( | CRYPT_md5_context * | context, |
pdfium::span< const uint8_t > | data ) |
Definition at line 187 of file fx_crypt.cpp.
References CRYPT_md5_context::buffer, and CRYPT_md5_context::total.
void CRYPT_SHA1Finish | ( | CRYPT_sha1_context * | context, |
uint8_t | digest[20] ) |
Definition at line 392 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, CRYPT_SHA1Update(), CRYPT_sha1_context::h, and CRYPT_sha1_context::total_bytes.
Referenced by CRYPT_SHA1Generate().
void CRYPT_SHA1Generate | ( | const uint8_t * | data, |
uint32_t | size, | ||
uint8_t | digest[20] ) |
Definition at line 421 of file fx_crypt_sha.cpp.
References CRYPT_SHA1Finish(), CRYPT_SHA1Start(), and CRYPT_SHA1Update().
void CRYPT_SHA1Start | ( | CRYPT_sha1_context * | context | ) |
Definition at line 359 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, CRYPT_sha1_context::h, and CRYPT_sha1_context::total_bytes.
Referenced by CRYPT_SHA1Generate().
void CRYPT_SHA1Update | ( | CRYPT_sha1_context * | context, |
const uint8_t * | data, | ||
uint32_t | size ) |
Definition at line 365 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, CRYPT_sha1_context::block, CRYPT_sha1_context::h, and CRYPT_sha1_context::total_bytes.
Referenced by CRYPT_SHA1Finish(), and CRYPT_SHA1Generate().
void CRYPT_SHA256Finish | ( | CRYPT_sha2_context * | context, |
uint8_t | digest[32] ) |
Definition at line 468 of file fx_crypt_sha.cpp.
References CRYPT_SHA256Update(), CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA256Generate(), and CPDF_SecurityHandler::OnCreate().
void CRYPT_SHA256Generate | ( | const uint8_t * | data, |
uint32_t | size, | ||
uint8_t | digest[32] ) |
Definition at line 486 of file fx_crypt_sha.cpp.
References CRYPT_SHA256Finish(), CRYPT_SHA256Start(), and CRYPT_SHA256Update().
void CRYPT_SHA256Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 430 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA256Generate(), and CPDF_SecurityHandler::OnCreate().
void CRYPT_SHA256Update | ( | CRYPT_sha2_context * | context, |
const uint8_t * | data, | ||
uint32_t | size ) |
Definition at line 443 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA256Finish(), CRYPT_SHA256Generate(), and CPDF_SecurityHandler::OnCreate().
void CRYPT_SHA384Finish | ( | CRYPT_sha2_context * | context, |
uint8_t | digest[48] ) |
Definition at line 533 of file fx_crypt_sha.cpp.
References CRYPT_SHA384Update(), CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA384Generate().
void CRYPT_SHA384Generate | ( | const uint8_t * | data, |
uint32_t | size, | ||
uint8_t | digest[48] ) |
Definition at line 550 of file fx_crypt_sha.cpp.
References CRYPT_SHA384Finish(), CRYPT_SHA384Start(), and CRYPT_SHA384Update().
void CRYPT_SHA384Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 495 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA384Generate().
void CRYPT_SHA384Update | ( | CRYPT_sha2_context * | context, |
const uint8_t * | data, | ||
uint32_t | size ) |
Definition at line 508 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA384Finish(), CRYPT_SHA384Generate(), and CRYPT_SHA512Update().
void CRYPT_SHA512Finish | ( | CRYPT_sha2_context * | context, |
uint8_t | digest[64] ) |
Definition at line 578 of file fx_crypt_sha.cpp.
References CRYPT_SHA512Update(), CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA512Generate().
void CRYPT_SHA512Generate | ( | const uint8_t * | data, |
uint32_t | size, | ||
uint8_t | digest[64] ) |
Definition at line 597 of file fx_crypt_sha.cpp.
References CRYPT_SHA512Finish(), CRYPT_SHA512Start(), and CRYPT_SHA512Update().
void CRYPT_SHA512Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 559 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, CRYPT_sha2_context::state, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA512Generate().
void CRYPT_SHA512Update | ( | CRYPT_sha2_context * | context, |
const uint8_t * | data, | ||
uint32_t | size ) |
Definition at line 572 of file fx_crypt_sha.cpp.
References CRYPT_SHA384Update().
Referenced by CRYPT_SHA512Finish(), and CRYPT_SHA512Generate().