![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fdrm/fx_crypt_sha.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_memcpy_wrappers.h"
#include "core/fxcrt/stl_util.h"
Go to the source code of this file.
Macros | |
#define | SHA_GET_UINT32(n, b, i) |
#define | SHA_PUT_UINT32(n, b, i) |
#define | SHA_GET_UINT64(n, b, i) |
#define | SHA_PUT_UINT64(n, b, i) |
#define | SHA384_F0(x, y, z) |
#define | SHA384_F1(x, y, z) |
#define | SHA384_SHR(x, n) |
#define | SHA384_ROTR(x, n) |
#define | SHA384_S0(x) |
#define | SHA384_S1(x) |
#define | SHA384_S2(x) |
#define | SHA384_S3(x) |
#define | SHA384_P(a, b, c, d, e, f, g, h, x, K) |
#define | SHA384_R(t) |
#define | rol(x, y) |
#define | SHR(x, n) |
#define | ROTR(x, n) |
#define | S0(x) |
#define | S1(x) |
#define | S2(x) |
#define | S3(x) |
#define | F0(x, y, z) |
#define | F1(x, y, z) |
#define | R(t) |
#define | PS(a, b, c, d, e, f, g, h, x, K) |
Definition at line 75 of file fx_crypt_sha.cpp.
Definition at line 79 of file fx_crypt_sha.cpp.
#define R | ( | t | ) |
Definition at line 77 of file fx_crypt_sha.cpp.
Definition at line 70 of file fx_crypt_sha.cpp.
#define S0 | ( | x | ) |
Definition at line 71 of file fx_crypt_sha.cpp.
#define S1 | ( | x | ) |
#define S2 | ( | x | ) |
#define S3 | ( | x | ) |
Definition at line 58 of file fx_crypt_sha.cpp.
#define SHA384_R | ( | t | ) |
Definition at line 65 of file fx_crypt_sha.cpp.
Definition at line 50 of file fx_crypt_sha.cpp.
#define SHA384_S0 | ( | x | ) |
Definition at line 51 of file fx_crypt_sha.cpp.
#define SHA384_S1 | ( | x | ) |
Definition at line 52 of file fx_crypt_sha.cpp.
#define SHA384_S2 | ( | x | ) |
Definition at line 54 of file fx_crypt_sha.cpp.
#define SHA384_S3 | ( | x | ) |
Definition at line 56 of file fx_crypt_sha.cpp.
Definition at line 13 of file fx_crypt_sha.cpp.
Definition at line 27 of file fx_crypt_sha.cpp.
Definition at line 35 of file fx_crypt_sha.cpp.
void CRYPT_SHA1Finish | ( | CRYPT_sha1_context * | context, |
pdfium::span< uint8_t, 20 > | digest ) |
Definition at line 400 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, and CRYPT_sha1_context::total_bytes.
DataVector< uint8_t > CRYPT_SHA1Generate | ( | pdfium::span< const uint8_t > | data | ) |
Definition at line 430 of file fx_crypt_sha.cpp.
References CRYPT_SHA1Start().
void CRYPT_SHA1Start | ( | CRYPT_sha1_context * | context | ) |
Definition at line 367 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, and CRYPT_sha1_context::total_bytes.
Referenced by CRYPT_SHA1Generate().
void CRYPT_SHA1Update | ( | CRYPT_sha1_context * | context, |
pdfium::span< const uint8_t > | data ) |
Definition at line 373 of file fx_crypt_sha.cpp.
References CRYPT_sha1_context::blkused, and CRYPT_sha1_context::total_bytes.
void CRYPT_SHA256Finish | ( | CRYPT_sha2_context * | context, |
pdfium::span< uint8_t, 32 > | digest ) |
Definition at line 477 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::total_bytes.
DataVector< uint8_t > CRYPT_SHA256Generate | ( | pdfium::span< const uint8_t > | data | ) |
Definition at line 496 of file fx_crypt_sha.cpp.
References CRYPT_SHA256Start().
void CRYPT_SHA256Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 440 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA256Generate(), and CPDF_SecurityHandler::OnCreate().
void CRYPT_SHA256Update | ( | CRYPT_sha2_context * | context, |
pdfium::span< const uint8_t > | data ) |
Definition at line 453 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
void CRYPT_SHA384Finish | ( | CRYPT_sha2_context * | context, |
pdfium::span< uint8_t, 48 > | digest ) |
Definition at line 543 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::total_bytes.
DataVector< uint8_t > CRYPT_SHA384Generate | ( | pdfium::span< const uint8_t > | data | ) |
Definition at line 561 of file fx_crypt_sha.cpp.
References CRYPT_SHA384Start().
void CRYPT_SHA384Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 506 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA384Generate().
void CRYPT_SHA384Update | ( | CRYPT_sha2_context * | context, |
pdfium::span< const uint8_t > | data ) |
Definition at line 519 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
void CRYPT_SHA512Finish | ( | CRYPT_sha2_context * | context, |
pdfium::span< uint8_t, 64 > | digest ) |
Definition at line 589 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::total_bytes.
DataVector< uint8_t > CRYPT_SHA512Generate | ( | pdfium::span< const uint8_t > | data | ) |
Definition at line 609 of file fx_crypt_sha.cpp.
References CRYPT_SHA512Start().
void CRYPT_SHA512Start | ( | CRYPT_sha2_context * | context | ) |
Definition at line 571 of file fx_crypt_sha.cpp.
References CRYPT_sha2_context::buffer, and CRYPT_sha2_context::total_bytes.
Referenced by CRYPT_SHA512Generate().
void CRYPT_SHA512Update | ( | CRYPT_sha2_context * | context, |
pdfium::span< const uint8_t > | data ) |
Definition at line 584 of file fx_crypt_sha.cpp.