Home
last modified time | relevance | path

Searched refs:ctx_size (Results 1 – 11 of 11) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c98 out->ctx_size = sizeof(MD4_CTX); in DEFINE_METHOD_FUNCTION()
122 out->ctx_size = sizeof(MD5_CTX); in DEFINE_METHOD_FUNCTION()
146 out->ctx_size = sizeof(SHA_CTX); in DEFINE_METHOD_FUNCTION()
170 out->ctx_size = sizeof(SHA256_CTX); in DEFINE_METHOD_FUNCTION()
194 out->ctx_size = sizeof(SHA256_CTX); in DEFINE_METHOD_FUNCTION()
218 out->ctx_size = sizeof(SHA512_CTX); in DEFINE_METHOD_FUNCTION()
242 out->ctx_size = sizeof(SHA512_CTX); in DEFINE_METHOD_FUNCTION()
277 out->ctx_size = sizeof(MD5_SHA1_CTX); in DEFINE_METHOD_FUNCTION()
Ddigest.c136 assert(in->digest->ctx_size != 0); in EVP_MD_CTX_copy_ex()
137 tmp_buf = OPENSSL_malloc(in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
156 OPENSSL_memcpy(out->md_data, in->md_data, in->digest->ctx_size); in EVP_MD_CTX_copy_ex()
176 assert(type->ctx_size != 0); in EVP_DigestInit_ex()
177 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex()
210 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
Dinternal.h91 unsigned ctx_size; member
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c629 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
642 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
654 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
667 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
680 out->ctx_size = sizeof(EVP_AES_GCM_CTX); in DEFINE_LOCAL_DATA()
697 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
710 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
722 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
735 out->ctx_size = sizeof(EVP_AES_GCM_CTX); in DEFINE_LOCAL_DATA()
752 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA()
[all …]
De_des.c97 out->ctx_size = sizeof(EVP_DES_KEY); in DEFINE_METHOD_FUNCTION()
124 out->ctx_size = sizeof(EVP_DES_KEY); in DEFINE_METHOD_FUNCTION()
165 out->ctx_size = sizeof(DES_EDE_KEY); in DEFINE_METHOD_FUNCTION()
189 out->ctx_size = sizeof(DES_EDE_KEY); in DEFINE_METHOD_FUNCTION()
217 out->ctx_size = sizeof(DES_EDE_KEY); in DEFINE_METHOD_FUNCTION()
229 out->ctx_size = sizeof(DES_EDE_KEY); in DEFINE_METHOD_FUNCTION()
Dcipher.c108 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
109 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
115 OPENSSL_memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
156 if (ctx->cipher->ctx_size) { in EVP_CipherInit_ex()
157 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
/external/tpm2/
DCpriHash.c90 pAssert(ctxt->digest->ctx_size <= OSSL_HASH_STATE_DATA_SIZE); in MarshalHashState()
92 memcpy(buf, (void*) ctxt->md_data, ctxt->digest->ctx_size); in MarshalHashState()
93 return (UINT16)ctxt->digest->ctx_size; in MarshalHashState()
119 pAssert(ctxt->digest->ctx_size < sizeof(ALIGNED_HASH_STATE)); in GetHashState()
120 memcpy(ctxt->md_data, buf, ctxt->digest->ctx_size); in GetHashState()
122 return (UINT16)ctxt->digest->ctx_size; in GetHashState()
DOsslCryptoEngine.h59 unsigned ctx_size; member
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c223 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local
264 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf()
269 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf()
272 return ctx_size; in calc_ctx_size_h264_perf()
1095 unsigned ctx_size; in ruvd_end_frame() local
1097 ctx_size = calc_ctx_size_h265_main10(dec, (struct pipe_h265_picture_desc*)picture); in ruvd_end_frame()
1099 ctx_size = calc_ctx_size_h265_main(dec); in ruvd_end_frame()
1100 if (!rvid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame()
1265 unsigned ctx_size = calc_ctx_size_h264_perf(dec); in ruvd_create_decoder() local
1266 if (!rvid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_create_decoder()
/external/boringssl/src/include/openssl/
Dcipher.h537 unsigned ctx_size; member
/external/libdrm/tests/amdgpu/
Dcs_tests.c253 const unsigned dpb_size = 15923584, ctx_size = 5287680, dt_size = 737280; in amdgpu_cs_uvd_decode() local