Home
last modified time | relevance | path

Searched refs:EncType (Results 1 – 8 of 8) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java19 import com.google.security.cryptauth.lib.securemessage.CryptoOps.EncType;
74 EncType.valueOf(result.getEncryptionScheme()); in getUnverifiedHeader()
113 EncType.NONE, in parseSignedCleartextMessage()
131 EncType encType) in parseSignCryptedMessage()
150 EncType encType, in parseSignCryptedMessage()
160 if (encType == EncType.NONE) { in parseSignCryptedMessage()
231 EncType encType, in verifyHeaderAndBody()
254 verified &= (encType != EncType.NONE) || !result.getHeader().hasDecryptionKeyId(); in verifyHeaderAndBody()
257 verified &= (encType == EncType.NONE) || !sigType.isPublicKeyScheme() || in verifyHeaderAndBody()
DCryptoOps.java97 public enum EncType { enum in CryptoOps
109 public static EncType valueOf(SecureMessageProto.EncScheme encScheme) { in valueOf()
110 for (EncType value : values()) { in valueOf()
121 EncType(SecureMessageProto.EncScheme encScheme, String jcaName) { in EncType() method in CryptoOps.EncType
219 static byte[] generateIv(EncType encType, SecureRandom rng) throws NoSuchAlgorithmException { in generateIv()
245 Key encryptionKey, EncType encType, @Nullable SecureRandom rng, byte[] iv, byte[] plaintext) in encrypt()
250 if (encType == EncType.NONE) { in encrypt()
284 static byte[] decrypt(Key decryptionKey, EncType encType, byte[] iv, byte[] ciphertext) in decrypt()
290 if (encType == EncType.NONE) { in decrypt()
349 static String getPurpose(EncType encType) { in getPurpose()
DSecureMessageBuilder.java18 import com.google.security.cryptauth.lib.securemessage.CryptoOps.EncType;
149 buildHeader(sigType, EncType.NONE, null).toByteArray(), body); in buildSignedCleartextMessage()
176 Key signingKey, SigType sigType, Key encryptionKey, EncType encType, byte[] body) in buildSignCryptedMessage()
185 if (encType == EncType.NONE) { in buildSignCryptedMessage()
232 private Header buildHeader(SigType sigType, EncType encType, byte[] iv) { in buildHeader()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOps.java19 import com.google.security.cryptauth.lib.securemessage.CryptoOps.EncType;
133 EncType.AES_256_CBC, in signcryptServerMessage()
171 EncType.AES_256_CBC); in verifydecryptServerMessage()
210 EncType.AES_256_CBC, in signcryptClientMessage()
234 EncType.AES_256_CBC); in verifydecryptClientMessage()
DEnrollmentCryptoOps.java22 import com.google.security.cryptauth.lib.securemessage.CryptoOps.EncType;
56 private static final EncType OUTER_ENC_TYPE = EncType.AES_256_CBC;
DD2DCryptoOps.java25 import com.google.security.cryptauth.lib.securemessage.CryptoOps.EncType;
117 EncType.AES_256_CBC, in signcryptPayload()
164 EncType.AES_256_CBC); in verifydecryptPayload()
/external/clang/lib/CodeGen/
DTargetInfo.cpp7744 const char *EncType; in appendBuiltinType() local
7747 EncType = "0"; in appendBuiltinType()
7750 EncType = "b"; in appendBuiltinType()
7753 EncType = "uc"; in appendBuiltinType()
7756 EncType = "uc"; in appendBuiltinType()
7759 EncType = "sc"; in appendBuiltinType()
7762 EncType = "us"; in appendBuiltinType()
7765 EncType = "ss"; in appendBuiltinType()
7768 EncType = "ui"; in appendBuiltinType()
7771 EncType = "si"; in appendBuiltinType()
[all …]
/external/clang/include/clang/AST/
DExprObjC.h379 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) {
380 EncodedType = EncType;