Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/identity/libeic/
DEicOpsImpl.cc211 bool eicOpsCreateEcKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE], in eicOpsCreateEcKey() argument
226 if (privKey.value().size() != EIC_P256_PRIV_KEY_SIZE) { in eicOpsCreateEcKey()
228 (size_t)EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateEcKey()
243 pubKey.value().size(), (size_t)EIC_P256_PRIV_KEY_SIZE + 1); in eicOpsCreateEcKey()
247 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateEcKey()
253 bool eicOpsCreateCredentialKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE], in eicOpsCreateCredentialKey() argument
292 if (privKey.value().size() != EIC_P256_PRIV_KEY_SIZE) { in eicOpsCreateCredentialKey()
294 (size_t)EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateCredentialKey()
298 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateCredentialKey()
304 const uint8_t signingKey[EIC_P256_PRIV_KEY_SIZE], in eicOpsSignEcKey() argument
[all …]
DEicOps.h50 #define EIC_P256_PRIV_KEY_SIZE 32 macro
185 bool eicOpsCreateEcKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
203 bool eicOpsCreateCredentialKey(uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
220 const uint8_t signingKey[EIC_P256_PRIV_KEY_SIZE],
230 bool eicOpsEcDsa(const uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
237 const uint8_t privateKey[EIC_P256_PRIV_KEY_SIZE],
DEicPresentation.h33 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE];
35 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE];
116 EicPresentation* ctx, uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]);
DEicPresentation.c93 EIC_P256_PRIV_KEY_SIZE); in eicPresentationInit()
108 uint8_t signingKeyPriv[EIC_P256_PRIV_KEY_SIZE]; in eicPresentationGenerateSigningKeyPair()
176 EicPresentation* ctx, uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]) { in eicPresentationCreateEphemeralKeyPair() argument
183 EIC_P256_PRIV_KEY_SIZE); in eicPresentationCreateEphemeralKeyPair()
524 uint8_t signingKeyPriv[EIC_P256_PRIV_KEY_SIZE]; in eicPresentationCalcMacKey()
DEicProvisioning.c102 EIC_P256_PRIV_KEY_SIZE); in eicProvisioningInitForUpdate()
378 EIC_P256_PRIV_KEY_SIZE); in eicProvisioningFinishGetCredentialData()
DEicProvisioning.h31 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE];
/device/google/cuttlefish/guest/hals/identity/
DRemoteSecureHardwareProxy.cpp233 vector<uint8_t> priv(EIC_P256_PRIV_KEY_SIZE); in createEphemeralKeyPair()