| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/ |
| H A D | tee_api.h | 389 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 392 TEE_BigInt *modulus); 398 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 404 TEE_BigInt *bigInt); 406 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 408 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, TEE_BigInt *src); 412 int32_t TEE_BigIntCmp(TEE_BigInt *op1, TEE_BigInt *op2); 414 int32_t TEE_BigIntCmpS32(TEE_BigInt *op, int32_t shortVal); 416 void TEE_BigIntShiftRight(TEE_BigInt *dest, TEE_BigInt *op, 419 bool TEE_BigIntGetBit(TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 183 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | tee_api.h | 357 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 360 const TEE_BigInt *modulus); 366 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 372 const TEE_BigInt *bigInt); 374 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 376 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src); 380 int32_t TEE_BigIntCmp(const TEE_BigInt *op1, const TEE_BigInt *op2); 382 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal); 384 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 387 bool TEE_BigIntGetBit(const TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 167 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/ |
| H A D | tee_api.h | 357 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 360 const TEE_BigInt *modulus); 366 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 372 const TEE_BigInt *bigInt); 374 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 376 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src); 380 int32_t TEE_BigIntCmp(const TEE_BigInt *op1, const TEE_BigInt *op2); 382 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal); 384 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 387 bool TEE_BigIntGetBit(const TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 167 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/ |
| H A D | tee_api.h | 357 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 360 const TEE_BigInt *modulus); 366 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 372 const TEE_BigInt *bigInt); 374 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 376 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src); 380 int32_t TEE_BigIntCmp(const TEE_BigInt *op1, const TEE_BigInt *op2); 382 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal); 384 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 387 bool TEE_BigIntGetBit(const TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 167 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | tee_api.h | 357 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 360 const TEE_BigInt *modulus); 366 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 372 const TEE_BigInt *bigInt); 374 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 376 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src); 380 int32_t TEE_BigIntCmp(const TEE_BigInt *op1, const TEE_BigInt *op2); 382 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal); 384 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 387 bool TEE_BigIntGetBit(const TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 167 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/ |
| H A D | tee_api.h | 389 void TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len); 392 TEE_BigInt *modulus); 398 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 404 TEE_BigInt *bigInt); 406 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 408 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, TEE_BigInt *src); 412 int32_t TEE_BigIntCmp(TEE_BigInt *op1, TEE_BigInt *op2); 414 int32_t TEE_BigIntCmpS32(TEE_BigInt *op, int32_t shortVal); 416 void TEE_BigIntShiftRight(TEE_BigInt *dest, TEE_BigInt *op, 419 bool TEE_BigIntGetBit(TEE_BigInt *src, uint32_t bitIndex); [all …]
|
| H A D | tee_api_types.h | 183 typedef uint32_t TEE_BigInt; typedef
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/ |
| H A D | arith_taf.c | 83 TEE_BigInt *big_int = TEE_Malloc(len * sizeof(TEE_BigInt), 0); in ta_entry_arith_new_var() 101 TEE_BigInt *modulus = NULL; in ta_entry_arith_new_fmm_ctx() 165 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_from_octet_string() 181 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_from_s32() 196 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_get_value() 215 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_get_value_s32() 234 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_get_bit() 249 TEE_BigInt *big_int = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_get_bit_count() 264 TEE_BigInt *op = lookup_handle(HT_BIGINT, params[0].value.a); in ta_entry_arith_shift_right() 265 TEE_BigInt *dest = lookup_handle(HT_BIGINT, params[1].value.a); in ta_entry_arith_shift_right() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/include/ |
| H A D | testframework.h | 26 void tb_set_random_value(TEE_BigInt *a, char *str, int allow_neg); 43 int TEE_BigIntConvertFromString(TEE_BigInt *dest, const char *src); 44 char *TEE_BigIntConvertToString(char *dest, int mode, const TEE_BigInt *src);
|
| H A D | tb_macros.h | 46 TEE_BigInt *name; \ 49 name = (TEE_BigInt *)TEE_Malloc(name##_size * sizeof(TEE_BigInt), 0); \
|
| /OK3568_Linux_fs/u-boot/include/optee_include/ |
| H A D | tee_api_types.h | 161 typedef uint32_t TEE_BigInt; typedef
|