Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 15 of 15) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/library/
Dpadlock.c78 *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()
Daesni.c88 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 …]
Dcamellia.c309 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()
Daesce.c275 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()
Daesce.h107 int nr);
Daesni.h136 int nr);
Daria.c382 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()
Daes.c582 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 …]
Dx509.c948 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/
Dcamellia.h42 int MBEDTLS_PRIVATE(nr); /*!< number of rounds */
Daria.h53 unsigned char MBEDTLS_PRIVATE(nr); /*!< The number of rounds (12, 14 or 16) */
Daes.h64 int MBEDTLS_PRIVATE(nr); /*!< The number of rounds. */
/openthread-latest/third_party/mbedtls/repo/tests/data_files/
Drsa_pkcs1_4096_aes128.pem34 sh2UDHEWfkXuhhCfdxOMCUIBTBMCgK4N4pRdxEmj+RFKJR1wHY3SyMrcU7ye5/nr
/openthread-latest/src/posix/platform/
Dmulticast_routing.cpp268 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/
Dalternative-implementations.md49 …SNI_C` or `MBEDTLS_PADLOCK_C` is enabled, `mbedtls_aes_context` must have the fields `nr` and `rk`.