Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_crypt.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include <stdint.h>
#include <array>
#include "core/fdrm/fx_crypt_aes.h"
#include "core/fdrm/fx_crypt_sha.h"
#include "core/fxcrt/span.h"
+ Include dependency graph for fx_crypt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CRYPT_rc4_context
 
struct  CRYPT_md5_context
 

Functions

void CRYPT_ArcFourCryptBlock (pdfium::span< uint8_t > data, pdfium::span< const uint8_t > key)
 
void CRYPT_ArcFourSetup (CRYPT_rc4_context *context, pdfium::span< const uint8_t > key)
 
void CRYPT_ArcFourCrypt (CRYPT_rc4_context *context, pdfium::span< uint8_t > data)
 
CRYPT_md5_context CRYPT_MD5Start ()
 
void CRYPT_MD5Update (CRYPT_md5_context *context, pdfium::span< const uint8_t > data)
 
void CRYPT_MD5Finish (CRYPT_md5_context *context, pdfium::span< uint8_t, 16 > digest)
 
void CRYPT_MD5Generate (pdfium::span< const uint8_t > data, pdfium::span< uint8_t, 16 > digest)
 

Function Documentation

◆ CRYPT_ArcFourCrypt()

void CRYPT_ArcFourCrypt ( CRYPT_rc4_context * context,
pdfium::span< uint8_t > data )

Definition at line 146 of file fx_crypt.cpp.

◆ CRYPT_ArcFourCryptBlock()

void CRYPT_ArcFourCryptBlock ( pdfium::span< uint8_t > data,
pdfium::span< const uint8_t > key )

Definition at line 157 of file fx_crypt.cpp.

◆ CRYPT_ArcFourSetup()

void CRYPT_ArcFourSetup ( CRYPT_rc4_context * context,
pdfium::span< const uint8_t > key )

◆ CRYPT_MD5Finish()

void CRYPT_MD5Finish ( CRYPT_md5_context * context,
pdfium::span< uint8_t, 16 > digest )

Definition at line 203 of file fx_crypt.cpp.

◆ CRYPT_MD5Generate()

void CRYPT_MD5Generate ( pdfium::span< const uint8_t > data,
pdfium::span< uint8_t, 16 > digest )

Definition at line 219 of file fx_crypt.cpp.

References CRYPT_MD5Start().

+ Here is the call graph for this function:

◆ CRYPT_MD5Start()

CRYPT_md5_context CRYPT_MD5Start ( )

Definition at line 164 of file fx_crypt.cpp.

Referenced by CRYPT_MD5Generate(), pdfium::CFDETextOutTest::GetBitmapChecksum(), EmbedderTest::HashBitmap(), CPDF_SecurityHandler::OnCreate(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ CRYPT_MD5Update()

void CRYPT_MD5Update ( CRYPT_md5_context * context,
pdfium::span< const uint8_t > data )

Definition at line 175 of file fx_crypt.cpp.

References CRYPT_md5_context::buffer.