/external/nos/host/android/hals/keymaster/include/ |
D | KeymasterDevice.h | 35 using ::android::hardware::keymaster::V4_0::KeyParameter; 59 const hidl_vec<KeyParameter>& parametersToVerify, 63 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams, 71 const hidl_vec<KeyParameter>& params, KeyFormat keyFormat, 76 const hidl_vec<KeyParameter>& unwrappingParams, 84 const hidl_vec<KeyParameter>& attestParams, 87 const hidl_vec<KeyParameter>& upgradeParams, 93 const hidl_vec<KeyParameter>& inParams, 97 uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams, 102 uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams,
|
/external/nos/host/android/hals/keymaster/ |
D | proto_utils.h | 36 using ::android::hardware::keymaster::V4_0::KeyParameter; 49 typedef map<Tag, vector<KeyParameter>> tag_map_t; 51 ErrorCode key_parameter_to_pb(const KeyParameter& param, 52 nosapp::KeyParameter *pb); 53 ErrorCode hidl_params_to_pb(const hidl_vec<KeyParameter>& params, 55 ErrorCode hidl_params_to_map(const hidl_vec<KeyParameter>& params, 60 hidl_vec<KeyParameter> *params);
|
D | KeymasterDevice.cpp | 420 uint64_t operationHandle, const hidl_vec<KeyParameter>& parametersToVerify, in verifyAuthorization() 456 const hidl_vec<KeyParameter>& keyParams, in generateKey() 520 const hidl_vec<KeyParameter>& params, KeyFormat keyFormat, in importKey() 639 const hidl_vec<KeyParameter>& attestParams, in attestKey() 824 for (const KeyParameter ¶m : characteristics.hardwareEnforced) { in attestKey() 916 const hidl_vec<KeyParameter>& upgradeParams, in upgradeKey() 985 const hidl_vec<KeyParameter>& inParams, in begin() 997 hidl_vec<KeyParameter> params; in begin() 1017 KM_CALLV(BeginOperation, request, response, hidl_vec<KeyParameter>{}, 0); in begin() 1051 const hidl_vec<KeyParameter>& inParams, in update() [all …]
|
D | import_key.cpp | 66 const vector<KeyParameter>& v = params.find(Tag::KEY_SIZE)->second; in import_key_rsa() 71 const vector<KeyParameter>& v = in import_key_rsa() 143 const vector<KeyParameter>& v = params.find(Tag::EC_CURVE)->second; in import_key_ec() 148 const vector<KeyParameter>& v = params.find(Tag::KEY_SIZE)->second; in import_key_ec() 259 const vector<KeyParameter>& v = params.find(Tag::KEY_SIZE)->second; in import_key_raw() 294 ErrorCode import_key_request(const hidl_vec<KeyParameter>& params, in import_key_request() 313 const vector<KeyParameter>& v = tag_map.find(Tag::ALGORITHM)->second; in import_key_request()
|
D | import_wrapped_key.cpp | 127 KeyParameter kp; in parse_asn1_set() 152 nosapp::KeyParameter *param = request->mutable_params()->add_params(); in parse_asn1_set() 176 KeyParameter kp; in parse_asn1_integer() 209 nosapp::KeyParameter *param = request->mutable_params()->add_params(); in parse_asn1_integer() 237 KeyParameter kp; in parse_asn1_boolean() 249 nosapp::KeyParameter *param = request->mutable_params()->add_params(); in parse_asn1_boolean() 276 KeyParameter kp; in parse_asn1_octet_string() 289 nosapp::KeyParameter *param = request->mutable_params()->add_params(); in parse_asn1_octet_string()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBE.java | 28 import org.bouncycastle.crypto.params.KeyParameter; 278 (KeyParameter) parametersWithIV.getParameters(), in makePBEParameters() 292 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() 298 KeyParameter kParam = (KeyParameter)param; in makePBEParameters() 347 (KeyParameter) parametersWithIV.getParameters(), in makePBEParameters() 361 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() 367 KeyParameter kParam = (KeyParameter)param; in makePBEParameters()
|
D | BCPBEKey.java | 11 import org.bouncycastle.crypto.params.KeyParameter; 71 KeyParameter kParam; in getEncoded() 75 kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in getEncoded() 79 kParam = (KeyParameter)param; in getEncoded()
|
D | BaseMac.java | 23 import org.bouncycastle.crypto.params.KeyParameter; 176 param = new KeyParameter(key.getEncoded()); in engineInit() 179 KeyParameter keyParam; in engineInit() 182 keyParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in engineInit() 186 keyParam = (KeyParameter)param; in engineInit() 213 param = new KeyParameter(key.getEncoded()); in engineInit()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBE.java | 29 import com.android.org.bouncycastle.crypto.params.KeyParameter; 282 (KeyParameter) parametersWithIV.getParameters(), in makePBEParameters() 296 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() 302 KeyParameter kParam = (KeyParameter)param; in makePBEParameters() 351 (KeyParameter) parametersWithIV.getParameters(), in makePBEParameters() 365 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() 371 KeyParameter kParam = (KeyParameter)param; in makePBEParameters()
|
D | BaseMac.java | 24 import com.android.org.bouncycastle.crypto.params.KeyParameter; 180 param = new KeyParameter(key.getEncoded()); in engineInit() 183 KeyParameter keyParam; in engineInit() 186 keyParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in engineInit() 190 keyParam = (KeyParameter)param; in engineInit() 217 param = new KeyParameter(key.getEncoded()); in engineInit()
|
D | BCPBEKey.java | 12 import com.android.org.bouncycastle.crypto.params.KeyParameter; 75 KeyParameter kParam; in getEncoded() 79 kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in getEncoded() 83 kParam = (KeyParameter)param; in getEncoded()
|
/external/nos/host/android/hals/keymaster/test/ |
D | import_key_test.cpp | 54 using ::android::hardware::keymaster::V4_0::KeyParameter; 126 const hidl_vec<KeyParameter>& params, const RSA *rsa) in ImportKeyRequestMatcher() 135 const hidl_vec<KeyParameter>& params, const EC_KEY *ec) in ImportKeyRequestMatcher() 144 const hidl_vec<KeyParameter>& params, in ImportKeyRequestMatcher() 181 hidl_vec<KeyParameter> params; in MatchAndExplainRSA() 325 const hidl_vec<KeyParameter> params_; 333 const hidl_vec<KeyParameter>& params, const RSA *rsa) { in ImportKeyRequestEq() 341 KeyParameter kp; in TEST() 368 nosapp::KeyParameter *noskp = in TEST() 376 ImportKey(ImportKeyRequestEq(hidl_vec<KeyParameter>{kp}, rsa.get()), _)) in TEST() [all …]
|
D | import_wrapped_key_test.cpp | 56 using ::android::hardware::keymaster::V4_0::KeyParameter; 152 const hidl_vec<KeyParameter>& params, in ImportWrappedKeyRequestMatcher() 286 const hidl_vec<KeyParameter>& params_; 298 const hidl_vec<KeyParameter>& params, in ImportWrappedKeyRequestEq() 318 KeyParameter kp1; in TEST() 321 KeyParameter kp2; in TEST() 348 nosapp::KeyParameter *noskp = in TEST() 363 hidl_vec<KeyParameter>{kp1, kp2}, in TEST()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | AEADParameters.java | 11 private KeyParameter key; 21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) in AEADParameters() 34 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) in AEADParameters() 42 public KeyParameter getKey() in getKey()
|
D | KeyParameter.java | 5 public class KeyParameter class 10 public KeyParameter( in KeyParameter() method in KeyParameter 16 public KeyParameter( in KeyParameter() method in KeyParameter
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/ |
D | AEADParameters.java | 15 private KeyParameter key; 25 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) in AEADParameters() 38 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) in AEADParameters() 46 public KeyParameter getKey() in getKey()
|
D | KeyParameter.java | 10 public class KeyParameter class 15 public KeyParameter( in KeyParameter() method in KeyParameter 21 public KeyParameter( in KeyParameter() method in KeyParameter
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 8 import org.bouncycastle.crypto.params.KeyParameter; 25 private KeyParameter param; 65 if (param instanceof KeyParameter) in init() 67 this.param = (KeyParameter)param; in init() 72 this.param = (KeyParameter)((ParametersWithIV) param).getParameters(); in init()
|
D | DESedeWrapEngine.java | 11 import org.bouncycastle.crypto.params.KeyParameter; 38 private KeyParameter param; 86 if (param instanceof KeyParameter) in init() 88 this.param = (KeyParameter)param; in init() 105 this.param = (KeyParameter)this.paramPlusIV.getParameters(); in init()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 9 import com.android.org.bouncycastle.crypto.params.KeyParameter; 27 private KeyParameter param; 67 if (param instanceof KeyParameter) in init() 69 this.param = (KeyParameter)param; in init() 74 this.param = (KeyParameter)((ParametersWithIV) param).getParameters(); in init()
|
D | DESedeWrapEngine.java | 12 import com.android.org.bouncycastle.crypto.params.KeyParameter; 40 private KeyParameter param; 88 if (param instanceof KeyParameter) in init() 90 this.param = (KeyParameter)param; in init() 107 this.param = (KeyParameter)this.paramPlusIV.getParameters(); in init()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | PKCS5S2ParametersGenerator.java | 8 import org.bouncycastle.crypto.params.KeyParameter; 88 CipherParameters param = new KeyParameter(password); in generateDerivedKey() 122 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 143 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
D | PKCS5S1ParametersGenerator.java | 6 import org.bouncycastle.crypto.params.KeyParameter; 75 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 103 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | PKCS5S2ParametersGenerator.java | 9 import com.android.org.bouncycastle.crypto.params.KeyParameter; 90 CipherParameters param = new KeyParameter(password); in generateDerivedKey() 124 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 145 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
/external/nos/test/system-test-harness/src/ |
D | keymaster-import-key-tests.cc | 42 KeyParameter *param = params->add_params(); in initRSARequest() 52 KeyParameter *param = params->add_params(); in initRSARequest() 64 KeyParameter *param = params->add_params(); in initRSARequest() 116 KeyParameter *param = params->add_params(); in TEST_F() 234 KeyParameter *param = params->add_params(); in TEST_F() 259 KeyParameter *param = params->add_params(); in TEST_F() 364 KeyParameter *param = params->add_params(); in TEST_F() 377 KeyParameter *param = params->add_params(); in TEST_F() 396 KeyParameter *param = params->add_params(); in TEST_F() 419 KeyParameter *param = params->add_params(); in TEST_F() [all …]
|