| /system/security/ondevice-signing/ | 
| D | KeystoreHmacKey.cpp | 68     KeyParameter algo;  in createKey()  local69     algo.tag = Tag::ALGORITHM;  in createKey()
 70     algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::HMAC);  in createKey()
 71     params.push_back(algo);  in createKey()
 159     KeyParameter algo;  in getVerifyOpParameters()  local
 160     algo.tag = Tag::ALGORITHM;  in getVerifyOpParameters()
 161     algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::HMAC);  in getVerifyOpParameters()
 162     opParameters.push_back(algo);  in getVerifyOpParameters()
 180     KeyParameter algo;  in getSignOpParameters()  local
 181     algo.tag = Tag::ALGORITHM;  in getSignOpParameters()
 [all …]
 
 | 
| D | KeystoreKey.cpp | 75     KeyParameter algo;  in createKey()  local76     algo.tag = Tag::ALGORITHM;  in createKey()
 77     algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::RSA);  in createKey()
 78     params.push_back(algo);  in createKey()
 271     KeyParameter algo;  in getSignOpParameters()  local
 272     algo.tag = Tag::ALGORITHM;  in getSignOpParameters()
 273     algo.value = KeyParameterValue::make<KeyParameterValue::algorithm>(Algorithm::RSA);  in getSignOpParameters()
 274     opParameters.push_back(algo);  in getSignOpParameters()
 
 | 
| /system/update_engine/payload_generator/ | 
| D | payload_generation_config.h | 90     CompressionAlgorithm algo;  in GetDefaultCompressionParam()  local91     algo.set_type(CompressionAlgorithm::LZ4HC);  in GetDefaultCompressionParam()
 92     algo.set_level(9);  in GetDefaultCompressionParam()
 93     return algo;  in GetDefaultCompressionParam()
 
 | 
