Home
last modified time | relevance | path

Searched refs:TranslateLastOpenSslError (Results 1 – 21 of 21) sorted by relevance

/system/keymaster/km_openssl/
Dckdf.cpp67 return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
80 return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
85 return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
90 if (!CMAC_Update(ctx.get(), &zero, sizeof(zero))) return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
96 return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
103 if (!CMAC_Update(ctx.get(), buf, sizeof(buf))) TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
107 if (!CMAC_Final(ctx.get(), output_pos, &out_len)) return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
111 if (!CMAC_Final(ctx.get(), cmac, &out_len)) return TranslateLastOpenSslError(); in DEFINE_OPENSSL_OBJECT_POINTER()
Dattestation_utils.cpp177 return TranslateLastOpenSslError(); in build_attestation_extension()
190 return TranslateLastOpenSslError(); in build_attestation_extension()
195 return TranslateLastOpenSslError(); in build_attestation_extension()
209 return TranslateLastOpenSslError(); in add_key_usage_extension()
218 return TranslateLastOpenSslError(); in add_key_usage_extension()
228 return TranslateLastOpenSslError(); in add_key_usage_extension()
235 return TranslateLastOpenSslError(); in add_key_usage_extension()
244 return TranslateLastOpenSslError(); in add_key_usage_extension()
251 return TranslateLastOpenSslError(); in add_key_usage_extension()
259 return TranslateLastOpenSslError(); in add_key_usage_extension()
[all …]
Decdsa_operation.cpp121 return TranslateLastOpenSslError(); in Begin()
133 return TranslateLastOpenSslError(); in Update()
153 return TranslateLastOpenSslError(); in Finish()
159 return TranslateLastOpenSslError(); in Finish()
163 return TranslateLastOpenSslError(); in Finish()
167 return TranslateLastOpenSslError(); in Finish()
190 return TranslateLastOpenSslError(); in Begin()
202 return TranslateLastOpenSslError(); in Update()
218 return TranslateLastOpenSslError(); in Finish()
224 return TranslateLastOpenSslError(); in Finish()
Dasymmetric_key.cpp46 return TranslateLastOpenSslError(); in formatted_key_material()
50 return TranslateLastOpenSslError(); in formatted_key_material()
59 return TranslateLastOpenSslError(); in formatted_key_material()
Dwrapped_key.cpp56 return TranslateLastOpenSslError(); in build_wrapped_key()
66 return TranslateLastOpenSslError(); in build_wrapped_key()
75 return TranslateLastOpenSslError(); in build_wrapped_key()
95 if (!record.get()) return TranslateLastOpenSslError(); in parse_wrapped_key()
120 return TranslateLastOpenSslError(); in parse_wrapped_key()
127 return TranslateLastOpenSslError(); in parse_wrapped_key()
Drsa_operation.cpp184 return TranslateLastOpenSslError(); in SetRsaPaddingInEvpContext()
191 return TranslateLastOpenSslError(); in SetRsaPaddingInEvpContext()
278 return TranslateLastOpenSslError(); in Begin()
291 return TranslateLastOpenSslError(); in Update()
329 return TranslateLastOpenSslError(); in SignUndigested()
368 return TranslateLastOpenSslError(); in SignUndigested()
377 return TranslateLastOpenSslError(); in SignDigested()
383 return TranslateLastOpenSslError(); in SignDigested()
401 return TranslateLastOpenSslError(); in Begin()
414 return TranslateLastOpenSslError(); in Update()
[all …]
Dattestation_record.cpp297 return TranslateLastOpenSslError(); in build_auth_list()
315 return TranslateLastOpenSslError(); in build_auth_list()
319 return TranslateLastOpenSslError(); in build_auth_list()
348 return TranslateLastOpenSslError(); in build_auth_list()
372 return TranslateLastOpenSslError(); in build_auth_list()
412 return TranslateLastOpenSslError(); in build_attestation_record()
417 return TranslateLastOpenSslError(); in build_attestation_record()
422 return TranslateLastOpenSslError(); in build_attestation_record()
429 return TranslateLastOpenSslError(); in build_attestation_record()
441 return TranslateLastOpenSslError(); in build_attestation_record()
[all …]
Dopenssl_utils.cpp86 return TranslateLastOpenSslError(true /* log_message */); in convert_pkcs8_blob_to_evp()
90 return TranslateLastOpenSslError(true /* log_message */); in convert_pkcs8_blob_to_evp()
115 return TranslateLastOpenSslError(); in EvpKeyToKeyMaterial()
Dasymmetric_key_factory.cpp58 return TranslateLastOpenSslError(); in LoadKey()
62 error = TranslateLastOpenSslError(); in LoadKey()
Dnist_curve_key_exchange.cpp85 return TranslateLastOpenSslError(); in ExtractPublicKey()
107 LOG_E("Can't convert peer public value to point: %d", TranslateLastOpenSslError()); in CalculateSharedKey()
115 LOG_E("Can't compute ECDH shared key: %d", TranslateLastOpenSslError()); in CalculateSharedKey()
Dblock_cipher_operation.cpp201 return TranslateLastOpenSslError(); in Finish()
233 return TranslateLastOpenSslError(); in InitializeCipher()
332 *error = TranslateLastOpenSslError(); in ProcessBufferedAadBlock()
343 *error = TranslateLastOpenSslError(); in ProcessAadBlocks()
373 *error = TranslateLastOpenSslError(); in InternalUpdate()
433 return TranslateLastOpenSslError(); in Finish()
443 if (RAND_bytes(iv_.writable_data(), iv_.data_length) != 1) return TranslateLastOpenSslError(); in GenerateIv()
539 return TranslateLastOpenSslError(); in Finish()
Drsa_key_factory.cpp89 return TranslateLastOpenSslError(); in GenerateKey()
92 return TranslateLastOpenSslError(); in GenerateKey()
141 return TranslateLastOpenSslError(); in UpdateImportKeyDescription()
Dsoft_keymaster_enforcement.cpp105 return TranslateLastOpenSslError(); in hmacSha256()
111 return TranslateLastOpenSslError(); in hmacSha256()
116 return TranslateLastOpenSslError(); in hmacSha256()
Dec_key_factory.cpp112 return TranslateLastOpenSslError(); in GenerateKey()
116 return TranslateLastOpenSslError(); in GenerateKey()
163 return TranslateLastOpenSslError(); in UpdateImportKeyDescription()
Dhmac_operation.cpp155 return TranslateLastOpenSslError(); in Update()
172 if (!HMAC_Final(&ctx_, digest, &digest_len)) return TranslateLastOpenSslError(); in Finish()
Dopenssl_err.cpp43 keymaster_error_t TranslateLastOpenSslError(bool log_message) { in TranslateLastOpenSslError() function
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp141 *error = TranslateLastOpenSslError(); in BuildRsaKey()
147 *error = TranslateLastOpenSslError(); in BuildRsaKey()
160 *error = TranslateLastOpenSslError(); in BuildRsaKey()
167 *error = TranslateLastOpenSslError(); in BuildRsaKey()
181 *error = TranslateLastOpenSslError(); in BuildEcKey()
187 *error = TranslateLastOpenSslError(); in BuildEcKey()
200 *error = TranslateLastOpenSslError(); in BuildEcKey()
206 *error = TranslateLastOpenSslError(); in BuildEcKey()
380 *error = TranslateLastOpenSslError(); in GetKeymaster1PublicKey()
/system/keymaster/include/keymaster/km_openssl/
Dopenssl_err.h28 keymaster_error_t TranslateLastOpenSslError(bool log_message = true);
/system/keymaster/key_blob_utils/
Dintegrity_assured_key_blob.cpp62 return TranslateLastOpenSslError(); in ComputeHmac()
70 return TranslateLastOpenSslError(); in ComputeHmac()
Dsoftware_keyblobs.cpp123 return TranslateLastOpenSslError(); in FakeKeyAuthorizations()
147 return TranslateLastOpenSslError(); in FakeKeyAuthorizations()
Docb_utils.cpp103 return TranslateLastOpenSslError(); in InitializeKeyWrappingContext()