Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 11 of 11) sorted by relevance

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/
DCryptoKey.c48 …if ((secureKey->encoding == CryptoKey_PLAINTEXT) || (secureKey->encoding == CryptoKey_BLANK_PLAINT… in CryptoKey_verifySecureKey()
67 …else if ((secureKey->encoding == CryptoKey_KEYSTORE) || (secureKey->encoding == CryptoKey_BLANK_KE… in CryptoKey_verifySecureKey()
150 *keyType = keyHandle->encoding; in CryptoKey_getCryptoKeyType()
160 …if ((keyHandle->encoding == CryptoKey_BLANK_PLAINTEXT) || (keyHandle->encoding == CryptoKey_BLANK_… in CryptoKey_isBlank()
DCryptoKeyPlaintext.c46 keyHandle->encoding = CryptoKey_BLANK_PLAINTEXT; in CryptoKeyPlaintext_markAsBlank()
56 keyHandle->encoding = CryptoKey_PLAINTEXT; in CryptoKeyPlaintext_initKey()
69 keyHandle->encoding = CryptoKey_BLANK_PLAINTEXT; in CryptoKeyPlaintext_initBlankKey()
123 keyHandle->encoding = CryptoKey_PLAINTEXT_HSM; in CryptoKeyPlaintextHSM_initKey()
DCryptoKeyKeyStore_PSA.c48 keyHandle->encoding = CryptoKey_KEYSTORE; in KeyStore_PSA_initKey()
67 keyHandle->encoding = CryptoKey_BLANK_KEYSTORE; in KeyStore_PSA_initBlankKey()
DCryptoKey.h210 CryptoKey_Encoding encoding; member
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aescmac/
DAESCMACLPF3.c256 …if (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCMACLPF3_getResult()
267 else if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCMACLPF3_getResult()
593 …if (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCMACLPF3_oneStepOperation()
671 if (key->encoding == CryptoKey_PLAINTEXT || key->encoding == CryptoKey_KEYSTORE) in AESCMAC_oneStepSign()
676 else if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCMAC_oneStepSign()
695 if (key->encoding == CryptoKey_PLAINTEXT || key->encoding == CryptoKey_KEYSTORE) in AESCMAC_oneStepVerify()
700 else if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCMAC_oneStepVerify()
725 if (key->encoding == CryptoKey_PLAINTEXT) in AESCMACLPF3_setupSegmentedOperation()
731 else if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCMACLPF3_setupSegmentedOperation()
786 if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCMAC_setupSign()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesecb/
DAESECBLPF3.c265 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESECB_oneStepEncrypt()
270 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_oneStepEncrypt()
292 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESECB_oneStepDecrypt()
297 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_oneStepDecrypt()
595 if (key->encoding == CryptoKey_PLAINTEXT) in AESECB_setupEncrypt()
601 else if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_setupEncrypt()
654 if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_setupDecrypt()
707 if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_addData()
763 if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_finalize()
870 … if (((object->common.key.encoding & CRYPTOKEY_HSM) == 0) && (!object->common.operationInProgress)) in AESECB_cancelOperation()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctr/
DAESCTRLPF3.c295 …if (operationStruct->key->encoding == CryptoKey_PLAINTEXT || operationStruct->key->encoding == Cry… in AESCTR_oneStepEncrypt()
300 else if (operationStruct->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_oneStepEncrypt()
319 …if (operationStruct->key->encoding == CryptoKey_PLAINTEXT || operationStruct->key->encoding == Cry… in AESCTR_oneStepDecrypt()
324 else if (operationStruct->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_oneStepDecrypt()
692 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_addData()
769 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_finalize()
880 if (key->encoding == CryptoKey_PLAINTEXT) in AESCTRLPF3_setupSegmentedOperation()
886 else if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCTRLPF3_setupSegmentedOperation()
933 if ((key->encoding == CryptoKey_PLAINTEXT_HSM) && (object->hsmStatus != HSMLPF3_STATUS_SUCCESS)) in AESCTR_setupEncrypt()
960 if ((key->encoding == CryptoKey_PLAINTEXT_HSM) && (object->hsmStatus != HSMLPF3_STATUS_SUCCESS)) in AESCTR_setupDecrypt()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctrdrbg/
DAESCTRDRBGXX.c363 if (randomKey->encoding == CryptoKey_BLANK_PLAINTEXT) in AESCTRDRBG_generateKey()
370 randomKey->encoding = CryptoKey_PLAINTEXT; in AESCTRDRBG_generateKey()
374 else if (randomKey->encoding == CryptoKey_BLANK_KEYSTORE) in AESCTRDRBG_generateKey()
410 randomKey->encoding = CryptoKey_KEYSTORE; in AESCTRDRBG_generateKey()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesccm/
DAESCCMLPF3.c965 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESCCM_oneStepEncrypt()
970 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_oneStepEncrypt()
989 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESCCM_oneStepDecrypt()
994 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_oneStepDecrypt()
1060 if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_setupEncrypt()
1093 if (key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_setupDecrypt()
1543 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_addAAD()
1790 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCCM_addData()
1836 …&& (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCCM_addData()
1858 …if (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCCM_addData()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/aes/
DAESCommonLPF3.c200 …DebugP_assert((key->encoding == CryptoKey_PLAINTEXT) || (key->encoding == CryptoKey_BLANK_PLAINTEX… in AESCommonLPF3_loadKey()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rng/
DRNGLPF3RF.c704 if (key->encoding != CryptoKey_BLANK_PLAINTEXT) in RNG_generateKey()
743 if (key->encoding != CryptoKey_BLANK_PLAINTEXT) in RNG_generateLEKeyInRange()
776 if (key->encoding != CryptoKey_BLANK_PLAINTEXT) in RNG_generateBEKeyInRange()