1*7ace1cc0SYi Zheng /* 2*7ace1cc0SYi Zheng * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. 3*7ace1cc0SYi Zheng * 4*7ace1cc0SYi Zheng * Redistribution and use in source and binary forms, with or without 5*7ace1cc0SYi Zheng * modification, are permitted provided that the following conditions are met: 6*7ace1cc0SYi Zheng * 7*7ace1cc0SYi Zheng * Redistributions of source code must retain the above copyright notice, this 8*7ace1cc0SYi Zheng * list of conditions and the following disclaimer. 9*7ace1cc0SYi Zheng * 10*7ace1cc0SYi Zheng * Redistributions in binary form must reproduce the above copyright notice, 11*7ace1cc0SYi Zheng * this list of conditions and the following disclaimer in the documentation 12*7ace1cc0SYi Zheng * and/or other materials provided with the distribution. 13*7ace1cc0SYi Zheng * 14*7ace1cc0SYi Zheng * Neither the name of ARM nor the names of its contributors may be used 15*7ace1cc0SYi Zheng * to endorse or promote products derived from this software without specific 16*7ace1cc0SYi Zheng * prior written permission. 17*7ace1cc0SYi Zheng * 18*7ace1cc0SYi Zheng * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19*7ace1cc0SYi Zheng * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*7ace1cc0SYi Zheng * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*7ace1cc0SYi Zheng * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22*7ace1cc0SYi Zheng * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*7ace1cc0SYi Zheng * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*7ace1cc0SYi Zheng * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*7ace1cc0SYi Zheng * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*7ace1cc0SYi Zheng * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*7ace1cc0SYi Zheng * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*7ace1cc0SYi Zheng * POSSIBILITY OF SUCH DAMAGE. 29*7ace1cc0SYi Zheng */ 30*7ace1cc0SYi Zheng #ifndef __CRYPT_H__ 31*7ace1cc0SYi Zheng #define __CRYPT_H__ 32*7ace1cc0SYi Zheng 33*7ace1cc0SYi Zheng #include <stdint.h> 34*7ace1cc0SYi Zheng 35*7ace1cc0SYi Zheng /* crypt function prototype */ 36*7ace1cc0SYi Zheng uint64_t crypt_set_hdcp_key_ex(uint64_t x1, uint64_t x2, uint64_t x3); 37*7ace1cc0SYi Zheng uint64_t crypt_set_hdcp_key_num(uint32_t num); 38*7ace1cc0SYi Zheng uint64_t crypt_clear_hdcp_key(void); 39*7ace1cc0SYi Zheng 40*7ace1cc0SYi Zheng #endif /* __CRYPT_H__ */ 41