| /hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/ |
| D | sw_poly1305-donna.c | 47 poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char key[… in poly1305_auth() 51 poly1305_finish(&ctx, mac); in poly1305_auth() 139 unsigned char mac[16]; in poly1305_power_on_self_test() local 143 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 144 mac[i] = 0; in poly1305_power_on_self_test() 145 poly1305_auth(mac, nacl_msg, sizeof(nacl_msg), nacl_key); in poly1305_power_on_self_test() 146 result &= poly1305_verify(nacl_mac, mac); in poly1305_power_on_self_test() 148 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 149 mac[i] = 0; in poly1305_power_on_self_test() 162 poly1305_finish(&ctx, mac); in poly1305_power_on_self_test() [all …]
|
| D | sw_poly1305-donna.h | 17 void poly1305_finish(poly1305_context *ctx, unsigned char mac[16]); 18 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 137 poly1305_finish(poly1305_context *ctx, unsigned char mac[16]) { in poly1305_finish() 201 U32TO8(mac + 0, h0); in poly1305_finish() 202 U32TO8(mac + 4, h1); in poly1305_finish() 203 U32TO8(mac + 8, h2); in poly1305_finish() 204 U32TO8(mac + 12, h3); in poly1305_finish()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/ |
| D | sw_poly1305-donna.c | 57 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char… in poly1305_auth() 62 poly1305_finish(&ctx, mac); in poly1305_auth() 126 unsigned char mac[16]; in poly1305_power_on_self_test() local 130 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 132 mac[i] = 0; in poly1305_power_on_self_test() 134 poly1305_auth(mac, nacl_msg, sizeof(nacl_msg), nacl_key); in poly1305_power_on_self_test() 135 result &= poly1305_verify(nacl_mac, mac); in poly1305_power_on_self_test() 137 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 139 mac[i] = 0; in poly1305_power_on_self_test() 153 poly1305_finish(&ctx, mac); in poly1305_power_on_self_test() [all …]
|
| D | sw_poly1305-donna.h | 18 void poly1305_finish(poly1305_context *ctx, unsigned char mac[16]); 19 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 151 POLY1305_NOINLINE void poly1305_finish(poly1305_context *ctx, unsigned char mac[16]) in poly1305_finish() 240 U32TO8(mac + 0, h0); in poly1305_finish() 241 U32TO8(mac + 4, h1); in poly1305_finish() 242 U32TO8(mac + 8, h2); in poly1305_finish() 243 U32TO8(mac + 12, h3); in poly1305_finish()
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ |
| D | sw_poly1305-donna.c | 49 poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char key[… in poly1305_auth() 53 poly1305_finish(&ctx, mac); in poly1305_auth() 141 unsigned char mac[16]; in poly1305_power_on_self_test() local 145 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 146 mac[i] = 0; in poly1305_power_on_self_test() 147 poly1305_auth(mac, nacl_msg, sizeof(nacl_msg), nacl_key); in poly1305_power_on_self_test() 148 result &= poly1305_verify(nacl_mac, mac); in poly1305_power_on_self_test() 150 for (i = 0; i < sizeof(mac); i++) in poly1305_power_on_self_test() 151 mac[i] = 0; in poly1305_power_on_self_test() 164 poly1305_finish(&ctx, mac); in poly1305_power_on_self_test() [all …]
|
| D | sw_poly1305-donna.h | 19 void poly1305_finish(poly1305_context *ctx, unsigned char mac[16]); 20 void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char…
|
| D | sw_poly1305-donna-32.h | 139 poly1305_finish(poly1305_context *ctx, unsigned char mac[16]) { in poly1305_finish() 203 U32TO8(mac + 0, h0); in poly1305_finish() 204 U32TO8(mac + 4, h1); in poly1305_finish() 205 U32TO8(mac + 8, h2); in poly1305_finish() 206 U32TO8(mac + 12, h3); in poly1305_finish()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesccm/ |
| D | AESCCMLPF3.h | 109 uint8_t *mac; member 168 int_fast16_t AESCCMLPF3HSM_setMac(AESCCM_Handle handle, const uint8_t *mac, size_t macLength);
|
| D | AESCCMLPF3.c | 354 if (object->mac != NULL) in AESCCMLPF3_finishTag() 358 … (void)memcpy((void *)&object->mac[0], (void *)&object->intermediateTag[0], object->macLength); in AESCCMLPF3_finishTag() 363 …bool macValid = CryptoUtils_buffersMatch(object->intermediateTag, object->mac, (size_t)object->mac… in AESCCMLPF3_finishTag() 763 …(void)memcpy((void *)&operation->mac[0], (void *)&object->intermediateTag[0], operation->macLength… in AESCCMLPF3_processOneStepEncryptPolling() 777 uint32_t *mac; in AESCCMLPF3_processOneStepDecryptPolling() local 782 mac = (uint32_t *)&object->intermediateCounter[0]; in AESCCMLPF3_processOneStepDecryptPolling() 785 (void)memcpy((void *)mac, (void *)operation->mac, operation->macLength); in AESCCMLPF3_processOneStepDecryptPolling() 788 AESCCMLPF3_processOneStepCTRPolling(operation, mac); in AESCCMLPF3_processOneStepDecryptPolling() 794 macValid = CryptoUtils_buffersMatch(object->intermediateTag, mac, (size_t)operation->macLength); in AESCCMLPF3_processOneStepDecryptPolling() 819 DebugP_assert(operation->mac && (operation->macLength <= 16U)); in AESCCMLPF3_oneStepOperation() [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/ |
| D | AESCCM.h | 966 uint8_t *mac; /*!< member 1058 uint8_t *mac; /*!< member
|
| D | AESCMAC.h | 724 uint8_t *mac; /*!< - Sign: Pointer to the output buffer to write member
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/rng/ |
| D | RNGLPF3RF.c | 471 cbcmacOperation.mac = (uint8_t *)seed; in RNGLPF3RF_conditionNoise() 483 cbcmacOperation.mac = (uint8_t *)seed + 16; in RNGLPF3RF_conditionNoise()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aescmac/ |
| D | AESCMACLPF3.c | 278 … (void)memcpy((void *)operation->mac, (void *)&object->intermediateTag[0], operation->macLength); in AESCMACLPF3_getResult() 283 … if (!CryptoUtils_buffersMatch(&object->intermediateTag[0], operation->mac, operation->macLength)) in AESCMACLPF3_getResult() 309 DebugP_assert((opcode == AESCMAC_OP_CODE_SEGMENTED) || (operation->mac)); in AESCMACLPF3_startOperation()
|