Lines Matching refs:KeyParameterValue

35         KeyParameterValue::KeyParameterValue, KeyPurpose::KeyPurpose, PaddingMode::PaddingMode,
89 value: KeyParameterValue::Algorithm(Algorithm::RSA), in generate_rsa_key()
91 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(2048) }, in generate_rsa_key()
94 value: KeyParameterValue::LongInteger(65537), in generate_rsa_key()
96 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) }, in generate_rsa_key()
99 value: KeyParameterValue::PaddingMode(PaddingMode::RSA_PSS), in generate_rsa_key()
101 KeyParameter { tag: Tag::NO_AUTH_REQUIRED, value: KeyParameterValue::BoolValue(true) }, in generate_rsa_key()
104 value: KeyParameterValue::KeyPurpose(KeyPurpose::SIGN), in generate_rsa_key()
108 value: KeyParameterValue::DateTime(0), in generate_rsa_key()
112 value: KeyParameterValue::DateTime(UNDEFINED_NOT_AFTER), in generate_rsa_key()
118 value: KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in generate_rsa_key()
124 value: KeyParameterValue::Blob(vec![42; 8]), in generate_rsa_key()
128 value: KeyParameterValue::Blob(vec![42; 8]), in generate_rsa_key()
164 value: KeyParameterValue::Algorithm(Algorithm::AES), in test_import_key()
218 value: KeyParameterValue::Algorithm(Algorithm::AES), in generate_aes_key()
220 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(128) }, in generate_aes_key()
223 value: KeyParameterValue::BlockMode(BlockMode::CBC), in generate_aes_key()
227 value: KeyParameterValue::PaddingMode(PaddingMode::NONE), in generate_aes_key()
229 KeyParameter { tag: Tag::NO_AUTH_REQUIRED, value: KeyParameterValue::BoolValue(true) }, in generate_aes_key()
232 value: KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in generate_aes_key()
236 value: KeyParameterValue::KeyPurpose(KeyPurpose::DECRYPT), in generate_aes_key()
253 value: KeyParameterValue::BlockMode(BlockMode::CBC), in begin()
257 value: KeyParameterValue::PaddingMode(PaddingMode::NONE), in begin()
400 value: KeyParameterValue::KeyPurpose(KeyPurpose::SIGN) in test_get_key_characteristics()
405 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) } in test_get_key_characteristics()
411 value: KeyParameterValue::PaddingMode(PaddingMode::RSA_PSS) in test_get_key_characteristics()
418 value: KeyParameterValue::Algorithm(Algorithm::RSA) in test_get_key_characteristics()
423 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(2048) } in test_get_key_characteristics()
429 value: KeyParameterValue::LongInteger(65537) in test_get_key_characteristics()
434 KeyParameter { tag: Tag::NO_AUTH_REQUIRED, value: KeyParameterValue::BoolValue(true) } in test_get_key_characteristics()
440 value: KeyParameterValue::Origin(KeyOrigin::GENERATED) in test_get_key_characteristics()
445 KeyParameter { tag: Tag::OS_VERSION, value: KeyParameterValue::Integer(_) } in test_get_key_characteristics()
449 KeyParameter { tag: Tag::OS_PATCHLEVEL, value: KeyParameterValue::Integer(_) } in test_get_key_characteristics()
453 KeyParameter { tag: Tag::VENDOR_PATCHLEVEL, value: KeyParameterValue::Integer(_) } in test_get_key_characteristics()
457 KeyParameter { tag: Tag::BOOT_PATCHLEVEL, value: KeyParameterValue::Integer(_) } in test_get_key_characteristics()