Lines Matching +full:op +full:- +full:tee
1 /* SPDX-License-Identifier: BSD-2-Clause */
15 * Copied from TEE Internal API specificaion v1.0 table 6-9 "Structure of
43 #define TEE_MAIN_ALGO_HKDF 0xC0 /* OP-TEE extension */
44 #define TEE_MAIN_ALGO_CONCAT_KDF 0xC1 /* OP-TEE extension */
45 #define TEE_MAIN_ALGO_PBKDF2 0xC2 /* OP-TEE extension */
47 #define TEE_MAIN_ALGO_SHAKE128 0xC3 /* OP-TEE extension */
48 #define TEE_MAIN_ALGO_SHAKE256 0xC4 /* OP-TEE extension */
124 * Value not defined in the GP spec, and not used as bits 15-12 of any TEE_ALG*
125 * value. TEE_ALG_SM2_DSA_SM3 has value 0x6 for bits 15-12 which would yield the
126 * SHA512 digest if we were to apply the bit masks that were valid up to the TEE
187 /* SHA-512 */
267 * See TEE Internal API specificaion v1.0 table 6-12 "Partial Structure of
335 (dst).millis -= TEE_TIME_MILLIS_BASE; \
340 (dst).seconds = (t1).seconds - (t2).seconds; \
342 (dst).seconds--; \
343 (dst).millis = (t1).millis + TEE_TIME_MILLIS_BASE - (t2).millis;\
345 (dst).millis = (t1).millis - (t2).millis; \
349 /* ------------------------------------------------------------ */
351 /* ------------------------------------------------------------ */