Searched refs:makeKeyParameter (Results 1 – 6 of 6) sorted by relevance
/system/security/keystore2/src/km_compat/ |
D | certificate_test.cpp | 90 KMV1::makeKeyParameter(KMV1::TAG_ALGORITHM, Algorithm::RSA), in getRSAKeyParams() 91 KMV1::makeKeyParameter(KMV1::TAG_KEY_SIZE, 2048), in getRSAKeyParams() 92 KMV1::makeKeyParameter(KMV1::TAG_RSA_PUBLIC_EXPONENT, 65537), in getRSAKeyParams() 93 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_BEFORE, 0), in getRSAKeyParams() 94 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_AFTER, 253402300799000), in getRSAKeyParams() 102 KMV1::makeKeyParameter(KMV1::TAG_DIGEST, Digest::SHA_2_256), in TEST() 103 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::RSA_PSS), in TEST() 104 KMV1::makeKeyParameter(KMV1::TAG_NO_AUTH_REQUIRED), in TEST() 105 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST() 116 KMV1::makeKeyParameter(KMV1::TAG_ALGORITHM, Algorithm::AES), in TEST() [all …]
|
D | km_compat_type_conversion.h | 452 return V4_0::makeKeyParameter(V4_0::TAG_PURPOSE, purpose.value()); in convertKeyParameterToLegacy() 458 return V4_0::makeKeyParameter(V4_0::TAG_ALGORITHM, convert(v->get())); in convertKeyParameterToLegacy() 463 return V4_0::makeKeyParameter(V4_0::TAG_KEY_SIZE, v->get()); in convertKeyParameterToLegacy() 468 return V4_0::makeKeyParameter(V4_0::TAG_BLOCK_MODE, convert(v->get())); in convertKeyParameterToLegacy() 473 return V4_0::makeKeyParameter(V4_0::TAG_DIGEST, convert(v->get())); in convertKeyParameterToLegacy() 478 return V4_0::makeKeyParameter(V4_0::TAG_PADDING, convert(v->get())); in convertKeyParameterToLegacy() 483 return V4_0::makeKeyParameter(V4_0::TAG_CALLER_NONCE, v->get()); in convertKeyParameterToLegacy() 488 return V4_0::makeKeyParameter(V4_0::TAG_MIN_MAC_LENGTH, v->get()); in convertKeyParameterToLegacy() 493 return V4_0::makeKeyParameter(V4_0::TAG_EC_CURVE, convert(v->get())); in convertKeyParameterToLegacy() 498 return V4_0::makeKeyParameter(V4_0::TAG_RSA_PUBLIC_EXPONENT, v->get()); in convertKeyParameterToLegacy() [all …]
|
D | slot_test.cpp | 40 KMV1::makeKeyParameter(KMV1::TAG_ALGORITHM, Algorithm::AES), in generateAESKey() 41 KMV1::makeKeyParameter(KMV1::TAG_KEY_SIZE, 128), in generateAESKey() 42 KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC), in generateAESKey() 43 KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::NONE), in generateAESKey() 44 KMV1::makeKeyParameter(KMV1::TAG_NO_AUTH_REQUIRED, true), in generateAESKey() 45 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::ENCRYPT), in generateAESKey() 46 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::DECRYPT), in generateAESKey() 61 kps.push_back(KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC)); in begin() 62 kps.push_back(KMV1::makeKeyParameter(KMV1::TAG_PADDING, PaddingMode::NONE)); in begin() 146 KMV1::makeKeyParameter(KMV1::TAG_ALGORITHM, Algorithm::RSA), in TEST() [all …]
|
D | parameter_conversion_test.cpp | 75 auto kmv1_param = KMV1::makeKeyParameter( \ 77 auto legacy_param = V4_0::makeKeyParameter( \ 85 auto kmv1_param = KMV1::makeKeyParameter( \ 87 auto legacy_param = V4_0::makeKeyParameter( \
|
D | km_compat.cpp | 752 mOperationHandle, {V4_0::makeKeyParameter(V4_0::TAG_ASSOCIATED_DATA, input)}, {}, authToken, in updateAad() 812 inParams.push_back(makeKeyParameter(V4_0::TAG_CONFIRMATION_TOKEN, *in_confirmationToken)); in finish() 1089 KMV1::makeKeyParameter(KMV1::TAG_DIGEST, origDigest), in signCertificate() 1092 kps.push_back(KMV1::makeKeyParameter(KMV1::TAG_PADDING, origPadding)); in signCertificate()
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 246 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) { 255 template <Tag tag> inline KeyParameter makeKeyParameter(TypedTag<TagType::BOOL, tag>) { in makeKeyParameter() function 282 return makeKeyParameter(ttag, std::forward<Args>(args)...);
|