Lines Matching refs:in_len

41 int32_t csi_tee_aes_encrypt(const uint8_t *in, uint32_t in_len,
59 int32_t csi_tee_aes_decrypt(const uint8_t *in, uint32_t in_len,
76 #define csi_tee_aes_encrypt_ecb(in, in_len, key, key_len, out) \ argument
77 csi_tee_aes_encrypt(in, in_len, key, key_len, NULL, out, TEE_AES_MODE_ECB)
90 #define csi_tee_aes_decrypt_ecb(in, in_len, key, key_len, out) \ argument
91 csi_tee_aes_decrypt(in, in_len, key, key_len, NULL, out, TEE_AES_MODE_ECB)
104 #define csi_tee_aes_encrypt_cbc(in, in_len, key, key_len, iv, out) \ argument
105 csi_tee_aes_encrypt(in, in_len, key, key_len, iv, out, TEE_AES_MODE_CBC)
118 #define csi_tee_aes_decrypt_cbc(in, in_len, key, key_len, iv, out) \ argument
119 csi_tee_aes_decrypt(in, in_len, key, key_len, iv, out, TEE_AES_MODE_CBC)
131 int32_t csi_tee_base64(const uint8_t *in, uint32_t in_len,
144 #define csi_tee_base64_encode(in,in_len,out,out_len) \ argument
145 csi_tee_base64(in,in_len,out,out_len,1,0)
155 #define csi_tee_base64_decode(in,in_len,out,out_len) \ argument
156 csi_tee_base64(in,in_len,out,out_len,0,0)
166 #define csi_tee_base64_websafe_encode(in,in_len,out,out_len) \ argument
167 csi_tee_base64(in,in_len,out,out_len,1,1)
177 #define csi_tee_base64_websafe_decode(in,in_len,out,out_len) \ argument
178 csi_tee_base64(in,in_len,out,out_len,0,1)
284 int32_t csi_tee_rsa_sign(const uint8_t *in, uint32_t in_len,
300 int32_t csi_tee_rsa_verify(const uint8_t *in, uint32_t in_len,
322 int32_t csi_tee_rsa_encrypt(const uint8_t *in, uint32_t in_len,
337 int32_t csi_tee_rsa_decrypt(const uint8_t *in, uint32_t in_len,
352 #define csi_tee_cid_rsa_sign(in,in_len,sign,sign_len,type) \ argument
353 csi_tee_rsa_sign(in,in_len,NULL,0,sign,sign_len,type)
365 #define csi_tee_cid_rsa_verify(in,in_len,sign,sign_len,type) \ argument
366 csi_tee_rsa_verify(in,in_len,NULL,0,sign,sign_len,type)
378 #define csi_tee_cid_rsa_encrypt(in,in_len,out,out_len,padding) \ argument
379 csi_tee_rsa_encrypt(in,in_len,NULL,0,out,out_len,padding)
393 #define csi_tee_cid_rsa_decrypt(in,in_len,out,out_len,padding) \ argument
394 csi_tee_rsa_decrypt(in,in_len,NULL,0,out,out_len,padding)
406 int32_t csi_tee_img_rsa_verify(const uint8_t *in, uint32_t in_len,
438 int32_t csi_tee_hmac(const uint8_t *in, uint32_t in_len,
456 #define csi_tee_hmac_digest(in,in_len,key,key_len,out,type) \ argument
457 csi_tee_hmac(in,in_len,key,key_len,out,type,TEE_HASH_OP_NONE,NULL)
481 int32_t csi_tee_sha(const uint8_t *in, uint32_t in_len,
496 #define csi_tee_sha_digest(in,in_len,out,type) \ argument
497 csi_tee_sha(in,in_len,out,type,TEE_HASH_OP_NONE,NULL);
515 #define csi_tee_sha_update(in,in_len,ctx) \ argument
516 csi_tee_sha(in,in_len,NULL,0,TEE_HASH_OP_UPDATA,ctx);
555 int32_t csi_tee_dev_info_sign(const uint8_t *in, uint32_t in_len,
568 int32_t csi_tee_dev_info_crypt(const uint8_t *in, uint32_t in_len,
580 #define csi_tee_dev_info_encrypt(in, in_len, out, out_len) \ argument
581 csi_tee_dev_info_crypt(in, in_len, out, out_len, 1)
591 #define csi_tee_dev_info_decrypt(in, in_len, out, out_len) \ argument
592 csi_tee_dev_info_crypt(in, in_len, out, out_len, 0)