Home
last modified time | relevance | path

Searched refs:ecc (Results 1 – 25 of 143) sorted by relevance

123456

/external/pdfium/fxbarcode/datamatrix/
DBC_ErrorCorrection.cpp155 std::vector<uint16_t> ecc(numECWords); in CreateECCBlock() local
157 uint16_t m = ecc[numECWords - 1] ^ codewords[i]; in CreateECCBlock()
160 ecc[j] = static_cast<uint16_t>( in CreateECCBlock()
161 ecc[j - 1] ^ ALOG[(LOG[m] + LOG[FACTORS[table][j]]) % 255]); in CreateECCBlock()
163 ecc[j] = ecc[j - 1]; in CreateECCBlock()
167 ecc[0] = in CreateECCBlock()
170 ecc[0] = 0; in CreateECCBlock()
176 strecc.InsertAtBack(static_cast<wchar_t>(ecc[numECWords - i - 1])); in CreateECCBlock()
192 WideString ecc = CreateECCBlock(codewords, symbolInfo->errorCodewords()); in EncodeECC200() local
193 if (ecc.IsEmpty()) in EncodeECC200()
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsram-ecc-default.ll2 ; RUN: llc -march=amdgcn -mcpu=gfx900 -mattr=+sram-ecc < %s | FileCheck -check-prefixes=GCN,NO-ECC …
3 ; RUN: llc -march=amdgcn -mcpu=gfx900 -mattr=-sram-ecc < %s | FileCheck -check-prefixes=GCN,NO-ECC …
4 ; RUN: llc -march=amdgcn -mcpu=gfx902 -mattr=+sram-ecc < %s | FileCheck -check-prefixes=GCN,NO-ECC …
5 ; RUN: llc -march=amdgcn -mcpu=gfx904 -mattr=+sram-ecc < %s | FileCheck -check-prefixes=GCN,NO-ECC …
6 ; RUN: llc -march=amdgcn -mcpu=gfx906 -mattr=+sram-ecc < %s | FileCheck -check-prefixes=GCN,ECC %s
7 ; RUN: llc -march=amdgcn -mcpu=gfx906 -mattr=-sram-ecc < %s | FileCheck -check-prefixes=GCN,NO-ECC …
10 ; FeatureDoesNotSupportSRAMECC, and +sram-ecc is ignored if it's never
Delf-header-flags-sram-ecc.ll2 ; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx902 -mattr=-sram-ecc < %s | llvm-readobj --file-hea…
3 ; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx902 -mattr=+sram-ecc < %s | llvm-readobj --file-hea…
6 ; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx906 -mattr=-sram-ecc < %s | llvm-readobj --file-hea…
7 ; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx906 -mattr=+sram-ecc < %s | llvm-readobj --file-hea…
8 ; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx906 -mattr=+sram-ecc,+xnack < %s | llvm-readobj --f…
Ddirective-amdgcn-target.ll41 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx904 -mattr=+sram-ecc < %s | FileCheck --check-prefix…
42 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906 -mattr=+sram-ecc < %s | FileCheck --check-prefix…
44 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx904 -mattr=+sram-ecc,+xnack < %s | FileCheck --check…
45 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906 -mattr=+sram-ecc,+xnack < %s | FileCheck --check…
69 ; SRAM-ECC-GFX904: .amdgcn_target "amdgcn-amd-amdhsa--gfx904+sram-ecc"
70 ; SRAM-ECC-GFX906: "amdgcn-amd-amdhsa--gfx906+sram-ecc"
72 ; SRAM-ECC-XNACK-GFX904: .amdgcn_target "amdgcn-amd-amdhsa--gfx904+xnack+sram-ecc"
73 ; SRAM-ECC-XNACK-GFX906: .amdgcn_target "amdgcn-amd-amdhsa--gfx906+xnack+sram-ecc"
/external/arm-trusted-firmware/drivers/st/fmc/
Dstm32_fmc2_nand.c353 uint8_t *ecc) in stm32_fmc2_ham_correct()
372 xor_ecc_1b = ecc[0] ^ eccbuffer[0]; in stm32_fmc2_ham_correct()
373 xor_ecc_2b = ecc[1] ^ eccbuffer[1]; in stm32_fmc2_ham_correct()
374 xor_ecc_3b = ecc[2] ^ eccbuffer[2]; in stm32_fmc2_ham_correct()
424 static int stm32_fmc2_ham_calculate(uint8_t *buffer, uint8_t *ecc) in stm32_fmc2_ham_calculate() argument
437 ecc[0] = heccr; in stm32_fmc2_ham_calculate()
438 ecc[1] = heccr >> 8; in stm32_fmc2_ham_calculate()
439 ecc[2] = heccr >> 16; in stm32_fmc2_ham_calculate()
506 if (nand->ecc.max_bit_corr != FMC2_ECC_HAM) { in stm32_fmc2_hwctl()
517 unsigned int eccsize = nand->ecc.size; in stm32_fmc2_read_page()
[all …]
/external/arm-trusted-firmware/include/drivers/
Dnand.h17 struct ecc { struct
30 struct ecc ecc; argument
/external/tpm2-tss/test/helper/
Dtpm_getek_ecc.c82 .unique.ecc = { in main()
154 x = BN_bin2bn(out_public.publicArea.unique.ecc.x.buffer, in main()
155 out_public.publicArea.unique.ecc.x.size, NULL); in main()
157 y = BN_bin2bn(out_public.publicArea.unique.ecc.y.buffer, in main()
158 out_public.publicArea.unique.ecc.y.size, NULL); in main()
/external/llvm-project/llvm/test/Transforms/Inline/AMDGPU/
Dinline-target-feature-sram-ecc.ll4 ; sram-ecc can be safely ignored when inlining, since no intrinisics
69 attributes #1 = { nounwind "target-features"="+sram-ecc" }
70 attributes #2 = { nounwind "target-features"="-sram-ecc" }
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c571 &encryptKey->publicArea.unique.ecc)) in CryptSecretEncrypt()
592 &encryptKey->publicArea.unique.ecc, &eccPrivate, in CryptSecretEncrypt()
613 &encryptKey->publicArea.unique.ecc.x.b, in CryptSecretEncrypt()
719 &eccPublic, &decryptKey->sensitive.sensitive.ecc, in CryptSecretDecrypt()
743 &decryptKey->publicArea.unique.ecc.x.b, in CryptSecretDecrypt()
1632 if(unique->ecc.x.t.size != keySizeInBytes in CryptValidateKeys()
1633 || unique->ecc.y.t.size != keySizeInBytes) in CryptValidateKeys()
1637 if(!CryptEccIsPointOnCurve(curveId, &unique->ecc)) in CryptValidateKeys()
1645 if(!CryptEccIsValidPrivateKey(&sensitive->sensitive.ecc, in CryptValidateKeys()
1654 &sensitive->sensitive.ecc, in CryptValidateKeys()
[all …]
DCryptEccMain.c785 publicArea->unique.ecc.x.t.size = 0; in CryptEccGenerateKey()
786 publicArea->unique.ecc.y.t.size = 0; in CryptEccGenerateKey()
787 sensitive->sensitive.ecc.t.size = 0; in CryptEccGenerateKey()
792 BnPointTo2B(&publicArea->unique.ecc, ecQ, E); in CryptEccGenerateKey()
793 BnTo2B(bnD, &sensitive->sensitive.ecc.b, publicArea->unique.ecc.x.t.size); in CryptEccGenerateKey()
804 digest.t.size = MIN(sensitive->sensitive.ecc.t.size, sizeof(digest.t.buffer)); in CryptEccGenerateKey()
DCryptEccCrypt.c90 POINT_INITIALIZED(PB, &key->publicArea.unique.ecc); in CryptEccEncrypt()
168 ECC_INITIALIZED(D, &key->sensitive.sensitive.ecc.b); in CryptEccDecrypt()
/external/tpm2-tss/src/tss2-fapi/
Difapi_get_intl_cert.c89 ek_public->publicArea.unique.ecc.x.buffer, in hash_ek_public()
90 ek_public->publicArea.unique.ecc.x.size); in hash_ek_public()
98 ek_public->publicArea.unique.ecc.y.buffer, in hash_ek_public()
99 ek_public->publicArea.unique.ecc.y.size); in hash_ek_public()
Difapi_helpers.c446 if (!ifapi_TPMS_ECC_POINT_cmp(&in1->ecc, &in2->ecc)) in ifapi_TPMU_PUBLIC_ID_cmp()
2295 if (key1->publicArea.unique.ecc.x.size != key2->publicArea.unique.ecc.x.size) { in ifapi_cmp_public_key()
2298 LOGBLOB_TRACE(&key1->publicArea.unique.ecc.x.buffer[0], in ifapi_cmp_public_key()
2299 key1->publicArea.unique.ecc.x.size, "Key 1 x"); in ifapi_cmp_public_key()
2300 LOGBLOB_TRACE(&key2->publicArea.unique.ecc.x.buffer[0], in ifapi_cmp_public_key()
2301 key2->publicArea.unique.ecc.x.size, "Key 2 x"); in ifapi_cmp_public_key()
2302 if (memcmp(&key1->publicArea.unique.ecc.x.buffer[0], in ifapi_cmp_public_key()
2303 &key2->publicArea.unique.ecc.x.buffer[0], in ifapi_cmp_public_key()
2304 key1->publicArea.unique.ecc.x.size) != 0) in ifapi_cmp_public_key()
2306 if (key1->publicArea.unique.ecc.y.size != key2->publicArea.unique.ecc.y.size) { in ifapi_cmp_public_key()
[all …]
Dfapi_crypto.c145 .unique.ecc = {
510 x = BN_bin2bn(tpmPublicKey->publicArea.unique.ecc.x.buffer, in ossl_ecc_pub_from_tpm()
511 tpmPublicKey->publicArea.unique.ecc.x.size, NULL); in ossl_ecc_pub_from_tpm()
513 y = BN_bin2bn(tpmPublicKey->publicArea.unique.ecc.y.buffer, in ossl_ecc_pub_from_tpm()
514 tpmPublicKey->publicArea.unique.ecc.y.size, NULL); in ossl_ecc_pub_from_tpm()
728 tpmPublic->unique.ecc.x.size, hashAlgorithm, in ifapi_der_sig_to_tpm()
985 tpmPublic->publicArea.unique.ecc.x.size = ecKeySize; in get_ecc_tpm2b_public_from_evp()
986 tpmPublic->publicArea.unique.ecc.y.size = ecKeySize; in get_ecc_tpm2b_public_from_evp()
1001 if (1 != ifapi_bn2binpad(bnX, &tpmPublic->publicArea.unique.ecc.x.buffer[0], in get_ecc_tpm2b_public_from_evp()
1006 if (1 != ifapi_bn2binpad(bnY, &tpmPublic->publicArea.unique.ecc.y.buffer[0], in get_ecc_tpm2b_public_from_evp()
/external/cpuinfo/test/dmesg/
Dpadcod-10.1.log385 <4>[ 7.342920] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
388 <4>[ 7.344395] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
391 <4>[ 7.355370] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
1015 <4>[ 9.323359] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
1018 <4>[ 9.328568] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
1023 <4>[ 9.398106] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
1026 <4>[ 9.401971] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
1029 <4>[ 9.409700] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
1088 <4>[ 12.553830] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
1094 <4>[ 12.816263] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
[all …]
/external/arm-trusted-firmware/drivers/mtd/nand/
Draw_nand.c334 rawnand_dev.nand_dev->ecc.max_bit_corr = page.nb_ecc_bits; in nand_read_param_page()
335 rawnand_dev.nand_dev->ecc.size = SZ_512; in nand_read_param_page()
341 rawnand_dev.nand_dev->ecc.max_bit_corr, in nand_read_param_page()
419 rawnand_dev.nand_dev->ecc.mode = NAND_ECC_NONE; in nand_raw_init()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptTest.h65 UINT32 ecc; member
/external/tpm2-tss/test/integration/
Desys-zgen-2phase.int.c116 .unique.ecc = { in test_esys_zgen_2phase()
175 .point = outPublic->publicArea.unique.ecc in test_esys_zgen_2phase()
/external/tpm2-tss/src/tss2-esys/
Desys_crypto_gcrypt.c797 + key->publicArea.unique.ecc.x.size in iesys_cryptogcry_get_ecdh_point()
798 + key->publicArea.unique.ecc.y.size in iesys_cryptogcry_get_ecdh_point()
808 key->publicArea.unique.ecc.x.size, in iesys_cryptogcry_get_ecdh_point()
809 &key->publicArea.unique.ecc.x.buffer[0], in iesys_cryptogcry_get_ecdh_point()
810 key->publicArea.unique.ecc.y.size, in iesys_cryptogcry_get_ecdh_point()
811 &key->publicArea.unique.ecc.y.buffer[0])) { in iesys_cryptogcry_get_ecdh_point()
/external/tpm2-tss/src/tss2-mu/
Dtpmu-types.c578 TPM2_ALG_ECC, ADDR, ecc, Tss2_MU_TPM2B_ECC_PARAMETER_Marshal,
583 TPM2_ALG_ECC, ecc, Tss2_MU_TPM2B_ECC_PARAMETER_Unmarshal,
588 TPM2_ALG_ECC, ADDR, ecc[0], marshal_ecc,
593 TPM2_ALG_ECC, ecc[0], unmarshal_ecc,
602 TPM2_ALG_ECC, ADDR, ecc, Tss2_MU_TPMS_ECC_POINT_Marshal)
607 TPM2_ALG_ECC, ecc, Tss2_MU_TPMS_ECC_POINT_Unmarshal)
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DECDH_KeyGen.c76 &keyPublic->unique.ecc, in TPM2_ECDH_KeyGen()
DECDH_ZGen.c79 &eccKey->sensitive.sensitive.ecc, in TPM2_ECDH_ZGen()
DZGen_2Phase.c109 &eccKey->sensitive.sensitive.ecc, in TPM2_ZGen_2Phase()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_ECC.c140 X509PushPoint(ctx, &object->publicArea.unique.ecc); // BIT STRING in X509AddPublicECC()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/wolf/
Dsub.mk40 srcs-y += wolf_symlink/wolfcrypt/src/ecc.c

123456