Lines Matching refs:key

356                                 const uint8_t *key,  in LTC_AES_EncryptEcbEDMA()  argument
373 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeECB, kLTC_M… in LTC_AES_EncryptEcbEDMA()
409 const uint8_t *key, in LTC_AES_DecryptEcbEDMA() argument
427 …status = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeECB, kLTC_M… in LTC_AES_DecryptEcbEDMA()
470 const uint8_t *key, in LTC_AES_EncryptCbcEDMA() argument
487 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCBC, kLTC_M… in LTC_AES_EncryptCbcEDMA()
530 const uint8_t *key, in LTC_AES_DecryptCbcEDMA() argument
555 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCBC, kLTC_M… in LTC_AES_DecryptCbcEDMA()
607 const uint8_t *key, in LTC_AES_CryptCtrEDMA() argument
650 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCTR, kLTC_M… in LTC_AES_CryptCtrEDMA()
672 handle->key = key; in LTC_AES_CryptCtrEDMA()
692 const uint8_t key[LTC_DES_KEY_SIZE], in ltc_des_process_EDMA()
709 …retval = ltc_symmetric_update(base, &key[0], LTC_DES_KEY_SIZE, kLTC_AlgorithmDES, modeAs, modeEnc); in ltc_des_process_EDMA()
748 uint8_t key[LTC_DES_KEY_SIZE * 3]; in ltc_3des_process_EDMA() local
761 ltc_memcpy(&key[0], &key1[0], LTC_DES_KEY_SIZE); in ltc_3des_process_EDMA()
762 ltc_memcpy(&key[LTC_DES_KEY_SIZE], &key2[0], LTC_DES_KEY_SIZE); in ltc_3des_process_EDMA()
765 ltc_memcpy(&key[LTC_DES_KEY_SIZE * 2], &key3[0], LTC_DES_KEY_SIZE); in ltc_3des_process_EDMA()
766 keySize = (uint8_t)sizeof(key); in ltc_3des_process_EDMA()
770 retval = ltc_symmetric_update(base, &key[0], keySize, kLTC_Algorithm3DES, modeAs, modeEnc); in ltc_3des_process_EDMA()
816 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_EncryptEcbEDMA()
818 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, NULL, key, kLTC_ModeECB, kL… in LTC_DES_EncryptEcbEDMA()
839 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_DecryptEcbEDMA()
841 …return ltc_des_process_EDMA(base, handle, ciphertext, plaintext, size, NULL, key, kLTC_ModeECB, kL… in LTC_DES_DecryptEcbEDMA()
865 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_EncryptCbcEDMA()
867 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, iv, key, kLTC_ModeCBC, kLTC… in LTC_DES_EncryptCbcEDMA()
891 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_DecryptCbcEDMA()
893 …return ltc_des_process_EDMA(base, handle, ciphertext, plaintext, size, iv, key, kLTC_ModeCBC, kLTC… in LTC_DES_DecryptCbcEDMA()
916 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_EncryptCfbEDMA()
918 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, iv, key, kLTC_ModeCFB, kLTC… in LTC_DES_EncryptCfbEDMA()
941 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_DecryptCfbEDMA()
943 …return ltc_des_process_EDMA(base, handle, ciphertext, plaintext, size, iv, key, kLTC_ModeCFB, kLTC… in LTC_DES_DecryptCfbEDMA()
967 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_EncryptOfbEDMA()
969 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, iv, key, kLTC_ModeOFB, kLTC… in LTC_DES_EncryptOfbEDMA()
993 const uint8_t key[LTC_DES_KEY_SIZE]) in LTC_DES_DecryptOfbEDMA()
995 …return ltc_des_process_EDMA(base, handle, ciphertext, plaintext, size, iv, key, kLTC_ModeOFB, kLTC… in LTC_DES_DecryptOfbEDMA()