Lines Matching refs:memcpy
57 return memcpy(dest, src, n); in eicMemCpy()
118 memcpy(buf, bytes.value().data(), numBytes); in eicOpsRandom()
131 memcpy(cppKey.data(), key, 16); in eicOpsEncryptAes128Gcm()
136 memcpy(cppData.data(), data, dataSize); in eicOpsEncryptAes128Gcm()
142 memcpy(cppAAD.data(), additionalAuthenticationData, in eicOpsEncryptAes128Gcm()
148 memcpy(cppNonce.data(), nonce, 12); in eicOpsEncryptAes128Gcm()
157 memcpy(encryptedData, cppEncryptedData.value().data(), in eicOpsEncryptAes128Gcm()
176 memcpy(keyVec.data(), key, 16); in eicOpsDecryptAes128Gcm()
181 memcpy(encryptedDataVec.data(), encryptedData, encryptedDataSize); in eicOpsDecryptAes128Gcm()
187 memcpy(aadVec.data(), additionalAuthenticationData, in eicOpsDecryptAes128Gcm()
205 memcpy(data, decryptedDataVec.value().data(), in eicOpsDecryptAes128Gcm()
247 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateEcKey()
248 memcpy(publicKey, pubKey.value().data() + 1, EIC_P256_PUB_KEY_SIZE); in eicOpsCreateEcKey()
259 memcpy(challengeVec.data(), challenge, challengeSize); in eicOpsCreateCredentialKey()
262 memcpy(applicationIdVec.data(), applicationId, applicationIdSize); in eicOpsCreateCredentialKey()
281 memcpy(cert, flatChain.data(), flatChain.size()); in eicOpsCreateCredentialKey()
298 memcpy(privateKey, privKey.value().data(), EIC_P256_PRIV_KEY_SIZE); in eicOpsCreateCredentialKey()
311 memcpy(signingKeyVec.data(), signingKey, EIC_P256_PRIV_KEY_SIZE); in eicOpsSignEcKey()
315 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsSignEcKey()
340 memcpy(cert, certVec.value().data(), certVec.value().size()); in eicOpsSignEcKey()
350 memcpy(privKeyVec.data(), privateKey, EIC_P256_PRIV_KEY_SIZE); in eicOpsEcDsa()
353 memcpy(digestVec.data(), digestOfData, EIC_SHA256_DIGEST_SIZE); in eicOpsEcDsa()
419 memcpy(chain.data(), x509Cert, x509CertSize); in eicOpsX509GetPublicKey()
432 memcpy(publicKey, res.value().data(), *publicKeySize); in eicOpsX509GetPublicKey()
477 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsEcdh()
480 memcpy(privKeyVec.data(), privateKey, EIC_P256_PRIV_KEY_SIZE); in eicOpsEcdh()
493 memcpy(sharedSecret, shared.value().data(), EIC_P256_COORDINATE_SIZE); in eicOpsEcdh()
501 memcpy(sharedSecretVec.data(), sharedSecret, sharedSecretSize); in eicOpsHkdf()
503 memcpy(saltVec.data(), salt, saltSize); in eicOpsHkdf()
505 memcpy(infoVec.data(), info, infoSize); in eicOpsHkdf()
518 memcpy(output, result.value().data(), outputSize); in eicOpsHkdf()
533 memcpy(dataVec.data(), data, dataSize); in eicHexdump()
540 memcpy(cborDataVec.data(), cborData, cborDataSize); in eicCborPrettyPrint()