Home
last modified time | relevance | path

Searched refs:EIC_P256_PRIV_KEY_SIZE (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/identity/aidl/default/
DEicOpsImpl.cc231 bool eicOpsCreateEcKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE], in eicOpsCreateEcKey() argument
244 if (privKey.value().size() != EIC_P256_PRIV_KEY_SIZE) { in eicOpsCreateEcKey()
246 (size_t)EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateEcKey()
259 (size_t)EIC_P256_PRIV_KEY_SIZE + 1); in eicOpsCreateEcKey()
263 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateEcKey()
269 bool eicOpsCreateCredentialKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE], const uint8_t* challenge, in eicOpsCreateCredentialKey() argument
322 if (privKey.value().size() != EIC_P256_PRIV_KEY_SIZE) { in eicOpsCreateCredentialKey()
324 (size_t)EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateCredentialKey()
328 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateCredentialKey()
334 const uint8_t signingKey[EIC_P256_PRIV_KEY_SIZE], unsigned int serial, in eicOpsSignEcKey() argument
[all …]
DFakeSecureHardwareProxy.cpp385 vector<uint8_t> priv(EIC_P256_PRIV_KEY_SIZE); in getEphemeralKeyPair()
516 vector<uint8_t> priv(EIC_P256_PRIV_KEY_SIZE); in createEphemeralKeyPair()
/hardware/interfaces/identity/aidl/default/libeic/
DEicOps.h54 #define EIC_P256_PRIV_KEY_SIZE 32 macro
194 bool eicOpsCreateEcKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
218 bool eicOpsCreateCredentialKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE], const uint8_t* challenge,
235 const uint8_t signingKey[EIC_P256_PRIV_KEY_SIZE], unsigned int serial,
243 bool eicOpsEcDsa(const uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
250 const uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
DEicSession.h40 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE];
59 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]);
DEicPresentation.h43 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE];
45 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE];
107 uint8_t deviceKeyPriv[EIC_P256_PRIV_KEY_SIZE];
136 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]);
DEicSession.c85 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]) { in eicSessionGetEphemeralKeyPair() argument
86 eicMemCpy(ephemeralPrivateKey, ctx->ephemeralPrivateKey, EIC_P256_PRIV_KEY_SIZE); in eicSessionGetEphemeralKeyPair()
DEicProvisioning.h38 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE];
DEicPresentation.c97 eicMemCpy(ctx->credentialPrivateKey, credentialKeys + 20, EIC_P256_PRIV_KEY_SIZE); in eicPresentationInit()
126 uint8_t signingKeyPriv[EIC_P256_PRIV_KEY_SIZE]; in eicPresentationGenerateSigningKeyPair()
191 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]) { in eicPresentationCreateEphemeralKeyPair() argument
197 eicMemCpy(ephemeralPrivateKey, ctx->ephemeralPrivateKey, EIC_P256_PRIV_KEY_SIZE); in eicPresentationCreateEphemeralKeyPair()
DEicProvisioning.c113 eicMemCpy(ctx->credentialPrivateKey, credentialKeys + 20, EIC_P256_PRIV_KEY_SIZE); in eicProvisioningInitForUpdate()
398 eicCborAppendByteString(&cbor, ctx->credentialPrivateKey, EIC_P256_PRIV_KEY_SIZE); in eicProvisioningFinishGetCredentialData()