| /hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/ |
| D | sw_poly1305-donna.c | 10 poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes) { in poly1305_update() argument 17 if (want > bytes) in poly1305_update() 18 want = bytes; in poly1305_update() 21 bytes -= want; in poly1305_update() 31 if (bytes >= poly1305_block_size) { in poly1305_update() 32 size_t want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() 35 bytes -= want; in poly1305_update() 39 if (bytes) { in poly1305_update() 40 for (i = 0; i < bytes; i++) in poly1305_update() 42 st->leftover += bytes; in poly1305_update() [all …]
|
| D | sw_chacha.c | 85 void ECRYPT_encrypt_bytes(ECRYPT_ctx *x,const u8 *m,u8 *c,u32 bytes) in ECRYPT_encrypt_bytes() argument 90 if (!bytes) return; in ECRYPT_encrypt_bytes() 98 if (bytes <= 64) { in ECRYPT_encrypt_bytes() 99 for (i = 0;i < bytes;++i) c[i] = m[i] ^ output[i]; in ECRYPT_encrypt_bytes() 103 bytes -= 64; in ECRYPT_encrypt_bytes() 109 void ECRYPT_decrypt_bytes(ECRYPT_ctx *x,const u8 *c,u8 *m,u32 bytes) in ECRYPT_decrypt_bytes() argument 111 ECRYPT_encrypt_bytes(x,c,m,bytes); in ECRYPT_decrypt_bytes() 114 void ECRYPT_keystream_bytes(ECRYPT_ctx *x,u8 *stream,u32 bytes) in ECRYPT_keystream_bytes() argument 117 for (i = 0;i < bytes;++i) stream[i] = 0; in ECRYPT_keystream_bytes() 118 ECRYPT_encrypt_bytes(x,stream,stream,bytes); in ECRYPT_keystream_bytes()
|
| D | sw_poly1305-donna.h | 16 void poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes); 18 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 76 poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes) { in poly1305_blocks() argument 101 while (bytes >= poly1305_block_size) { in poly1305_blocks() 126 bytes -= poly1305_block_size; in poly1305_blocks()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/ |
| D | sw_poly1305-donna.c | 9 void poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes) in poly1305_update() argument 18 if (want > bytes) in poly1305_update() 20 want = bytes; in poly1305_update() 26 bytes -= want; in poly1305_update() 38 if (bytes >= poly1305_block_size) in poly1305_update() 40 size_t want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() 43 bytes -= want; in poly1305_update() 47 if (bytes) in poly1305_update() 49 for (i = 0; i < bytes; i++) in poly1305_update() 53 st->leftover += bytes; in poly1305_update() [all …]
|
| D | sw_chacha.c | 102 void ECRYPT_encrypt_bytes(ECRYPT_ctx *x, const u8 *m, u8 *c, u32 bytes) in ECRYPT_encrypt_bytes() argument 107 if (!bytes) in ECRYPT_encrypt_bytes() 120 if (bytes <= 64) in ECRYPT_encrypt_bytes() 122 for (i = 0; i < bytes; ++i) in ECRYPT_encrypt_bytes() 132 bytes -= 64; in ECRYPT_encrypt_bytes() 138 void ECRYPT_decrypt_bytes(ECRYPT_ctx *x, const u8 *c, u8 *m, u32 bytes) in ECRYPT_decrypt_bytes() argument 140 ECRYPT_encrypt_bytes(x, c, m, bytes); in ECRYPT_decrypt_bytes() 143 void ECRYPT_keystream_bytes(ECRYPT_ctx *x, u8 *stream, u32 bytes) in ECRYPT_keystream_bytes() argument 146 for (i = 0; i < bytes; ++i) in ECRYPT_keystream_bytes() 150 ECRYPT_encrypt_bytes(x, stream, stream, bytes); in ECRYPT_keystream_bytes()
|
| D | sw_poly1305-donna.h | 17 void poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes); 19 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 73 static void poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes) in poly1305_blocks() argument 99 while (bytes >= poly1305_block_size) in poly1305_blocks() 141 bytes -= poly1305_block_size; in poly1305_blocks()
|
| D | aes.h | 80 uint8_t bytes[16]; member
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ |
| D | sw_poly1305-donna.c | 12 poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes) { in poly1305_update() argument 19 if (want > bytes) in poly1305_update() 20 want = bytes; in poly1305_update() 23 bytes -= want; in poly1305_update() 33 if (bytes >= poly1305_block_size) { in poly1305_update() 34 size_t want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() 37 bytes -= want; in poly1305_update() 41 if (bytes) { in poly1305_update() 42 for (i = 0; i < bytes; i++) in poly1305_update() 44 st->leftover += bytes; in poly1305_update() [all …]
|
| D | sw_chacha.c | 87 void ECRYPT_encrypt_bytes(ECRYPT_ctx *x,const u8 *m,u8 *c,u32 bytes) in ECRYPT_encrypt_bytes() argument 92 if (!bytes) return; in ECRYPT_encrypt_bytes() 100 if (bytes <= 64) { in ECRYPT_encrypt_bytes() 101 for (i = 0;i < bytes;++i) c[i] = m[i] ^ output[i]; in ECRYPT_encrypt_bytes() 105 bytes -= 64; in ECRYPT_encrypt_bytes() 111 void ECRYPT_decrypt_bytes(ECRYPT_ctx *x,const u8 *c,u8 *m,u32 bytes) in ECRYPT_decrypt_bytes() argument 113 ECRYPT_encrypt_bytes(x,c,m,bytes); in ECRYPT_decrypt_bytes() 116 void ECRYPT_keystream_bytes(ECRYPT_ctx *x,u8 *stream,u32 bytes) in ECRYPT_keystream_bytes() argument 119 for (i = 0;i < bytes;++i) stream[i] = 0; in ECRYPT_keystream_bytes() 120 ECRYPT_encrypt_bytes(x,stream,stream,bytes); in ECRYPT_keystream_bytes()
|
| D | sw_poly1305-donna.h | 18 void poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes); 20 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 78 poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes) { in poly1305_blocks() argument 103 while (bytes >= poly1305_block_size) { in poly1305_blocks() 128 bytes -= poly1305_block_size; in poly1305_blocks()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/rng/ |
| D | RNGLPF3RF.c | 101 static int_fast16_t RNGLPF3RF_fillPoolIfLessThan(size_t bytes); 174 static int_fast16_t RNGLPF3RF_fillPoolIfLessThan(size_t bytes) in RNGLPF3RF_fillPoolIfLessThan() argument 179 if (RNGLPF3RF_instanceData.poolLevel < bytes) in RNGLPF3RF_fillPoolIfLessThan() 799 int_fast16_t RNG_fillPoolIfLessThan(size_t bytes) in RNG_fillPoolIfLessThan() argument 809 returnValue = RNGLPF3RF_fillPoolIfLessThan(bytes); in RNG_fillPoolIfLessThan()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/ |
| D | RNG.h | 595 int_fast16_t RNG_fillPoolIfLessThan(size_t bytes);
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesccm/ |
| D | AESCCMLPF3.c | 576 (void)memcpy(&B0.bytes[1], nonce, nonceLength); in AESCCMLPF3_processB0() 602 B1.bytes[1] = *(aadLengthBytePtr); in AESCCMLPF3_processB1withAAD() 603 B1.bytes[0] = *(aadLengthBytePtr + 1U); in AESCCMLPF3_processB1withAAD() 609 B1.bytes[2] = aad[0]; in AESCCMLPF3_processB1withAAD() 613 (void)memcpy((void *)&B1.bytes[2], (void *)aad, aadSegmentLength); in AESCCMLPF3_processB1withAAD() 617 (void)memcpy((void *)&B1.bytes[2], (void *)aad, B1_AAD_SMALL_BYTES); in AESCCMLPF3_processB1withAAD() 1263 aadBlock.bytes[0] = object->bufferedAAD[0]; in AESCCMLPF3_processSegmentedCBCMAC() 1264 aadBlock.bytes[1] = object->bufferedAAD[1]; in AESCCMLPF3_processSegmentedCBCMAC() 1272 (void)memcpy((void *)&aadBlock.bytes[AESCCMLPF3_AAD_BUFFER_SIZE], in AESCCMLPF3_processSegmentedCBCMAC() 1281 (void)memcpy((void *)&aadBlock.bytes[AESCCMLPF3_AAD_BUFFER_SIZE], in AESCCMLPF3_processSegmentedCBCMAC() [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/dma/ |
| D | dma.ld | 5 * the default address 0x2000_0400, but remember it must be 1024 bytes aligned.
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/ |
| D | CryptoKeyKeyStore_PSA_helpers.c | 245 …status = psa_export_key_internal(&attributes, slot->key.data, slot->key.bytes, data, dataSize, dat… in KeyStore_PSA_getKey()
|