/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 78 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx() 97 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal() 124 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx() local 139 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced() local 153 static void ZSTD_clearDict(ZSTD_DCtx* dctx) in ZSTD_clearDict() 161 size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() 437 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx* dctx, const void* src, size_t headerSize) in ZSTD_decodeFrameHeader() 569 size_t ZSTD_insertBlock(ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize) in ZSTD_insertBlock() 609 static size_t ZSTD_decompressFrame(ZSTD_DCtx* dctx, in ZSTD_decompressFrame() 694 static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx* dctx, in ZSTD_decompressMultiFrame() [all …]
|
H A D | zstd_decompress_block.c | 79 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock() 480 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, in ZSTD_decodeSeqHeaders() 938 static int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* oLit… in ZSTD_dictionaryIsActive() 954 ZSTD_DCtx const* dctx, in ZSTD_assertValidSequence() 982 ZSTD_decompressSequences_body( ZSTD_DCtx* dctx, in ZSTD_decompressSequences_body() 1103 ZSTD_decompressSequences_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_default() 1134 ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_body() 1227 ZSTD_decompressSequencesLong_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_default() 1244 ZSTD_decompressSequences_bmi2(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_bmi2() 1256 ZSTD_decompressSequencesLong_bmi2(ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_bmi2() [all …]
|
H A D | huf_decompress.c | 416 static size_t HUF_decompress4X1_DCtx_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X1_DCtx_wksp_bmi2() 431 size_t HUF_decompress4X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X1_DCtx_wksp() 439 size_t HUF_decompress4X1_DCtx (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_… in HUF_decompress4X1_DCtx() 917 static size_t HUF_decompress4X2_DCtx_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx_wksp_bmi2() 932 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx_wksp() 940 size_t HUF_decompress4X2_DCtx(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx() 1083 size_t HUF_decompress4X_DCtx (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t… in HUF_decompress4X_DCtx() 1107 size_t HUF_decompress4X_hufOnly(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size… in HUF_decompress4X_hufOnly() 1115 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable* dctx, void* dst, in HUF_decompress4X_hufOnly_wksp() 1141 size_t HUF_decompress1X_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress1X_DCtx_wksp() [all …]
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 219 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx() 238 static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx) in ZSTD_DCtx_resetParameters() 248 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal() 278 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx() local 292 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_internal() local 311 static void ZSTD_clearDict(ZSTD_DCtx* dctx) in ZSTD_clearDict() 319 size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() 355 static void ZSTD_DCtx_selectFrameDDict(ZSTD_DCtx* dctx) { in ZSTD_DCtx_selectFrameDDict() 670 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx* dctx, const void* src, size_t headerSize) in ZSTD_decodeFrameHeader() 810 size_t ZSTD_insertBlock(ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize) in ZSTD_insertBlock() [all …]
|
H A D | zstd_decompress_block.c | 73 static void ZSTD_allocateLiteralsBuffer(ZSTD_DCtx* dctx, void* const dst, const size_t dstCapacity,… in ZSTD_allocateLiteralsBuffer() 119 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock() 653 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, in ZSTD_decodeSeqHeaders() 1272 MEM_STATIC int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* … 1288 ZSTD_DCtx const* dctx, 1322 ZSTD_decompressSequences_bodySplitLitBuffer( ZSTD_DCtx* dctx, 1539 ZSTD_decompressSequences_body(ZSTD_DCtx* dctx, 1627 ZSTD_decompressSequences_default(ZSTD_DCtx* dctx, 1637 ZSTD_decompressSequencesSplitLitBuffer_default(ZSTD_DCtx* dctx, 1668 ZSTD_DCtx* dctx, [all …]
|
H A D | huf_decompress.c | 788 static size_t HUF_decompress4X1_DCtx_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X1_DCtx_wksp_bmi2() 802 size_t HUF_decompress4X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X1_DCtx_wksp() 1495 static size_t HUF_decompress4X2_DCtx_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx_wksp_bmi2() 1510 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx_wksp() 1618 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable* dctx, void* dst, in HUF_decompress4X_hufOnly_wksp() 1644 size_t HUF_decompress1X_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress1X_DCtx_wksp() 1693 size_t HUF_decompress1X1_DCtx_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cS… in HUF_decompress1X1_DCtx_wksp_bmi2() 1723 size_t HUF_decompress4X_hufOnly_wksp_bmi2(HUF_DTable* dctx, void* dst, size_t dstSize, const void* … in HUF_decompress4X_hufOnly_wksp_bmi2() 1793 size_t HUF_decompress4X1_DCtx (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_… in HUF_decompress4X1_DCtx() 1807 size_t HUF_decompress4X2_DCtx(HUF_DTable* dctx, void* dst, size_t dstSize, in HUF_decompress4X2_DCtx() [all …]
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 56 DH_PKEY_CTX *dctx; in pkey_dh_init() local 76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup() local 88 DH_PKEY_CTX *dctx, *sctx; in pkey_dh_copy() local 119 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl() local 233 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl_str() local 243 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl_str() local 276 static DH *ffc_params_generate(OSSL_LIB_CTX *libctx, DH_PKEY_CTX *dctx, in ffc_params_generate() 326 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_paramgen() local 378 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_keygen() local 404 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_derive() local
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 49 EC_PKEY_CTX *dctx; in pkey_ec_init() local 64 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local 96 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_cleanup() local 111 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_sign() local 149 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_verify() local 175 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_derive() local 218 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_kdf_derive() local 253 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_ctrl() local 435 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_paramgen() local 454 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_keygen() local
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_legacy.h | 296 …ZBUFFv04_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv04_createDCtx() : (ZBUFFv04_DCtx*)*legac… in ZSTD_initLegacyStream() local 307 …ZBUFFv05_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv05_createDCtx() : (ZBUFFv05_DCtx*)*legac… in ZSTD_initLegacyStream() local 317 …ZBUFFv06_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv06_createDCtx() : (ZBUFFv06_DCtx*)*legac… in ZSTD_initLegacyStream() local 327 …ZBUFFv07_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv07_createDCtx() : (ZBUFFv07_DCtx*)*legac… in ZSTD_initLegacyStream() local 354 ZBUFFv04_DCtx* dctx = (ZBUFFv04_DCtx*) legacyContext; in ZSTD_decompressLegacyStream() local 368 ZBUFFv05_DCtx* dctx = (ZBUFFv05_DCtx*) legacyContext; in ZSTD_decompressLegacyStream() local 382 ZBUFFv06_DCtx* dctx = (ZBUFFv06_DCtx*) legacyContext; in ZSTD_decompressLegacyStream() local 396 ZBUFFv07_DCtx* dctx = (ZBUFFv07_DCtx*) legacyContext; in ZSTD_decompressLegacyStream() local
|
H A D | zstd_v07.c | 2024 size_t HUFv07_decompress4X2_DCtx (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc,… in HUFv07_decompress4X2_DCtx() 2435 size_t HUFv07_decompress4X4_DCtx (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc,… in HUFv07_decompress4X4_DCtx() 2537 size_t HUFv07_decompress4X_DCtx (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, … in HUFv07_decompress4X_DCtx() 2551 size_t HUFv07_decompress4X_hufOnly (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSr… in HUFv07_decompress4X_hufOnly() 2563 size_t HUFv07_decompress1X_DCtx (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, … in HUFv07_decompress1X_DCtx() 2958 size_t ZSTDv07_sizeofDCtx (const ZSTDv07_DCtx* dctx) { return sizeof(*dctx); } in ZSTDv07_sizeofDCtx() 2962 size_t ZSTDv07_decompressBegin(ZSTDv07_DCtx* dctx) in ZSTDv07_decompressBegin() 2979 ZSTDv07_DCtx* dctx; in ZSTDv07_createDCtx_advanced() local 2999 size_t ZSTDv07_freeDCtx(ZSTDv07_DCtx* dctx) in ZSTDv07_freeDCtx() 3238 static size_t ZSTDv07_decodeFrameHeader(ZSTDv07_DCtx* dctx, const void* src, size_t srcSize) in ZSTDv07_decodeFrameHeader() [all …]
|
H A D | zstd_v04.c | 2514 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx() 2527 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx() local 2533 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() 2635 static size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock() 2951 ZSTD_DCtx* dctx, in ZSTD_decompressSequences() 3024 static void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst) in ZSTD_checkContinuity() 3036 static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx, in ZSTD_decompressBlock_internal() 3191 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) in ZSTD_nextSrcSizeToDecompress() 3599 size_t ZSTDv04_decompressDCtx(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, const void* src, size_… in ZSTDv04_decompressDCtx() 3608 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in ZSTDv04_decompress() local [all …]
|
H A D | zstd_v05.c | 2668 size_t ZSTDv05_decompressBegin(ZSTDv05_DCtx* dctx) in ZSTDv05_decompressBegin() 2683 ZSTDv05_DCtx* dctx = (ZSTDv05_DCtx*)malloc(sizeof(ZSTDv05_DCtx)); in ZSTDv05_createDCtx() local 2689 size_t ZSTDv05_freeDCtx(ZSTDv05_DCtx* dctx) in ZSTDv05_freeDCtx() 2862 static size_t ZSTDv05_decodeLiteralsBlock(ZSTDv05_DCtx* dctx, in ZSTDv05_decodeLiteralsBlock() 3303 ZSTDv05_DCtx* dctx, in ZSTDv05_decompressSequences() 3375 static void ZSTDv05_checkContinuity(ZSTDv05_DCtx* dctx, const void* dst) in ZSTDv05_checkContinuity() 3386 static size_t ZSTDv05_decompressBlock_internal(ZSTDv05_DCtx* dctx, in ZSTDv05_decompressBlock_internal() 3405 size_t ZSTDv05_decompressBlock(ZSTDv05_DCtx* dctx, in ZSTDv05_decompressBlock() 3416 static size_t ZSTDv05_decompress_continueDCtx(ZSTDv05_DCtx* dctx, in ZSTDv05_decompress_continueDCtx() 3481 size_t ZSTDv05_decompress_usingPreparedDCtx(ZSTDv05_DCtx* dctx, const ZSTDv05_DCtx* refDCtx, in ZSTDv05_decompress_usingPreparedDCtx() [all …]
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_pmeth.c | 40 DSA_PKEY_CTX *dctx = OPENSSL_malloc(sizeof(*dctx)); in pkey_dsa_init() local 58 DSA_PKEY_CTX *dctx, *sctx; in pkey_dsa_copy() local 73 DSA_PKEY_CTX *dctx = ctx->data; in pkey_dsa_cleanup() local 83 DSA_PKEY_CTX *dctx = ctx->data; in pkey_dsa_sign() local 107 DSA_PKEY_CTX *dctx = ctx->data; in pkey_dsa_verify() local 125 DSA_PKEY_CTX *dctx = ctx->data; in pkey_dsa_ctrl() local 213 DSA_PKEY_CTX *dctx = ctx->data; in pkey_dsa_paramgen() local
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_des_hw.c | 22 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_initkey() local 45 PROV_DES_CTX *dctx = (PROV_DES_CTX *)dst; in cipher_hw_des_copyctx() local 68 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_cbc_cipher() local
|
H A D | cipher_aes_gcm.c | 40 PROV_AES_GCM_CTX *dctx = NULL; in aes_gcm_dupctx() local
|
H A D | cipher_aria_ccm.c | 34 PROV_ARIA_CCM_CTX *dctx = NULL; in aria_ccm_dupctx() local
|
H A D | cipher_aria_gcm.c | 33 PROV_ARIA_GCM_CTX *dctx = NULL; in aria_gcm_dupctx() local
|
H A D | cipher_desx_hw.c | 44 PROV_TDES_CTX *dctx = (PROV_TDES_CTX *)dst; in cipher_hw_desx_copyctx() local
|
H A D | cipher_tdes_hw.c | 52 PROV_TDES_CTX *dctx = (PROV_TDES_CTX *)dst; in ossl_cipher_hw_tdes_copyctx() local
|
/freebsd/sys/contrib/zstd/examples/ |
H A D | streaming_decompression.c | 26 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompressFile_orDie() local
|
H A D | dictionary_decompression.c | 62 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompress() local
|
H A D | streaming_memory_usage.c | 98 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in main() local
|
/freebsd/crypto/openssl/demos/encode/ |
H A D | ec_encode.c | 33 OSSL_DECODER_CTX *dctx = NULL; in load_key() local
|
H A D | rsa_encode.c | 33 OSSL_DECODER_CTX *dctx = NULL; in load_key() local
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | zstd_trace.h | 100 struct ZSTD_DCtx_s const* dctx; member
|