/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
H A D | SignatureTest.java | 1598 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSA_Key_Success() local 1608 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA256withRSA_Key_Success() local 1618 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA384withRSA_Key_Success() local 1628 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA512withRSA_Key_Success() local 1638 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_MD5withRSA_Key_Success() local 1648 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_Key_Success() local 1664 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_NoSalt_Key_Success() local 1679 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_MaxSalt_Key_Success() local 1694 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA224withRSAPSS_Key_Success() local 1710 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA224withRSAPSS_NoSalt_Key_Success() local [all …]
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
H A D | SignatureTest.java | 1605 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSA_Key_Success() local 1615 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA256withRSA_Key_Success() local 1625 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA384withRSA_Key_Success() local 1635 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA512withRSA_Key_Success() local 1645 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_MD5withRSA_Key_Success() local 1655 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_Key_Success() local 1671 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_NoSalt_Key_Success() local 1686 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA1withRSAPSS_MaxSalt_Key_Success() local 1701 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA224withRSAPSS_Key_Success() local 1717 PublicKey pubKey = kf.generatePublic(keySpec); in testVerify_SHA224withRSAPSS_NoSalt_Key_Success() local [all …]
|
/aosp_15_r20/hardware/interfaces/identity/support/tests/ |
H A D | IdentityCredentialSupportTest.cpp | 65 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local 115 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local 146 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local 178 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in generateCertChain() local 192 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local 218 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local 244 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local
|
/aosp_15_r20/external/libese/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/ |
H A D | KMAsn1Parser.java | 197 short pubKey = KMByteBlob.instance((short) (len - 1)); in decodeEcSubjectPublicKeyInfo() local 220 short pubKey = KMByteBlob.instance(len); in decodeRsaPrivateKey() local 227 KMArray.cast(resp).add((short) 1, pubKey); in decodeRsaPrivateKey() local 322 short pubKey = KMByteBlob.instance((short) (len - 1)); in decodeEcPrivateKey() local 324 KMArray.cast(resp).add((short) 0, pubKey); in decodeEcPrivateKey() local
|
H A D | KMCoseKey.java | 135 public short getEcdsa256PublicKey(byte[] pubKey, short pubKeyOff) { in getEcdsa256PublicKey() 143 pubKey, in getEcdsa256PublicKey() local 151 pubKey, in getEcdsa256PublicKey() local
|
/aosp_15_r20/external/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/ |
H A D | KMAsn1Parser.java | 197 short pubKey = KMByteBlob.instance((short) (len - 1)); in decodeEcSubjectPublicKeyInfo() local 220 short pubKey = KMByteBlob.instance(len); in decodeRsaPrivateKey() local 227 KMArray.cast(resp).add((short) 1, pubKey); in decodeRsaPrivateKey() local 322 short pubKey = KMByteBlob.instance((short) (len - 1)); in decodeEcPrivateKey() local 324 KMArray.cast(resp).add((short) 0, pubKey); in decodeEcPrivateKey() local
|
H A D | KMCoseKey.java | 139 public short getEcdsa256PublicKey(byte[] pubKey, short pubKeyOff) { in getEcdsa256PublicKey() 147 pubKey, in getEcdsa256PublicKey() local 155 pubKey, in getEcdsa256PublicKey() local
|
/aosp_15_r20/libcore/ojluni/src/test/java/security/KeyAgreement/ |
H A D | KeySpecTest.java | 139 PublicKey pubKey = kf.generatePublic(pubSpec); in testKeySpecs() local 177 PublicKey pubKey = kf.generatePublic(pubSpec); in testEncodedKeySpecs() local 240 PublicKey pubKey, PrivateKey priKey) throws Exception { in getKeyAgreementSecret() 251 private static void testKeyEquals(KeyPair kp, PublicKey pubKey, in testKeyEquals()
|
/aosp_15_r20/hardware/interfaces/security/keymint/support/ |
H A D | remote_prov_utils.cpp | 97 ErrMsgOr<std::tuple<bytevec, bytevec>> getAffineCoordinates(const bytevec& pubKey) { in getAffineCoordinates() 126 ErrMsgOr<bytevec> getRawPublicKey(const EVP_PKEY_Ptr& pubKey) { in getRawPublicKey() 176 auto pubKey = ecKeyGetPublicKey(ec_key.get(), NID_X9_62_prime256v1); in generateEc256KeyPair() local 184 bytevec pubKey(X25519_PUBLIC_VALUE_LEN); in generateX25519KeyPair() local 192 bytevec pubKey(ED25519_PUBLIC_KEY_LEN); in generateED25519KeyPair() local 213 const bytevec& pubKey) { in constructCoseKey() 832 EVP_PKEY_Ptr pubKey(X509_get_pubkey(keyCert->get())); in validateCertChain() local 888 auto pubKey = coseKey->getEcPublicKey(); in validateUdsCerts() local
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/12/libcore/ojluni/src/main/java/java/security/cert/ |
D | TrustAnchor.java | 65 private final PublicKey pubKey; field in TrustAnchor 162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor() 205 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints) in TrustAnchor()
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | TrustAnchor.java | 65 private final PublicKey pubKey; field in TrustAnchor 162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor() 205 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints) in TrustAnchor()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/security/cert/ |
D | TrustAnchor.java | 65 private final PublicKey pubKey; field in TrustAnchor 162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor() 205 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints) in TrustAnchor()
|
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLECPublicKey.java | 58 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group, in OpenSSLECPublicKey() local 71 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group, in getInstance() local 101 final OpenSSLECPointContext pubKey = new OpenSSLECPointContext(group, in getPublicKey() local
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
H A D | OpenSSLECPublicKey.java | 60 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group, in OpenSSLECPublicKey() local 73 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance(group, in getInstance() local 103 final OpenSSLECPointContext pubKey = new OpenSSLECPointContext(group, in getPublicKey() local
|
/aosp_15_r20/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
H A D | RsaOaepTest.java | 63 private static PrivateKey saveKeyPairToKeystoreAndReturnPrivateKey(PublicKey pubKey, in saveKeyPairToKeystoreAndReturnPrivateKey() 134 String pubKey = in testDefaults() local 186 PublicKey pubKey = kf.generatePublic(new RSAPublicKeySpec(modulus, exponent)); in getPrivateKey() local
|
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_java_ffi/java/com/google/android/nearby/presence/rust/credential/ |
D | V1DiscoveryCredential.java | 27 private final byte[] pubKey; field in V1DiscoveryCredential 35 byte[] pubKey) { in V1DiscoveryCredential()
|
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/ |
H A D | AuthorityKeyIdentifierStructure.java | 107 PublicKey pubKey) in fromKey() 144 PublicKey pubKey) in AuthorityKeyIdentifierStructure()
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/extension/ |
H A D | AuthorityKeyIdentifierStructure.java | 107 PublicKey pubKey) in fromKey() 144 PublicKey pubKey) in AuthorityKeyIdentifierStructure()
|
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
H A D | AuthorityKeyIdentifierStructure.java | 105 PublicKey pubKey) in fromKey() 142 PublicKey pubKey) in AuthorityKeyIdentifierStructure()
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
H A D | CipherTest.java | 2719 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_OnlyDoFinal_Success() local 2745 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_OnlyDoFinalWithOffset_Success() local 2781 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_UpdateThenEmptyDoFinal_Success() local 2811 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_SingleByteUpdateThenEmptyDoFinal_Success() local 2844 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_TooSmall_Success() local 3030 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetBlockSize_Success() local 3060 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetOutputSize_Success() local 3079 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetIV_Success() local
|
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
H A D | CipherTest.java | 2716 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_OnlyDoFinal_Success() local 2742 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_OnlyDoFinalWithOffset_Success() local 2778 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_UpdateThenEmptyDoFinal_Success() local 2808 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_SingleByteUpdateThenEmptyDoFinal_Success() local 2841 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_Public_TooSmall_Success() local 3027 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetBlockSize_Success() local 3057 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetOutputSize_Success() local 3076 final PublicKey pubKey = (PublicKey) getEncryptKey("RSA"); in testRSA_ECB_NoPadding_GetIV_Success() local
|
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
H A D | TestUtil.java | 381 public static EcdsaPrivateKey createEcdsaPrivKey(EcdsaPublicKey pubKey, byte[] privKey) { in createEcdsaPrivKey() 425 ECPublicKey pubKey = (ECPublicKey) keyPair.getPublic(); in generateEcdsaPrivKey() local 528 ECPublicKey pubKey = (ECPublicKey) keyPair.getPublic(); in generateEciesAeadHkdfPrivKey() local 550 EciesAeadHkdfPublicKey pubKey, byte[] privKeyValue) throws Exception { in createEciesAeadHkdfPrivKey()
|
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
H A D | KeyAgreementSpi.java | 156 DHPublicKey pubKey = (DHPublicKey)key; in engineDoPhase() local 417 private DHPublicKeyParameters generatePublicKeyParameter(PublicKey pubKey) in generatePublicKeyParameter()
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
H A D | KeyAgreementSpi.java | 158 DHPublicKey pubKey = (DHPublicKey)key; in engineDoPhase() local 419 private DHPublicKeyParameters generatePublicKeyParameter(PublicKey pubKey) in generatePublicKeyParameter()
|
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
H A D | KeyAgreementSpi.java | 158 DHPublicKey pubKey = (DHPublicKey)key; in engineDoPhase() local 419 private DHPublicKeyParameters generatePublicKeyParameter(PublicKey pubKey) in generatePublicKeyParameter()
|