/external/epid-sdk/epid/common/math/src/ |
D | finitefield.c | 111 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteField() 139 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteField() 197 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteFieldViaBinomalExtension() 219 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteFieldViaBinomalExtension() 227 (IppOctStr)SAFE_ALLOC(ground_field->element_len * sizeof(Ipp32u)); in NewFiniteFieldViaBinomalExtension() 311 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteFieldViaPolynomialExtension() 316 ff_elems = (FfElement**)SAFE_ALLOC(sizeof(FfElement*) * degree); in NewFiniteFieldViaPolynomialExtension() 322 (IppsGFpElement**)SAFE_ALLOC(sizeof(IppsGFpElement*) * degree); in NewFiniteFieldViaPolynomialExtension() 363 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteFieldViaPolynomialExtension() 433 ipp_ff_elem = (IppsGFpElement*)SAFE_ALLOC(ctxsize); in NewFfElement() [all …]
|
D | ecdsa_sign.c | 75 ec_ctx = (IppsECCPState*)SAFE_ALLOC(ctxsize); in EcdsaSignBuffer() 142 ecp_eph_public = (IppsECCPPointState*)SAFE_ALLOC(ctxsize); in EcdsaSignBuffer()
|
D | ecgroup.c | 93 grp = (EcGroup*)SAFE_ALLOC(sizeof(EcGroup)); in NewEcGroup() 99 state = (IppsGFpECState*)SAFE_ALLOC(stateSize); in NewEcGroup() 144 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_size); in NewEcGroup() 209 ec_pt_context = (IppsGFpECPoint*)SAFE_ALLOC(sizeInBytes); in NewEcPoint() 223 ecpoint = SAFE_ALLOC(sizeof(EcPoint)); in NewEcPoint() 950 hash_buf = SAFE_ALLOC(hash_buf_size); in Epid11EcHash()
|
D | ecdsa_verify.c | 164 ec_state = (IppsECCPState*)SAFE_ALLOC(size); in NewSecp256r1Curve() 207 point = (IppsECCPPointState*)SAFE_ALLOC(size); in NewCurvePoint()
|
D | bignum.c | 51 ipp_bn_ctx = (IppsBigNumState*)SAFE_ALLOC(ctxsize); in NewBigNum() 67 bn = (BigNum*)SAFE_ALLOC(sizeof(BigNum)); in NewBigNum()
|
/external/epid-sdk/epid/common/src/ |
D | memory.h | 83 #if !defined(SAFE_ALLOC) 85 #define SAFE_ALLOC(size) EpidAlloc(size); macro
|
D | grouppubkey.c | 32 pubkey = SAFE_ALLOC(sizeof(GroupPubKey_)); in CreateGroupPubKey()
|
D | stack.c | 34 *stack = SAFE_ALLOC(sizeof(Stack)); in CreateStack()
|
D | commitment.c | 95 t3mconcat_buf = SAFE_ALLOC(t3mconcat_size); in CalculateCommitmentHash()
|
/external/epid-sdk/epid/member/src/ |
D | allowed_basenames.c | 39 new_container = SAFE_ALLOC(sizeof(AllowedBasenames)); in CreateBasenames() 80 newnode = SAFE_ALLOC(sizeof(AllowedBasename) + (length - 1)); in AllowBasename()
|
D | nrprove_commitment.c | 71 commit_values = SAFE_ALLOC(commit_len); in HashNrProveCommitment()
|
D | nrprove.c | 139 s2 = SAFE_ALLOC(basename_len + sizeof(i)); in EpidNrProve() 222 digest = SAFE_ALLOC(digest_len); in EpidNrProve()
|
D | privateexp.c | 59 digest = SAFE_ALLOC(digest_len); in EpidPrivateExp()
|
D | signbasic.c | 132 p2x = (struct p2x_t*)SAFE_ALLOC(sizeof(struct p2x_t) + basename_len - 1); in EpidSignBasic() 254 digest = (uint8_t*)SAFE_ALLOC(digest_size); in EpidSignBasic()
|
D | join.c | 113 digest = (uint8_t*)SAFE_ALLOC(digest_size); in EpidCreateJoinRequest()
|
/external/webp/src/enc/ |
D | picture_csp_enc.c | 439 #define SAFE_ALLOC(W, H, T) ((T*)WebPSafeMalloc((W) * (H), sizeof(T))) macro 456 fixed_y_t* const tmp_buffer = SAFE_ALLOC(w * 3, 2, fixed_y_t); // scratch in PreprocessARGB() 457 fixed_y_t* const best_y_base = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB() 458 fixed_y_t* const target_y_base = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB() 459 fixed_y_t* const best_rgb_y = SAFE_ALLOC(w, 2, fixed_y_t); in PreprocessARGB() 460 fixed_t* const best_uv_base = SAFE_ALLOC(uv_w * 3, uv_h, fixed_t); in PreprocessARGB() 461 fixed_t* const target_uv_base = SAFE_ALLOC(uv_w * 3, uv_h, fixed_t); in PreprocessARGB() 462 fixed_t* const best_rgb_uv = SAFE_ALLOC(uv_w * 3, 1, fixed_t); in PreprocessARGB() 565 #undef SAFE_ALLOC
|
/external/epid-sdk/epid/verifier/src/ |
D | context.c | 124 verifier_ctx = SAFE_ALLOC(sizeof(VerifierCtx)); in EpidVerifierCreate() 377 verifier_rl = SAFE_ALLOC(ver_rl_size); in EpidVerifierSetVerifierRl() 469 ver_rl = SAFE_ALLOC(sizeof(VerifierRl)); in EpidBlacklistSig() 568 basename_buffer = SAFE_ALLOC(basename_len); in EpidVerifierSetBasename()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | grouppubkey.c | 40 pubkey = SAFE_ALLOC(sizeof(Epid11GroupPubKey_)); in CreateEpid11GroupPubKey()
|
D | commitment.c | 105 t4mconcat_buf = SAFE_ALLOC(t4mconcat_size); in CalculateEpid11CommitmentHash()
|
/external/epid-sdk/epid/common-testhelper/ |
D | octstr-testhelper.cc | 61 ipp_bn_ctx = (IppsBigNumState*)SAFE_ALLOC(bignum_ctx_size); in create_BigNum()
|
/external/epid-sdk/epid/member/tpm2/src/ |
D | context.c | 46 tpm_ctx = SAFE_ALLOC(sizeof(Tpm2Ctx)); in Tpm2CreateContext()
|
D | nv.c | 126 ctx->nv[index].data = SAFE_ALLOC(ctx->nv[index].data_size); in Tpm2NvWrite()
|
/external/epid-sdk/epid/member/tpm2/ibm_tss/ |
D | context.c | 73 tpm_ctx = SAFE_ALLOC(sizeof(Tpm2Ctx)); in Tpm2CreateContext()
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | context.c | 124 verifier_ctx = SAFE_ALLOC(sizeof(Epid11VerifierCtx)); in Epid11VerifierCreate() 332 basename_buffer = SAFE_ALLOC(basename_len); in Epid11VerifierSetBasename()
|
D | nrverify.c | 99 commit_values = SAFE_ALLOC(commit_len); in Epid11NrVerify()
|