Home
last modified time | relevance | path

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

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/
DCryptoKeyPlaintext.c57 keyHandle->u.plaintext.keyMaterial = key; in CryptoKeyPlaintext_initKey()
58 keyHandle->u.plaintext.keyLength = keyLength; in CryptoKeyPlaintext_initKey()
70 keyHandle->u.plaintext.keyMaterial = keyLocation; in CryptoKeyPlaintext_initBlankKey()
71 keyHandle->u.plaintext.keyLength = keyLength; in CryptoKeyPlaintext_initBlankKey()
81 keyHandle->u.plaintext.keyMaterial = location; in CryptoKeyPlaintext_setKeyLocation()
91 *location = keyHandle->u.plaintext.keyMaterial; in CryptoKeyPlaintext_getKeyLocation()
101 *length = keyHandle->u.plaintext.keyLength; in CryptoKeyPlaintext_getKeyLength()
111 keyHandle->u.plaintext.keyLength = length; in CryptoKeyPlaintext_setKeyLength()
124 keyHandle->u.plaintext.keyMaterial = key; in CryptoKeyPlaintextHSM_initKey()
125 keyHandle->u.plaintext.keyLength = keyLength; in CryptoKeyPlaintextHSM_initKey()
DCryptoKey.c53 ptr = cmse_has_unpriv_nonsecure_rw_access(secureKey->u.plaintext.keyMaterial, in CryptoKey_verifySecureKey()
54 secureKey->u.plaintext.keyLength); in CryptoKey_verifySecureKey()
58 ptr = cmse_has_unpriv_nonsecure_read_access(secureKey->u.plaintext.keyMaterial, in CryptoKey_verifySecureKey()
59 secureKey->u.plaintext.keyLength); in CryptoKey_verifySecureKey()
DCryptoKey.h213 CryptoKey_Plaintext plaintext; member
/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Dsw_ecrypt-sync.h140 const u8* plaintext,
147 u8* plaintext,
194 const u8* plaintext,
202 u8* plaintext,
219 #define ECRYPT_encrypt_blocks(ctx, plaintext, ciphertext, blocks) \ argument
220 ECRYPT_encrypt_bytes(ctx, plaintext, ciphertext, \
223 #define ECRYPT_decrypt_blocks(ctx, ciphertext, plaintext, blocks) \ argument
224 ECRYPT_decrypt_bytes(ctx, ciphertext, plaintext, \
239 const u8* plaintext,
246 u8* plaintext,
/hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/
Dsw_ecrypt-sync.h135 void ECRYPT_encrypt_bytes(ECRYPT_ctx *ctx, const u8 *plaintext, u8 *ciphertext, u32 msglen); /* Mes…
138 void ECRYPT_decrypt_bytes(ECRYPT_ctx *ctx, const u8 *ciphertext, u8 *plaintext, u32 msglen); /* Mes…
179 void ECRYPT_encrypt_packet(ECRYPT_ctx *ctx, const u8 *iv, const u8 *plaintext, u8 *ciphertext, u32 …
181 void ECRYPT_decrypt_packet(ECRYPT_ctx *ctx, const u8 *iv, const u8 *ciphertext, u8 *plaintext, u32 …
197 #define ECRYPT_encrypt_blocks(ctx, plaintext, ciphertext, blocks) \ argument
198 ECRYPT_encrypt_bytes(ctx, plaintext, ciphertext, (blocks)*ECRYPT_BLOCKLENGTH)
200 #define ECRYPT_decrypt_blocks(ctx, ciphertext, plaintext, blocks) \ argument
201 ECRYPT_decrypt_bytes(ctx, ciphertext, plaintext, (blocks)*ECRYPT_BLOCKLENGTH)
212 void ECRYPT_encrypt_blocks(ECRYPT_ctx *ctx, const u8 *plaintext, u8 *ciphertext, u32 blocks); /* Me…
215 void ECRYPT_decrypt_blocks(ECRYPT_ctx *ctx, const u8 *ciphertext, u8 *plaintext, u32 blocks); /* Me…
/hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Dsw_ecrypt-sync.h142 const u8* plaintext,
149 u8* plaintext,
196 const u8* plaintext,
204 u8* plaintext,
221 #define ECRYPT_encrypt_blocks(ctx, plaintext, ciphertext, blocks) \ argument
222 ECRYPT_encrypt_bytes(ctx, plaintext, ciphertext, \
225 #define ECRYPT_decrypt_blocks(ctx, ciphertext, plaintext, blocks) \ argument
226 ECRYPT_decrypt_bytes(ctx, ciphertext, plaintext, \
241 const u8* plaintext,
248 u8* plaintext,
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/ecc/
DECCParamsLPF3SW.c231 myPrivateKey->u.plaintext.keyMaterial[31] &= 0xF8; in ECCParams_formatCurve25519PrivateKey()
232 myPrivateKey->u.plaintext.keyMaterial[0] &= 0x7F; in ECCParams_formatCurve25519PrivateKey()
233 myPrivateKey->u.plaintext.keyMaterial[0] |= 0x40; in ECCParams_formatCurve25519PrivateKey()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctrdrbg/
DAESCTRDRBGXX.c138 operation.inputLength = object->key.u.plaintext.keyLength + AESCTRDRBG_AES_BLOCK_SIZE_BYTES; in AESCTRDRBGXX_updateState()
146 memcpy(object->keyingMaterial, buf32, object->key.u.plaintext.keyLength); in AESCTRDRBGXX_updateState()
154 &buf32[object->key.u.plaintext.keyLength / sizeof(uint32_t)], in AESCTRDRBGXX_updateState()
208 memset(object->keyingMaterial, 0, object->key.u.plaintext.keyLength); in AESCTRDRBG_uninstantiate()
366 randomKey->u.plaintext.keyMaterial, in AESCTRDRBG_generateKey()
367 randomKey->u.plaintext.keyLength); in AESCTRDRBG_generateKey()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rng/
DRNGLPF3RF.c709 if (key->u.plaintext.keyLength > (RNG_MAX_BIT_LENGTH >> 3u)) in RNG_generateKey()
716 randomBits = key->u.plaintext.keyMaterial; in RNG_generateKey()
717 randomBitsLength = key->u.plaintext.keyLength << 3u; /* Bytes to bits */ in RNG_generateKey()
750 randomBits = key->u.plaintext.keyMaterial; in RNG_generateLEKeyInRange()
782 randomBits = key->u.plaintext.keyMaterial; in RNG_generateBEKeyInRange()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/aes/
DAESCommonLPF3.c202 keyMaterial = key->u.plaintext.keyMaterial; in AESCommonLPF3_loadKey()
207 DebugP_assert(key->u.plaintext.keyLength == AES_128_KEY_LENGTH_BYTES); in AESCommonLPF3_loadKey()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aescmac/
DAESCMACLPF3.c1326 …HSMLPF3_constructCreateAssetToken(assetPolicy, (uint32_t)object->common.key.u.plaintext.keyLength); in AESCMACLPF3HSM_createKeyAsset()
1390 HSMLPF3_constructLoadPlaintextAssetToken(object->common.key.u.plaintext.keyMaterial, in AESCMACLPF3HSM_LoadKeyAsset()
1391 object->common.key.u.plaintext.keyLength, in AESCMACLPF3HSM_LoadKeyAsset()