Lines Matching defs:base
208 status_t ltc_wait(LTC_Type *base) in ltc_wait()
247 void ltc_clear_all(LTC_Type *base, bool addPKHA) in ltc_clear_all()
377 static void ltc_set_key(LTC_Type *base, const uint8_t *key, uint8_t keySize) in ltc_set_key()
396 static void ltc_get_key(LTC_Type *base, uint8_t *key, uint8_t keySize) in ltc_get_key()
421 status_t ltc_set_context(LTC_Type *base, const uint8_t *data, uint8_t dataSize, uint8_t startIndex) in ltc_set_context()
466 status_t ltc_get_context(LTC_Type *base, uint8_t *dest, uint8_t dataSize, uint8_t startIndex) in ltc_get_context()
496 static status_t ltc_symmetric_alg_state(LTC_Type *base, in ltc_symmetric_alg_state()
543 status_t ltc_symmetric_update(LTC_Type *base, in ltc_symmetric_update()
565 static status_t ltc_symmetric_final(LTC_Type *base, in ltc_symmetric_final()
587 static status_t ltc_symmetric_init(LTC_Type *base, in ltc_symmetric_init()
608 static status_t ltc_symmetric_init_final(LTC_Type *base, in ltc_symmetric_init_final()
618 void ltc_symmetric_process(LTC_Type *base, uint32_t inSize, const uint8_t **inData, uint8_t **outDa… in ltc_symmetric_process()
697 status_t ltc_symmetric_process_data(LTC_Type *base, const uint8_t *inData, uint32_t inSize, uint8_t… in ltc_symmetric_process_data()
743 static status_t ltc_process_message_in_sessions(LTC_Type *base, in ltc_process_message_in_sessions()
805 static void ltc_move_block_to_ififo(LTC_Type *base, const ltc_xcm_block_t *blk, uint32_t num_bytes) in ltc_move_block_to_ififo()
831 static void ltc_move_to_ififo(LTC_Type *base, const uint8_t *data, uint32_t dataSize) in ltc_move_to_ififo()
867 static status_t ltc_symmetric_process_data_multiple(LTC_Type *base, in ltc_symmetric_process_data_multiple()
1001 static status_t ltc_aes_received_mac_compare(LTC_Type *base, const uint8_t *tag, uint32_t tagSize, … in ltc_aes_received_mac_compare()
1034 static status_t ltc_aes_process_tag(LTC_Type *base, uint8_t *tag, uint32_t tagSize, ltc_mode_t mode… in ltc_aes_process_tag()
1061 void LTC_Init(LTC_Type *base) in LTC_Init()
1076 void LTC_Deinit(LTC_Type *base) in LTC_Deinit()
1105 void LTC_SetDpaMaskSeed(LTC_Type *base, uint32_t mask) in LTC_SetDpaMaskSeed()
1116 static status_t ltc_aes_decrypt_ecb(LTC_Type *base, in ltc_aes_decrypt_ecb()
1161 status_t LTC_AES_GenerateDecryptKey(LTC_Type *base, const uint8_t *encryptKey, uint8_t *decryptKey,… in LTC_AES_GenerateDecryptKey()
1196 …LTC_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t *key, … in LTC_AES_EncryptEcb()
1237 status_t LTC_AES_DecryptEcb(LTC_Type *base, in LTC_AES_DecryptEcb()
1274 status_t LTC_AES_EncryptCbc(LTC_Type *base, in LTC_AES_EncryptCbc()
1328 status_t LTC_AES_DecryptCbc(LTC_Type *base, in LTC_AES_DecryptCbc()
1398 status_t LTC_AES_CryptCtr(LTC_Type *base, in LTC_AES_CryptCtr()
1505 static status_t ltc_aes_gcm_check_input_args(LTC_Type *base, in ltc_aes_gcm_check_input_args()
1553 static void ivsize_next(LTC_Type *base, uint32_t ivSize, bool iv_only) in ivsize_next()
1561 static void aadsize_next(LTC_Type *base, uint32_t aadSize, bool aad_only) in aadsize_next()
1577 …LTC_Type *base, const uint8_t *iv, uint32_t ivSize, ltc_mode_t modeReg, bool iv_only, int type, lt… in ltc_aes_gcm_process_iv_aad()
1624 static status_t ltc_aes_gcm_process(LTC_Type *base, in ltc_aes_gcm_process()
1796 status_t LTC_AES_EncryptTagGcm(LTC_Type *base, in LTC_AES_EncryptTagGcm()
1838 status_t LTC_AES_DecryptTagGcm(LTC_Type *base, in LTC_AES_DecryptTagGcm()
1872 static status_t ltc_aes_ccm_check_input_args(LTC_Type *base, in ltc_aes_ccm_check_input_args()
1926 …LTC_Type *base, uint32_t inputSize, const uint8_t *iv, uint32_t ivSize, uint32_t aadSize, uint32_t… in ltc_aes_ccm_context_init()
1961 LTC_Type *base, uint32_t inputSize, const uint8_t *aad, uint32_t aadSize, ltc_mode_t *modeReg) in ltc_aes_ccm_process_aad()
2050 static status_t ltc_aes_ccm_process(LTC_Type *base, in ltc_aes_ccm_process()
2166 status_t LTC_AES_EncryptTagCcm(LTC_Type *base, in LTC_AES_EncryptTagCcm()
2207 status_t LTC_AES_DecryptTagCcm(LTC_Type *base, in LTC_AES_DecryptTagCcm()
2242 static status_t ltc_des_process(LTC_Type *base, in ltc_des_process()
2298 static status_t ltc_3des_process(LTC_Type *base, in ltc_3des_process()
2364 …LTC_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t key[LT… in LTC_DES_EncryptEcb()
2382 …LTC_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, uint32_t size, const uint8_t key[LT… in LTC_DES_DecryptEcb()
2401 status_t LTC_DES_EncryptCbc(LTC_Type *base, in LTC_DES_EncryptCbc()
2425 status_t LTC_DES_DecryptCbc(LTC_Type *base, in LTC_DES_DecryptCbc()
2448 status_t LTC_DES_EncryptCfb(LTC_Type *base, in LTC_DES_EncryptCfb()
2471 status_t LTC_DES_DecryptCfb(LTC_Type *base, in LTC_DES_DecryptCfb()
2495 status_t LTC_DES_EncryptOfb(LTC_Type *base, in LTC_DES_EncryptOfb()
2519 status_t LTC_DES_DecryptOfb(LTC_Type *base, in LTC_DES_DecryptOfb()
2542 status_t LTC_DES2_EncryptEcb(LTC_Type *base, in LTC_DES2_EncryptEcb()
2566 status_t LTC_DES3_EncryptEcb(LTC_Type *base, in LTC_DES3_EncryptEcb()
2590 status_t LTC_DES2_DecryptEcb(LTC_Type *base, in LTC_DES2_DecryptEcb()
2614 status_t LTC_DES3_DecryptEcb(LTC_Type *base, in LTC_DES3_DecryptEcb()
2640 status_t LTC_DES2_EncryptCbc(LTC_Type *base, in LTC_DES2_EncryptCbc()
2667 status_t LTC_DES3_EncryptCbc(LTC_Type *base, in LTC_DES3_EncryptCbc()
2694 status_t LTC_DES2_DecryptCbc(LTC_Type *base, in LTC_DES2_DecryptCbc()
2721 status_t LTC_DES3_DecryptCbc(LTC_Type *base, in LTC_DES3_DecryptCbc()
2747 status_t LTC_DES2_EncryptCfb(LTC_Type *base, in LTC_DES2_EncryptCfb()
2773 status_t LTC_DES3_EncryptCfb(LTC_Type *base, in LTC_DES3_EncryptCfb()
2799 status_t LTC_DES2_DecryptCfb(LTC_Type *base, in LTC_DES2_DecryptCfb()
2825 status_t LTC_DES3_DecryptCfb(LTC_Type *base, in LTC_DES3_DecryptCfb()
2852 status_t LTC_DES2_EncryptOfb(LTC_Type *base, in LTC_DES2_EncryptOfb()
2879 status_t LTC_DES3_EncryptOfb(LTC_Type *base, in LTC_DES3_EncryptOfb()
2906 status_t LTC_DES2_DecryptOfb(LTC_Type *base, in LTC_DES2_DecryptOfb()
2933 status_t LTC_DES3_DecryptOfb(LTC_Type *base, in LTC_DES3_DecryptOfb()
2993 LTC_Type *base; /*!< LTC peripheral base address */ member
3028 LTC_Type *base, ltc_hash_ctx_t *ctx, ltc_hash_algo_t algo, const uint8_t *key, uint32_t keySize) in ltc_hash_check_input_args()
3110 LTC_Type *base; in ltc_hash_engine_init() local
3149 LTC_Type *base; in ltc_hash_save_context() local
3200 LTC_Type *base; in ltc_hash_restore_context() local
3257 static void ltc_hash_prepare_context_switch(LTC_Type *base) in ltc_hash_prepare_context_switch()
3283 static void ltc_hash_block_to_ififo(LTC_Type *base, const ltc_hash_block_t *blk, uint32_t numBytes,… in ltc_hash_block_to_ififo()
3350 LTC_Type *base; in ltc_hash_merge_and_flush_buf() local
3445 LTC_Type *base; in ltc_hash_process_input_data() local
3546 status_t LTC_HASH_Init(LTC_Type *base, ltc_hash_ctx_t *ctx, ltc_hash_algo_t algo, const uint8_t *ke… in LTC_HASH_Init()
3601 LTC_Type *base; in LTC_HASH_Update() local
3697 LTC_Type *base; in LTC_HASH_Finish() local
3793 status_t LTC_HASH(LTC_Type *base, in LTC_HASH()
3823 static status_t ltc_pkha_clear_regabne(LTC_Type *base, bool A, bool B, bool N, bool E) in ltc_pkha_clear_regabne()
3870 static void ltc_pkha_write_word(LTC_Type *base, ltc_pkha_reg_area_t reg, uint8_t index, uint32_t da… in ltc_pkha_write_word()
3896 static uint32_t ltc_pkha_read_word(LTC_Type *base, ltc_pkha_reg_area_t reg, uint8_t index) in ltc_pkha_read_word()
3926 LTC_Type *base, ltc_pkha_reg_area_t reg, uint8_t quad, const uint8_t *data, uint16_t dataSize) in ltc_pkha_write_reg()
3952 static void ltc_pkha_read_reg(LTC_Type *base, ltc_pkha_reg_area_t reg, uint8_t quad, uint8_t *data,… in ltc_pkha_read_reg()
3971 static void ltc_pkha_init_data(LTC_Type *base, in ltc_pkha_init_data()
4094 static status_t ltc_pkha_init_mode(LTC_Type *base, const ltc_pkha_mode_params_t *params) in ltc_pkha_init_mode()
4135 …LTC_Type *base, const uint8_t *N, uint16_t sizeN, uint8_t *result, uint16_t *resultSize, ltc_pkha_… in ltc_pkha_modR2()
4161 static status_t ltc_pkha_modmul(LTC_Type *base, in ltc_pkha_modmul()
4325 status_t LTC_PKHA_NormalToMontgomery(LTC_Type *base, in LTC_PKHA_NormalToMontgomery()
4399 status_t LTC_PKHA_MontgomeryToNormal(LTC_Type *base, in LTC_PKHA_MontgomeryToNormal()
4457 status_t LTC_PKHA_ModAdd(LTC_Type *base, in LTC_PKHA_ModAdd()
4523 status_t LTC_PKHA_ModSub1(LTC_Type *base, in LTC_PKHA_ModSub1()
4584 status_t LTC_PKHA_ModSub2(LTC_Type *base, in LTC_PKHA_ModSub2()
4641 status_t LTC_PKHA_ModMul(LTC_Type *base, in LTC_PKHA_ModMul()
4684 status_t LTC_PKHA_ModExp(LTC_Type *base, in LTC_PKHA_ModExp()
4748 status_t LTC_PKHA_ModRed(LTC_Type *base, in LTC_PKHA_ModRed()
4798 status_t LTC_PKHA_ModInv(LTC_Type *base, in LTC_PKHA_ModInv()
4856 …LTC_Type *base, const uint8_t *N, uint16_t sizeN, uint8_t *result, uint16_t *resultSize, ltc_pkha_… in LTC_PKHA_ModR2()
4880 status_t LTC_PKHA_GCD(LTC_Type *base, in LTC_PKHA_GCD()
4930 status_t LTC_PKHA_PrimalityTest(LTC_Type *base, in LTC_PKHA_PrimalityTest()
4979 status_t LTC_PKHA_ECC_PointAdd(LTC_Type *base, in LTC_PKHA_ECC_PointAdd()
5058 status_t LTC_PKHA_ECC_PointDouble(LTC_Type *base, in LTC_PKHA_ECC_PointDouble()
5134 status_t LTC_PKHA_ECC_PointMul(LTC_Type *base, in LTC_PKHA_ECC_PointMul()