Searched refs:EIC_P256_PRIV_KEY_SIZE (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/identity/aidl/default/ |
D | EicOpsImpl.cc | 231 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 …]
|
D | FakeSecureHardwareProxy.cpp | 385 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/ |
D | EicOps.h | 54 #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],
|
D | EicSession.h | 40 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]; 59 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]);
|
D | EicPresentation.h | 43 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]);
|
D | EicSession.c | 85 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]) { in eicSessionGetEphemeralKeyPair() argument 86 eicMemCpy(ephemeralPrivateKey, ctx->ephemeralPrivateKey, EIC_P256_PRIV_KEY_SIZE); in eicSessionGetEphemeralKeyPair()
|
D | EicProvisioning.h | 38 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE];
|
D | EicPresentation.c | 97 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()
|
D | EicProvisioning.c | 113 eicMemCpy(ctx->credentialPrivateKey, credentialKeys + 20, EIC_P256_PRIV_KEY_SIZE); in eicProvisioningInitForUpdate() 398 eicCborAppendByteString(&cbor, ctx->credentialPrivateKey, EIC_P256_PRIV_KEY_SIZE); in eicProvisioningFinishGetCredentialData()
|