Searched refs:ctx_size (Results 1 – 11 of 11) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/digest/ |
D | digests.c | 98 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()
|
D | digest.c | 136 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()
|
D | internal.h | 91 unsigned ctx_size; member
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 629 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 …]
|
D | e_des.c | 97 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()
|
D | cipher.c | 108 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/ |
D | CpriHash.c | 90 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()
|
D | OsslCryptoEngine.h | 59 unsigned ctx_size; member
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.c | 223 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/ |
D | cipher.h | 537 unsigned ctx_size; member
|
/external/libdrm/tests/amdgpu/ |
D | cs_tests.c | 253 const unsigned dpb_size = 15923584, ctx_size = 5287680, dt_size = 737280; in amdgpu_cs_uvd_decode() local
|