Home
last modified time | relevance | path

Searched refs:key_algorithm (Results 1 – 15 of 15) sorted by relevance

/aosp_15_r20/system/keymaster/contexts/
H A Dsoft_keymaster_context.cpp373 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
374 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
379 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
394 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
395 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateSelfSignedCertificate()
400 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
H A Dpure_soft_keymaster_context.cpp418 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
419 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
424 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
447 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
448 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateSelfSignedCertificate()
453 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
H A Dkeymaster1_passthrough_context.cpp235 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
236 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
241 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
/aosp_15_r20/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp287 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
289 &key_algorithm)) { in GenerateAttestation()
295 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
296 LOG(ERROR) << "Invalid algorithm: " << key_algorithm; in GenerateAttestation()
335 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
337 &key_algorithm)) { in GenerateSelfSignedCertificate()
342 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
/aosp_15_r20/external/vboot_reference/tests/
H A Dvb2_common2_tests.c293 static int test_algorithm(int key_algorithm, const char *keys_dir) in test_algorithm() argument
303 vb2_get_crypto_algorithm_name(key_algorithm)); in test_algorithm()
307 vb2_get_crypto_algorithm_file(key_algorithm)); in test_algorithm()
308 private_key = vb2_read_private_key_pem(filename, key_algorithm); in test_algorithm()
316 vb2_get_crypto_algorithm_file(key_algorithm)); in test_algorithm()
317 key1 = vb2_read_packed_keyb(filename, key_algorithm, 1); in test_algorithm()
H A Dvb21_host_common2_tests.c239 static int test_algorithm(int key_algorithm, const char *keys_dir) in test_algorithm() argument
244 vb2_crypto_to_signature(key_algorithm); in test_algorithm()
245 enum vb2_hash_algorithm hash_alg = vb2_crypto_to_hash(key_algorithm); in test_algorithm()
256 vb2_get_crypto_algorithm_name(key_algorithm)); in test_algorithm()
260 vb2_get_crypto_algorithm_file(key_algorithm)); in test_algorithm()
/aosp_15_r20/external/vboot_reference/host/lib/
H A Dhost_signature.c113 uint32_t key_algorithm, in vb2_external_signature() argument
120 vb2_crypto_to_hash(key_algorithm), in vb2_external_signature()
146 vb2_rsa_sig_size(vb2_crypto_to_signature(key_algorithm)); in vb2_external_signature()
/aosp_15_r20/trusty/user/app/keymaster/
Dtrusty_keymaster_context.cpp1192 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
1193 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
1198 if ((key_algorithm != KM_ALGORITHM_RSA && in GenerateAttestation()
1199 key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
1224 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
1225 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateSelfSignedCertificate()
1230 if ((key_algorithm != KM_ALGORITHM_RSA && in GenerateSelfSignedCertificate()
1231 key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
/aosp_15_r20/external/vboot_reference/host/lib/include/
H A Dhost_signature.h85 uint32_t key_algorithm,
/aosp_15_r20/external/rust/crates/openssl/src/
Dpkcs12.rs170 pub fn key_algorithm(&mut self, nid: Nid) -> &mut Self { in key_algorithm() method
/aosp_15_r20/system/keymaster/android_keymaster/
H A Dandroid_keymaster.cpp607 keymaster_algorithm_t key_algorithm; in BeginOperation() local
608 if (!key->authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) return; in BeginOperation()
/aosp_15_r20/external/google-cloud-java/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/
H A Dcertificate_issuance_config.proto199 KeyAlgorithm key_algorithm = 9 [(google.api.field_behavior) = REQUIRED];
/aosp_15_r20/external/googleapis/google/cloud/certificatemanager/v1/
H A Dcertificate_issuance_config.proto199 KeyAlgorithm key_algorithm = 9 [(google.api.field_behavior) = REQUIRED];
/aosp_15_r20/external/google-cloud-java/java-iam-admin/proto-google-iam-admin-v1/src/main/proto/google/iam/admin/v1/
H A Diam.proto213 option (google.api.method_signature) = "name,private_key_type,key_algorithm";
841 ServiceAccountKeyAlgorithm key_algorithm = 8;
896 ServiceAccountKeyAlgorithm key_algorithm = 3; field
/aosp_15_r20/external/googleapis/google/iam/admin/v1/
H A Diam.proto213 option (google.api.method_signature) = "name,private_key_type,key_algorithm";
841 ServiceAccountKeyAlgorithm key_algorithm = 8;
896 ServiceAccountKeyAlgorithm key_algorithm = 3; field