/system/keymaster/km_openssl/ |
D | ckdf.cpp | 67 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()
|
D | attestation_utils.cpp | 177 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 …]
|
D | ecdsa_operation.cpp | 121 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()
|
D | asymmetric_key.cpp | 46 return TranslateLastOpenSslError(); in formatted_key_material() 50 return TranslateLastOpenSslError(); in formatted_key_material() 59 return TranslateLastOpenSslError(); in formatted_key_material()
|
D | wrapped_key.cpp | 56 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()
|
D | rsa_operation.cpp | 184 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 …]
|
D | attestation_record.cpp | 297 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 …]
|
D | openssl_utils.cpp | 86 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()
|
D | asymmetric_key_factory.cpp | 58 return TranslateLastOpenSslError(); in LoadKey() 62 error = TranslateLastOpenSslError(); in LoadKey()
|
D | nist_curve_key_exchange.cpp | 85 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()
|
D | block_cipher_operation.cpp | 201 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()
|
D | rsa_key_factory.cpp | 89 return TranslateLastOpenSslError(); in GenerateKey() 92 return TranslateLastOpenSslError(); in GenerateKey() 141 return TranslateLastOpenSslError(); in UpdateImportKeyDescription()
|
D | soft_keymaster_enforcement.cpp | 105 return TranslateLastOpenSslError(); in hmacSha256() 111 return TranslateLastOpenSslError(); in hmacSha256() 116 return TranslateLastOpenSslError(); in hmacSha256()
|
D | ec_key_factory.cpp | 112 return TranslateLastOpenSslError(); in GenerateKey() 116 return TranslateLastOpenSslError(); in GenerateKey() 163 return TranslateLastOpenSslError(); in UpdateImportKeyDescription()
|
D | hmac_operation.cpp | 155 return TranslateLastOpenSslError(); in Update() 172 if (!HMAC_Final(&ctx_, digest, &digest_len)) return TranslateLastOpenSslError(); in Finish()
|
D | openssl_err.cpp | 43 keymaster_error_t TranslateLastOpenSslError(bool log_message) { in TranslateLastOpenSslError() function
|
/system/keymaster/legacy_support/ |
D | keymaster1_engine.cpp | 141 *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/ |
D | openssl_err.h | 28 keymaster_error_t TranslateLastOpenSslError(bool log_message = true);
|
/system/keymaster/key_blob_utils/ |
D | integrity_assured_key_blob.cpp | 62 return TranslateLastOpenSslError(); in ComputeHmac() 70 return TranslateLastOpenSslError(); in ComputeHmac()
|
D | software_keyblobs.cpp | 123 return TranslateLastOpenSslError(); in FakeKeyAuthorizations() 147 return TranslateLastOpenSslError(); in FakeKeyAuthorizations()
|
D | ocb_utils.cpp | 103 return TranslateLastOpenSslError(); in InitializeKeyWrappingContext()
|