/external/icu/icu4c/source/common/ |
D | uloc_keytype.cpp | 75 LocExtKeyData* keyData = (LocExtKeyData*)obj; in uloc_deleteKeyDataEntry() local 76 if (keyData->typeMap != NULL) { in uloc_deleteKeyDataEntry() 77 uhash_close(keyData->typeMap); in uloc_deleteKeyDataEntry() 79 uprv_free(keyData); in uloc_deleteKeyDataEntry() 383 LocExtKeyData* keyData = (LocExtKeyData*)uprv_malloc(sizeof(LocExtKeyData)); in initFromResourceBundle() local 384 if (keyData == NULL) { in initFromResourceBundle() 388 keyData->bcpId = bcpKeyId; in initFromResourceBundle() 389 keyData->legacyId = legacyKeyId; in initFromResourceBundle() 390 keyData->specialTypes = specialTypes; in initFromResourceBundle() 391 keyData->typeMap = typeDataMap; in initFromResourceBundle() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | KeyGeneratorImpl.java | 72 byte[] keyData = new byte[keyBytes]; in doKeyGeneration() 73 secureRandom.nextBytes(keyData); in doKeyGeneration() 74 return keyData; in doKeyGeneration() 137 byte[] keyData = new byte[DESedeKeySpec.DES_EDE_KEY_LEN]; in doKeyGeneration() 138 secureRandom.nextBytes(keyData); in doKeyGeneration() 140 for (int i = 0; i < keyData.length; i++) { in doKeyGeneration() 141 if (Integer.bitCount(keyData[i]) % 2 == 0) { in doKeyGeneration() 142 keyData[i] = (byte) (keyData[i] ^ 1); in doKeyGeneration() 147 System.arraycopy(keyData, 0, keyData, 16, 8); in doKeyGeneration() 149 return keyData; in doKeyGeneration()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | KeyGeneratorImpl.java | 75 byte[] keyData = new byte[keyBytes]; in doKeyGeneration() 76 secureRandom.nextBytes(keyData); in doKeyGeneration() 77 return keyData; in doKeyGeneration() 175 byte[] keyData = new byte[DESedeKeySpec.DES_EDE_KEY_LEN]; in doKeyGeneration() 176 secureRandom.nextBytes(keyData); in doKeyGeneration() 178 for (int i = 0; i < keyData.length; i++) { in doKeyGeneration() 179 if (Integer.bitCount(keyData[i]) % 2 == 0) { in doKeyGeneration() 180 keyData[i] = (byte) (keyData[i] ^ 1); in doKeyGeneration() 185 System.arraycopy(keyData, 0, keyData, 16, 8); in doKeyGeneration() 187 return keyData; in doKeyGeneration()
|
/external/nos/host/android/hals/keymaster/ |
D | import_key.cpp | 61 const hidl_vec<uint8_t>& keyData, in import_key_rsa() argument 77 pkey.reset(evp_from_pkcs8_bytes(&keyData[0], keyData.size())); in import_key_rsa() 138 const hidl_vec<uint8_t>& keyData, in import_key_ec() argument 153 pkey.reset(evp_from_pkcs8_bytes(&keyData[0], keyData.size())); in import_key_ec() 248 const hidl_vec<uint8_t>& keyData, in import_key_raw() argument 264 if (key_size != nullptr && *key_size != keyData.size() * 8) { in import_key_raw() 268 << keyData.size(); in import_key_raw() 273 keyData.size() != 24) { in import_key_raw() 277 << keyData.size(); in import_key_raw() 283 if (keyData.size() == 0) { in import_key_raw() [all …]
|
D | import_key.h | 38 const hidl_vec<uint8_t>& keyData,
|
D | KeymasterDevice.cpp | 521 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) in importKey() argument 529 error = import_key_request(params, keyFormat, keyData, &request); in importKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 25 private DERBitString keyData; field in SubjectPublicKeyInfo 54 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo() 62 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo() 81 this.keyData = DERBitString.getInstance(e.nextElement()); in SubjectPublicKeyInfo() 109 return ASN1Primitive.fromByteArray(keyData.getOctets()); in parsePublicKey() 124 return ASN1Primitive.fromByteArray(keyData.getOctets()); in getPublicKey() 134 return keyData; in getPublicKeyData() 150 v.add(keyData); in toASN1Primitive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 28 private DERBitString keyData; field in SubjectPublicKeyInfo 59 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo() 67 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo() 86 this.keyData = DERBitString.getInstance(e.nextElement()); in SubjectPublicKeyInfo() 114 return ASN1Primitive.fromByteArray(keyData.getOctets()); in parsePublicKey() 129 return ASN1Primitive.fromByteArray(keyData.getOctets()); in getPublicKey() 139 return keyData; in getPublicKeyData() 155 v.add(keyData); in toASN1Primitive()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | KeyTypeData.java | 128 KeyData keyData = KEYMAP.get(key); in toBcpKey() local 129 if (keyData != null) { in toBcpKey() 130 return keyData.bcpId; in toBcpKey() 137 KeyData keyData = KEYMAP.get(key); in toLegacyKey() local 138 if (keyData != null) { in toLegacyKey() 139 return keyData.legacyId; in toLegacyKey() 157 KeyData keyData = KEYMAP.get(key); in toBcpType() local 158 if (keyData != null) { in toBcpType() 162 Type t = keyData.typeMap.get(type); in toBcpType() 166 if (keyData.specialTypes != null) { in toBcpType() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | KeyTypeData.java | 123 KeyData keyData = KEYMAP.get(key); in toBcpKey() local 124 if (keyData != null) { in toBcpKey() 125 return keyData.bcpId; in toBcpKey() 132 KeyData keyData = KEYMAP.get(key); in toLegacyKey() local 133 if (keyData != null) { in toLegacyKey() 134 return keyData.legacyId; in toLegacyKey() 152 KeyData keyData = KEYMAP.get(key); in toBcpType() local 153 if (keyData != null) { in toBcpType() 157 Type t = keyData.typeMap.get(type); in toBcpType() 161 if (keyData.specialTypes != null) { in toBcpType() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 11 …blic static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) in getEncodedSubjectPublicKeyInfo() argument 15 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo() argument 27 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 15 …blic static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) in getEncodedSubjectPublicKeyInfo() argument 19 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 27 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo() argument 31 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 237 String keyData = new String(readTestFile(name), "US-ASCII"); in readPublicKeyPemFile() local 238 keyData = keyData.replace("-----BEGIN PUBLIC KEY-----", ""); in readPublicKeyPemFile() 239 keyData = keyData.replace("-----END PUBLIC KEY-----", ""); in readPublicKeyPemFile() 240 keyData = keyData.replace("\r", ""); in readPublicKeyPemFile() 241 keyData = keyData.replace("\n", ""); in readPublicKeyPemFile() 243 new X509EncodedKeySpec(decodeBase64(keyData))); in readPublicKeyPemFile()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 235 String keyData = new String(readTestFile(name), "US-ASCII"); in readPublicKeyPemFile() local 236 keyData = keyData.replace("-----BEGIN PUBLIC KEY-----", ""); in readPublicKeyPemFile() 237 keyData = keyData.replace("-----END PUBLIC KEY-----", ""); in readPublicKeyPemFile() 238 keyData = keyData.replace("\r", ""); in readPublicKeyPemFile() 239 keyData = keyData.replace("\n", ""); in readPublicKeyPemFile() 241 new X509EncodedKeySpec(decodeBase64(keyData))); in readPublicKeyPemFile()
|
/external/skqp/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 51 sk_sp<SkData> keyData = SkData::MakeWithoutCopy(&key, sizeof(uint32_t)); in pipelineCache() local 52 cached = persistentCache->load(*keyData); in pipelineCache() 545 sk_sp<SkData> keyData = SkData::MakeWithoutCopy(&key, sizeof(uint32_t)); in storePipelineCacheData() local 548 *keyData, *SkData::MakeWithoutCopy(data.get(), dataSize)); in storePipelineCacheData()
|
/external/skia/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 51 sk_sp<SkData> keyData = SkData::MakeWithoutCopy(&key, sizeof(uint32_t)); in pipelineCache() local 52 cached = persistentCache->load(*keyData); in pipelineCache() 557 sk_sp<SkData> keyData = SkData::MakeWithoutCopy(&key, sizeof(uint32_t)); in storePipelineCacheData() local 560 *keyData, *SkData::MakeWithoutCopy(data.get(), dataSize)); in storePipelineCacheData()
|
/external/nos/host/android/hals/keymaster/include/ |
D | KeymasterDevice.h | 72 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
|
/external/python/cpython2/Mac/Modules/ae/ |
D | _AEmodule.c | 1321 AEDesc keyData; in AE_AECallObjectAccessor() local 1331 AEDesc_Convert, &keyData)) in AE_AECallObjectAccessor() 1337 &keyData, in AE_AECallObjectAccessor()
|