Home
last modified time | relevance | path

Searched refs:encryptionKey (Results 1 – 5 of 5) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageBuilder.java176 Key signingKey, SigType sigType, Key encryptionKey, EncType encType, byte[] body) in buildSignCryptedMessage() argument
180 || (encryptionKey == null) in buildSignCryptedMessage()
200 if (taggedPlaintextRequired(signingKey, sigType, encryptionKey)) { in buildSignCryptedMessage()
213 byte[] encryptedBody = CryptoOps.encrypt(encryptionKey, encType, rng, iv, taggedBody); in buildSignCryptedMessage()
223 static boolean taggedPlaintextRequired(Key signingKey, SigType sigType, Key encryptionKey) { in taggedPlaintextRequired() argument
226 || !Arrays.equals(signingKey.getEncoded(), encryptionKey.getEncoded()); in taggedPlaintextRequired()
DCryptoOps.java245 Key encryptionKey, EncType encType, @Nullable SecureRandom rng, byte[] iv, byte[] plaintext) in encrypt() argument
247 if ((encryptionKey == null) || (iv == null) || (plaintext == null)) { in encrypt()
256 deriveAes256KeyFor(getSecretKey(encryptionKey), getPurpose(encType)); in encrypt()
/external/syzkaller/vendor/cloud.google.com/go/storage/
Dcopy.go110 if err := setEncryptionHeaders(call.Header(), c.dst.encryptionKey, false); err != nil {
113 if err := setEncryptionHeaders(call.Header(), c.src.encryptionKey, true); err != nil {
171 if src.encryptionKey != nil {
190 if err := setEncryptionHeaders(call.Header(), c.dst.encryptionKey, false); err != nil {
Dstorage.go264 encryptionKey []byte // AES-256 key member
302 func (o *ObjectHandle) Key(encryptionKey []byte) *ObjectHandle {
304 o2.encryptionKey = encryptionKey
321 if err := setEncryptionHeaders(call.Header(), o.encryptionKey, false); err != nil {
398 if err := setEncryptionHeaders(call.Header(), o.encryptionKey, false); err != nil {
508 if err := setEncryptionHeaders(req.Header, o.encryptionKey, false); err != nil {
Dwriter.go116 if err := setEncryptionHeaders(call.Header(), w.o.encryptionKey, false); err != nil {