| D | erofs_filesystem.cc | 156     const std::string& filename, const CompressionAlgorithm& algo) {  in CreateFromFile()  argument185   if (!ErofsFilesystem::GetFiles(filename, &files, algo)) {  in CreateFromFile()
 192   LOG(INFO) << "Using compression algo " << algo << " for " << filename;  in CreateFromFile()
 205                                const CompressionAlgorithm& algo) {  in GetFiles()  argument
 246     file.compressed_file_info.algo = algo;  in GetFiles()
 
 | 
| D | erofs_filesystem.h | 34       const CompressionAlgorithm& algo =55                        const CompressionAlgorithm& algo);
 
 | 
| D | payload_generation_config.cc | 396   CompressionAlgorithm algo;  in ParseCompressionParam()  local403     algo.set_type(CompressionAlgorithm::LZ4);  in ParseCompressionParam()
 408     algo.set_type(CompressionAlgorithm::LZ4HC);  in ParseCompressionParam()
 416       algo.set_level(level_num);  in ParseCompressionParam()
 422   return algo;  in ParseCompressionParam()
 
 | 
| /system/keymaster/km_openssl/ | 
| D | ckdf.cpp | 53     auto algo = EVP_aes_128_cbc();  in DEFINE_OPENSSL_OBJECT_POINTER()  local59         algo = EVP_aes_256_cbc();  in DEFINE_OPENSSL_OBJECT_POINTER()
 65     if (!CMAC_Init(ctx.get(), key.key_material, key.key_material_size, algo,  in DEFINE_OPENSSL_OBJECT_POINTER()
 
 | 
| /system/keymaster/android_keymaster/ | 
| D | remote_provisioning_utils.cpp | 154         auto& algo = protectedMap->asMap()->get(ALGORITHM);  in validateAndExtractPubkeys()  local155         if (!algo || !algo->asInt() || algo->asInt()->value() != HMAC_256) {  in validateAndExtractPubkeys()
 
 | 
| /system/netd/server/ | 
| D | XfrmController.cpp | 1048 int XfrmController::fillNlAttrXfrmAlgoEnc(const XfrmAlgo& inAlgo, nlattr_algo_crypt* algo) {  in fillNlAttrXfrmAlgoEnc()  argument1055     strncpy(algo->crypt.alg_name, inAlgo.name.c_str(), sizeof(algo->crypt.alg_name));  in fillNlAttrXfrmAlgoEnc()
 1056     algo->crypt.alg_key_len = inAlgo.key.size() * 8; // bits  in fillNlAttrXfrmAlgoEnc()
 1057     memcpy(algo->key, &inAlgo.key[0], inAlgo.key.size());  in fillNlAttrXfrmAlgoEnc()
 1059     fillXfrmNlaHdr(&algo->hdr, XFRMA_ALG_CRYPT, len);  in fillNlAttrXfrmAlgoEnc()
 1063 int XfrmController::fillNlAttrXfrmAlgoAuth(const XfrmAlgo& inAlgo, nlattr_algo_auth* algo) {  in fillNlAttrXfrmAlgoAuth()  argument
 1070     strncpy(algo->auth.alg_name, inAlgo.name.c_str(), sizeof(algo->auth.alg_name));  in fillNlAttrXfrmAlgoAuth()
 1071     algo->auth.alg_key_len = inAlgo.key.size() * 8; // bits  in fillNlAttrXfrmAlgoAuth()
 1074     algo->auth.alg_trunc_len = inAlgo.truncLenBits;  in fillNlAttrXfrmAlgoAuth()
 1076     memcpy(algo->key, &inAlgo.key[0], inAlgo.key.size());  in fillNlAttrXfrmAlgoAuth()
 [all …]
 
 | 
| D | XfrmController.h | 402     static int fillNlAttrXfrmAlgoEnc(const XfrmAlgo& in_algo, nlattr_algo_crypt* algo);403     static int fillNlAttrXfrmAlgoAuth(const XfrmAlgo& in_algo, nlattr_algo_auth* algo);
 404     static int fillNlAttrXfrmAlgoAead(const XfrmAlgo& in_algo, nlattr_algo_aead* algo);
 
 | 
| /system/security/keystore2/tests/ | 
| D | keystore2_client_attest_key_tests.rs | 47     for algo in [Algorithm::RSA, Algorithm::EC] {  in keystore2_attest_rsa_signing_key_success()50             key_generations::generate_attestation_key(&sec_level, algo, att_challenge).unwrap();  in keystore2_attest_rsa_signing_key_success()
 95     for algo in [Algorithm::RSA, Algorithm::EC] {  in keystore2_attest_rsa_encrypt_key_success()
 98             key_generations::generate_attestation_key(&sec_level, algo, att_challenge).unwrap();  in keystore2_attest_rsa_encrypt_key_success()
 144     for algo in [Algorithm::RSA, Algorithm::EC] {  in keystore2_attest_ec_key_success()
 147             key_generations::generate_attestation_key(&sec_level, algo, att_challenge).unwrap();  in keystore2_attest_ec_key_success()
 
 | 
| /system/update_engine/lz4diff/ | 
| D | lz4diff_format.h | 65   CompressionAlgorithm algo;  member
 | 
| D | lz4diff.cc | 42   *output->mutable_dst_info()->mutable_algo() = dst_file_info.algo;  in StoreDstCompressedFileInfo()166   *header->mutable_src_info()->mutable_algo() = src_file_info.algo;  in StoreSrcCompressedFileInfo()
 224                                            dst_file_info.algo);  in Lz4Diff()
 
 | 
| D | lz4diff_unittest.cc | 96   new_delta_generator.compressed_file_info.algo.set_level(5);  in TEST_F()
 | 
| D | lz4patch.cc | 262         patch.pb_header.dst_info().algo(),  in Lz4Patch()306       patch.pb_header.dst_info().algo(),  in Lz4Patch()
 360       << ", algo: " << info.algo() << "}";  in operator <<()
 
 | 
| D | lz4diff.proto | 50   CompressionAlgorithm algo = 1;  field
 | 
| /system/security/keystore2/src/crypto/ | 
| D | certificate_utils.cpp | 521 std::variant<CertUtilsError, X509_ALGOR_Ptr> makeAlgo(Algo algo, Padding padding, Digest digest) {  in makeAlgo()  argument525     switch (algo) {  in makeAlgo()
 605                             Algo algo, Padding padding, Digest digest) {  in signCertWith()  argument
 606     auto algo_objV = makeAlgo(algo, padding, digest);  in signCertWith()
 
 | 
| /system/security/keystore2/src/crypto/include/ | 
| D | certificate_utils.h | 171                             Algo algo, Padding padding, Digest digest);
 | 
| /system/incremental_delivery/incfs/tests/include/ | 
| D | IncFsTestBase.h | 99                 uint32_t algo = INCFS_HASH_TREE_SHA256;  in makeFileWithHash()  member
 | 
| /system/keymaster/cppcose/ | 
| D | cppcose.cpp | 285     auto& algo = protectedMap->asMap()->get(ALGORITHM);  in verifyAndParseCoseMac0()  local286     if (!algo || !algo->asInt() || algo->asInt()->value() != HMAC_256) {  in verifyAndParseCoseMac0()
 
 | 
| /system/keymint/common/src/ | 
| D | tag.rs | 935     let algo = get_algorithm(chars)?;  in check_begin_params()  localVariable937         (algo, purpose),  in check_begin_params()
 956             algo  in check_begin_params()
 977     let check = match algo {  in check_begin_params()
 
 | 
| D | crypto.rs | 207         let algo: i32 = match a.remove(0) {  in from_cbor_value()  localVariable212         match algo {  in from_cbor_value()
 
 | 
| /system/security/keystore2/src/km_compat/ | 
| D | km_compat.cpp | 1175     auto algo = std::get<keystore::Algo>(algoOrError);  in signCertificate()  local1224         algo, padding, digest);  in signCertificate()
 
 |