/external/epid-sdk/epid/member/tiny/unittests/ |
D | context-test.cc | 55 size_t ctx_size = 0; in TEST_F() local 58 EXPECT_EQ(kEpidBadArgErr, EpidMemberGetSize(nullptr, &ctx_size)); in TEST_F() 65 size_t ctx_size = 0; in TEST_F() local 69 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 75 size_t ctx_size = 0; in TEST_F() local 81 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 82 ctx_buf.resize(ctx_size); in TEST_F() 96 size_t ctx_size = 0; in TEST_F() local 102 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 103 ctx_buf.resize(ctx_size); in TEST_F() [all …]
|
/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() 177 assert(type->ctx_size != 0); in EVP_DigestInit_ex() 178 uint8_t *md_data = OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex() 211 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
|
D | internal.h | 91 unsigned ctx_size; member
|
/external/epid-sdk/epid/member/unittests/ |
D | context-test.cc | 60 size_t ctx_size = 0; in TEST_F() local 63 EXPECT_EQ(kEpidBadArgErr, EpidMemberGetSize(nullptr, &ctx_size)); in TEST_F() 70 size_t ctx_size = 0; in TEST_F() local 74 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 80 size_t ctx_size = 0; in TEST_F() local 86 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 87 ctx_buf.resize(ctx_size); in TEST_F() 101 size_t ctx_size = 0; in TEST_F() local 107 EXPECT_EQ(kEpidNoErr, EpidMemberGetSize(¶ms, &ctx_size)); in TEST_F() 108 ctx_buf.resize(ctx_size); in TEST_F() [all …]
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
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 | e_aes.c | 296 assert(ctx->cipher->ctx_size == in aes_gcm_from_cipher_ctx() 541 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 554 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 566 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 579 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 592 out->ctx_size = sizeof(EVP_AES_GCM_CTX) + EVP_AES_GCM_CTX_PADDING; in DEFINE_LOCAL_DATA() 609 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 622 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 634 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() 647 out->ctx_size = sizeof(EVP_AES_KEY); in DEFINE_LOCAL_DATA() [all …]
|
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/libaom/libaom/av1/encoder/ |
D | block.h | 474 TX_SIZE ctx_size = max_txsize_rect_lookup[bsize]; in tx_size_to_depth() local 476 while (tx_size != ctx_size) { in tx_size_to_depth() 478 ctx_size = sub_tx_size_map[ctx_size]; in tx_size_to_depth()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_vcn_dec.c | 698 unsigned ctx_size; in rvcn_dec_message_decode() local 700 ctx_size = calc_ctx_size_h265_main10(dec, in rvcn_dec_message_decode() 703 ctx_size = calc_ctx_size_h265_main(dec); in rvcn_dec_message_decode() 704 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) in rvcn_dec_message_decode() 867 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 907 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 909 return ctx_size; in calc_ctx_size_h264_perf() 1296 unsigned ctx_size = calc_ctx_size_h264_perf(dec); in radeon_create_decoder() local 1297 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in radeon_create_decoder()
|
D | radeon_uvd.c | 230 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 271 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 276 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf() 279 return ctx_size; in calc_ctx_size_h264_perf() 1287 unsigned ctx_size; in ruvd_end_frame() local 1289 ctx_size = calc_ctx_size_h265_main10(dec, (struct pipe_h265_picture_desc*)picture); in ruvd_end_frame() 1291 ctx_size = calc_ctx_size_h265_main(dec); in ruvd_end_frame() 1292 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame() 1461 unsigned ctx_size = calc_ctx_size_h264_perf(dec); in si_common_uvd_create_decoder() local 1462 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in si_common_uvd_create_decoder()
|
/external/openssh/ |
D | md-sha256.c | 80 ssh_sha256.ctx_size = sizeof(SHA256_CTX); in evp_ssh_sha256()
|
D | cipher.c | 693 #define EVP_X_STATE_LEN(evp) (evp)->cipher->ctx_size
|
/external/boringssl/src/include/openssl/ |
D | cipher.h | 564 unsigned ctx_size; member
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 1201 unsigned ctx_size; in ruvd_end_frame() local 1203 ctx_size = calc_ctx_size_h265_main10(dec, (struct pipe_h265_picture_desc*)picture); in ruvd_end_frame() 1205 ctx_size = calc_ctx_size_h265_main(dec); in ruvd_end_frame() 1206 if (!rvid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame()
|