Home
last modified time | relevance | path

Searched refs:keyBlobLength (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp103 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_get_keypair_public() argument
119 if (keyBlobLength < (sizeof(qcom_km_key_blob_t))) { in qcom_km_get_keypair_public()
317 uint8_t** keyBlob, size_t* keyBlobLength) { in qcom_km_generate_keypair() argument
331 if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_generate_keypair()
379 *keyBlobLength = resp->key_blob_len; in qcom_km_generate_keypair()
386 uint8_t** keyBlob, size_t* keyBlobLength) in qcom_km_import_keypair() argument
396 } else if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_import_keypair()
462 *keyBlobLength = resp->key_blob_len; in qcom_km_import_keypair()
471 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_sign_data() argument
527 memcpy((unsigned char *)(&send_cmd->key_blob), keyBlob, keyBlobLength); in qcom_km_sign_data()
[all …]
/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp97 uint8_t** keyBlob, size_t* keyBlobLength) { in exynos_km_generate_keypair() argument
125 keyBlobLength); in exynos_km_generate_keypair()
333 const uint8_t* keyBlob, const size_t keyBlobLength, in exynos_km_sign_data() argument
366 …ret = TEE_RSASign(keyBlob, keyBlobLength, (const uint8_t *)tmpData, dataLength, signedDataPtr.get(… in exynos_km_sign_data()
381 const uint8_t* keyBlob, const size_t keyBlobLength, in exynos_km_verify_data() argument
408 …ret = TEE_RSAVerify(keyBlob, keyBlobLength, (const uint8_t*)tmpSignedData, signedDataLength, (cons… in exynos_km_verify_data()