Lines Matching refs:protobuf
120 EncryptedData protobuf; in encryptWithAuthentication() local
121 protobuf.set_init_vector(init_vector); in encryptWithAuthentication()
122 protobuf.set_authentication_data(raw_authentication_data); in encryptWithAuthentication()
123 protobuf.set_encrypted_data(raw_encrypted_data); in encryptWithAuthentication()
124 if (!protobuf.SerializeToString(encrypted_data)) { in encryptWithAuthentication()
134 EncryptedData protobuf; in decryptWithAuthentication() local
135 if (!protobuf.ParseFromString(encrypted_data)) { in decryptWithAuthentication()
145 protobuf.init_vector() + protobuf.encrypted_data(), in decryptWithAuthentication()
146 protobuf.authentication_data(), &output_params, &output_data)) { in decryptWithAuthentication()
154 encrypt_params.Authorization(keymaster::TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication()
155 protobuf.init_vector().size()); in decryptWithAuthentication()
157 protobuf.encrypted_data(), std::string(), /* signature_to_verify */ in decryptWithAuthentication()