Searched refs:nr (Results 1 – 15 of 15) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/library/ |
D | padlock.c | 78 *ctrl = 0x80 | ctx->nr | ((ctx->nr + (mode^1) - 10) << 9); in mbedtls_padlock_xcryptecb() 129 *ctrl = 0x80 | ctx->nr | ((ctx->nr + (mode ^ 1) - 10) << 9); in mbedtls_padlock_xcryptcbc()
|
D | aesni.c | 88 unsigned nr = ctx->nr; // Number of remaining rounds in mbedtls_aesni_crypt_ecb() local 95 --nr; in mbedtls_aesni_crypt_ecb() 99 while (nr != 0) { in mbedtls_aesni_crypt_ecb() 102 --nr; in mbedtls_aesni_crypt_ecb() 110 while (nr != 0) { in mbedtls_aesni_crypt_ecb() 113 --nr; in mbedtls_aesni_crypt_ecb() 228 const unsigned char *fwdkey, int nr) in mbedtls_aesni_inverse_key() argument 231 const __m128i *fk = (const __m128i *) fwdkey + nr; in mbedtls_aesni_inverse_key() 491 : "r" (ctx->nr), "r" (ctx->buf + ctx->rk_offset), "r" (mode), "r" (input), "r" (output) in mbedtls_aesni_crypt_ecb() 615 const unsigned char *fwdkey, int nr) in mbedtls_aesni_inverse_key() argument [all …]
|
D | camellia.c | 309 case 128: ctx->nr = 3; idx = 0; break; in mbedtls_camellia_setkey_enc() 311 case 256: ctx->nr = 4; idx = 1; break; in mbedtls_camellia_setkey_enc() 420 ctx->nr = cty.nr; in mbedtls_camellia_setkey_dec() 421 idx = (ctx->nr == 4); in mbedtls_camellia_setkey_dec() 466 NR = ctx->nr; in mbedtls_camellia_crypt_ecb()
|
D | aesce.c | 275 block = aesce_decrypt_block(block, keys, ctx->nr); in mbedtls_aesce_crypt_ecb() 281 block = aesce_encrypt_block(block, keys, ctx->nr); in mbedtls_aesce_crypt_ecb() 294 int nr) in mbedtls_aesce_inverse_key() argument 297 j = nr; in mbedtls_aesce_inverse_key()
|
D | aesce.h | 107 int nr);
|
D | aesni.h | 136 int nr);
|
D | aria.c | 382 ctx->nr = 12 + 2 * i; // no. rounds: 12, 14, 16 in mbedtls_aria_setkey_enc() 420 for (i = 0, j = ctx->nr; i < j; i++, j--) { in mbedtls_aria_setkey_dec() 429 for (i = 1; i < ctx->nr; i++) { in mbedtls_aria_setkey_dec() 472 if (i >= ctx->nr) { in mbedtls_aria_crypt_ecb()
|
D | aes.c | 582 case 128: ctx->nr = 10; break; in mbedtls_aes_setkey_enc() 584 case 192: ctx->nr = 12; break; in mbedtls_aes_setkey_enc() 585 case 256: ctx->nr = 14; break; in mbedtls_aes_setkey_enc() 617 switch (ctx->nr) { in mbedtls_aes_setkey_enc() 708 ctx->nr = cty.nr; in mbedtls_aes_setkey_dec() 713 (const unsigned char *) (cty.buf + cty.rk_offset), ctx->nr); in mbedtls_aes_setkey_dec() 723 ctx->nr); in mbedtls_aes_setkey_dec() 729 SK = cty.buf + cty.rk_offset + cty.nr * 4; in mbedtls_aes_setkey_dec() 736 for (int i = ctx->nr - 1; i > 0; i--, SK -= 8) { in mbedtls_aes_setkey_dec() 899 for (i = (ctx->nr >> 1) - 1; i > 0; i--) { in mbedtls_internal_aes_encrypt() [all …]
|
D | x509.c | 948 size_t i, n, nr; in mbedtls_x509_serial_gets() local 954 nr = (serial->len <= 32) in mbedtls_x509_serial_gets() 957 for (i = 0; i < nr; i++) { in mbedtls_x509_serial_gets() 958 if (i == 0 && nr > 1 && serial->p[i] == 0x0) { in mbedtls_x509_serial_gets() 963 serial->p[i], (i < nr - 1) ? ":" : ""); in mbedtls_x509_serial_gets() 967 if (nr != serial->len) { in mbedtls_x509_serial_gets()
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | camellia.h | 42 int MBEDTLS_PRIVATE(nr); /*!< number of rounds */
|
D | aria.h | 53 unsigned char MBEDTLS_PRIVATE(nr); /*!< The number of rounds (12, 14 or 16) */
|
D | aes.h | 64 int MBEDTLS_PRIVATE(nr); /*!< The number of rounds. */
|
/openthread-latest/third_party/mbedtls/repo/tests/data_files/ |
D | rsa_pkcs1_4096_aes128.pem | 34 sh2UDHEWfkXuhhCfdxOMCUIBTBMCgK4N4pRdxEmj+RFKJR1wHY3SyMrcU7ye5/nr
|
/openthread-latest/src/posix/platform/ |
D | multicast_routing.cpp | 268 int nr; in ProcessMulticastRouterMessages() local 272 nr = read(mMulticastRouterSock, buf, sizeof(buf)); in ProcessMulticastRouterMessages() 274 VerifyOrExit(nr >= static_cast<int>(sizeof(struct mrt6msg)), error = OT_ERROR_FAILED); in ProcessMulticastRouterMessages()
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
D | alternative-implementations.md | 49 …SNI_C` or `MBEDTLS_PADLOCK_C` is enabled, `mbedtls_aes_context` must have the fields `nr` and `rk`.
|