/system/security/keystore/ |
D | keystore_utils.cpp | 114 params->push_back(TAG_PADDING, PaddingMode::NONE); in add_legacy_key_authorizations() 116 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_SIGN); in add_legacy_key_authorizations() 117 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_ENCRYPT); in add_legacy_key_authorizations() 118 params->push_back(TAG_PADDING, PaddingMode::RSA_PSS); in add_legacy_key_authorizations() 119 params->push_back(TAG_PADDING, PaddingMode::RSA_OAEP); in add_legacy_key_authorizations()
|
D | keystore_cli_v2.cpp | 180 keymint::PaddingMode::PKCS7); in verifyEncryptionKeyAttributes() 249 .Padding(keymint::PaddingMode::PKCS7) in loadOrCreateAndVerifyEncryptionKey() 358 .Padding(keymint::PaddingMode::PKCS7) in encryptWithAuthentication() 510 .Padding(keymint::PaddingMode::PKCS7) in decryptWithAuthentication() 599 .Padding(keymint::PaddingMode::RSA_PKCS1_1_5_SIGN) in GetRSASignParameters() 600 .Padding(keymint::PaddingMode::RSA_PSS) in GetRSASignParameters() 613 .Padding(keymint::PaddingMode::RSA_PKCS1_1_5_ENCRYPT) in GetRSAEncryptParameters() 614 .Padding(keymint::PaddingMode::RSA_OAEP) in GetRSAEncryptParameters() 642 parameters.Padding(keymint::PaddingMode::NONE); in GetAESParameters() 756 .Padding(keymint::PaddingMode::RSA_PKCS1_1_5_SIGN) in GenerateKey() [all …]
|
/system/security/keystore2/src/km_compat/ |
D | parameter_conversion_test.cpp | 51 TEST_ENUM_CONVERSION(PaddingMode, NONE); in TEST() 52 TEST_ENUM_CONVERSION(PaddingMode, RSA_OAEP); in TEST() 53 TEST_ENUM_CONVERSION(PaddingMode, RSA_PSS); in TEST() 54 TEST_ENUM_CONVERSION(PaddingMode, RSA_PKCS1_1_5_ENCRYPT); in TEST() 55 TEST_ENUM_CONVERSION(PaddingMode, RSA_PKCS1_1_5_SIGN); in TEST() 56 TEST_ENUM_CONVERSION(PaddingMode, PKCS7); in TEST()
|
D | lib.rs | 35 KeyParameterValue::KeyParameterValue, KeyPurpose::KeyPurpose, PaddingMode::PaddingMode, 99 value: KeyParameterValue::PaddingMode(PaddingMode::RSA_PSS), in generate_rsa_key() 227 value: KeyParameterValue::PaddingMode(PaddingMode::NONE), in generate_aes_key() 257 value: KeyParameterValue::PaddingMode(PaddingMode::NONE), in begin() 411 value: KeyParameterValue::PaddingMode(PaddingMode::RSA_PSS) in test_get_key_characteristics()
|
D | km_compat_type_conversion.h | 333 static V4_0::PaddingMode convert(KMV1::PaddingMode p) { in convert() 335 case KMV1::PaddingMode::NONE: in convert() 336 return V4_0::PaddingMode::NONE; in convert() 337 case KMV1::PaddingMode::RSA_OAEP: in convert() 338 return V4_0::PaddingMode::RSA_OAEP; in convert() 339 case KMV1::PaddingMode::RSA_PSS: in convert() 340 return V4_0::PaddingMode::RSA_PSS; in convert() 341 case KMV1::PaddingMode::RSA_PKCS1_1_5_ENCRYPT: in convert() 342 return V4_0::PaddingMode::RSA_PKCS1_1_5_ENCRYPT; in convert() 343 case KMV1::PaddingMode::RSA_PKCS1_1_5_SIGN: in convert() [all …]
|
D | certificate_test.cpp | 40 using ::aidl::android::hardware::security::keymint::PaddingMode; 103 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::RSA_PSS), in TEST() 119 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::NONE), in TEST() 146 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::RSA_PSS), in TEST() 161 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::RSA_PSS), in TEST()
|
D | slot_test.cpp | 33 using ::aidl::android::hardware::security::keymint::PaddingMode; 43 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::NONE), in generateAESKey() 62 kps.push_back(KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::NONE)); in begin()
|
D | km_compat.cpp | 43 using ::aidl::android::hardware::security::keymint::PaddingMode; 1027 static std::variant<keystore::Padding, KMV1::ErrorCode> getKeystorePadding(PaddingMode padding) { in getKeystorePadding() 1029 case PaddingMode::RSA_PKCS1_1_5_SIGN: in getKeystorePadding() 1031 case PaddingMode::RSA_PSS: in getKeystorePadding() 1068 {PaddingMode::RSA_PSS, PaddingMode::RSA_PKCS1_1_5_SIGN}); in signCertificate()
|
/system/security/keystore2/src/ |
D | metrics_store.rs | 28 KeyParameter::KeyParameter, KeyPurpose::KeyPurpose, PaddingMode::PaddingMode, 259 KsKeyParamValue::PaddingMode(p) => { in process_key_creation_event_stats() 388 KsKeyParamValue::PaddingMode(p) => { in process_key_operation_event_stats() 430 fn compute_padding_mode_bitmap(padding_mode_bitmap: &mut i32, padding_mode: PaddingMode) { in compute_padding_mode_bitmap() argument 432 PaddingMode::NONE => { in compute_padding_mode_bitmap() 435 PaddingMode::RSA_OAEP => { in compute_padding_mode_bitmap() 438 PaddingMode::RSA_PSS => { in compute_padding_mode_bitmap() 441 PaddingMode::RSA_PKCS1_1_5_ENCRYPT => { in compute_padding_mode_bitmap() 445 PaddingMode::RSA_PKCS1_1_5_SIGN => { in compute_padding_mode_bitmap() 448 PaddingMode::PKCS7 => { in compute_padding_mode_bitmap()
|
D | key_parameter.rs | 104 PaddingMode::PaddingMode, SecurityLevel::SecurityLevel, Tag::Tag, 170 implement_associate_primitive_for_aidl_enum! {PaddingMode} 801 #[key_param(tag = PADDING, field = PaddingMode)] 802 PaddingMode(PaddingMode), 1046 Tag::PADDING => return KmKeyParameterValue::PaddingMode(Default::default()), in get_field_by_tag_type() 1081 | (&KmKeyParameterValue::PaddingMode(_), KmKeyParameterValue::PaddingMode(_)) in check_field_matches_tag_type()
|
D | super_key.rs | 38 KeyParameter::KeyParameter as KmKeyParameter, KeyPurpose::KeyPurpose, PaddingMode::PaddingMode, 208 KeyParameterValue::PaddingMode(PaddingMode::NONE), in decrypt() 945 KeyParameterValue::PaddingMode(PaddingMode::NONE), in lock_screen_lock_bound_key()
|
D | database.rs | 3218 KeyParameterValue, KeyPurpose, PaddingMode, SecurityLevel, 5053 KeyParameterValue::PaddingMode(PaddingMode::NONE), in make_test_params() 5057 KeyParameterValue::PaddingMode(PaddingMode::RSA_OAEP), in make_test_params() 5061 KeyParameterValue::PaddingMode(PaddingMode::RSA_PSS), in make_test_params() 5065 KeyParameterValue::PaddingMode(PaddingMode::RSA_PKCS1_1_5_SIGN), in make_test_params()
|
/system/security/ondevice-signing/ |
D | KeystoreKey.cpp | 41 using android::hardware::security::keymint::PaddingMode; 96 KeyParameterValue::make<KeyParameterValue::paddingMode>(PaddingMode::RSA_PKCS1_1_5_SIGN); in createKey() 283 KeyParameterValue::make<KeyParameterValue::paddingMode>(PaddingMode::RSA_PKCS1_1_5_SIGN); in getSignOpParameters()
|
/system/keymaster/ng/include/ |
D | authorization_set.h | 251 AuthorizationSetBuilder& Padding(PaddingMode padding) { in Padding() 315 return Authorization(TAG_PADDING, PaddingMode::NONE); in NoDigestOrPadding()
|
D | keymaster_tags.h | 82 using ::android::hardware::keymaster::V3_0::PaddingMode;
|
/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 62 using keymaster::PaddingMode;
|
/system/keymaster/ng/ |
D | KeyMintUtils.cpp | 44 static_cast<PaddingMode>(param.enumerated))}; in kmEnumParam2Aidl()
|
/system/security/keystore-engine/ |
D | keystore2_engine.cpp | 210 KMV1::PaddingMode::NONE)}; in keystore2_sign()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 257 KMV1::PaddingMode::NONE)}; in keyStore2Sign()
|