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_aes.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

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

Go to the source code of this file.

Classes

struct  CRYPT_aes_context

Functions

void CRYPT_AESSetKey (CRYPT_aes_context *ctx, const uint8_t *key, uint32_t keylen)
void CRYPT_AESSetIV (CRYPT_aes_context *ctx, const uint8_t *iv)
void CRYPT_AESDecrypt (CRYPT_aes_context *ctx, uint8_t *dest, const uint8_t *src, uint32_t size)
void CRYPT_AESEncrypt (CRYPT_aes_context *ctx, pdfium::span< uint8_t > dest, pdfium::span< const uint8_t > src)

Function Documentation

◆ CRYPT_AESDecrypt()

void CRYPT_AESDecrypt ( CRYPT_aes_context * ctx,
uint8_t * dest,
const uint8_t * src,
uint32_t size )

Definition at line 594 of file fx_crypt_aes.cpp.

References fxcrt::PutUInt32MSBFirst().

Here is the call graph for this function:

◆ CRYPT_AESEncrypt()

void CRYPT_AESEncrypt ( CRYPT_aes_context * ctx,
pdfium::span< uint8_t > dest,
pdfium::span< const uint8_t > src )

Definition at line 624 of file fx_crypt_aes.cpp.

◆ CRYPT_AESSetIV()

void CRYPT_AESSetIV ( CRYPT_aes_context * ctx,
const uint8_t * iv )

Definition at line 586 of file fx_crypt_aes.cpp.

References CRYPT_aes_context::Nb.

◆ CRYPT_AESSetKey()

void CRYPT_AESSetKey ( CRYPT_aes_context * ctx,
const uint8_t * key,
uint32_t keylen )

Definition at line 530 of file fx_crypt_aes.cpp.

References CRYPT_aes_context::Nb, and CRYPT_aes_context::Nr.