Searched refs:nr (Results 1 – 14 of 14) sorted by relevance
| /optee_os/core/arch/arm/plat-rockchip/ |
| H A D | common.h | 21 #define WMSK_BIT(nr) BIT((nr) + REG_MSK_SHIFT) argument 22 #define BIT_WITH_WMSK(nr) (BIT(nr) | WMSK_BIT(nr)) argument
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A 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()
|
| H A D | aesni.c | 99 unsigned nr = ctx->nr; // Number of remaining rounds in mbedtls_aesni_crypt_ecb() local 106 --nr; in mbedtls_aesni_crypt_ecb() 110 while (nr != 0) { in mbedtls_aesni_crypt_ecb() 113 --nr; in mbedtls_aesni_crypt_ecb() 121 while (nr != 0) { in mbedtls_aesni_crypt_ecb() 124 --nr; in mbedtls_aesni_crypt_ecb() 239 const unsigned char *fwdkey, int nr) in mbedtls_aesni_inverse_key() argument 242 const __m128i *fk = (const __m128i *) fwdkey + nr; in mbedtls_aesni_inverse_key() 502 : "r" (ctx->nr), "r" (ctx->buf + ctx->rk_offset), "r" (mode), "r" (input), "r" (output) in mbedtls_aesni_crypt_ecb() 626 const unsigned char *fwdkey, int nr) in mbedtls_aesni_inverse_key() argument [all …]
|
| H A D | aesce.h | 107 int nr);
|
| H A D | aesni.h | 136 int nr);
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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 …]
|
| H A 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()
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | util.h | 190 #define BIT32(nr) (1 << (nr)) 191 #define BIT64(nr) (1 << (nr)) 195 #define BIT32(nr) (UINT32_C(1) << (nr)) argument 196 #define BIT64(nr) (UINT64_C(1) << (nr)) argument 200 #define BIT(nr) BIT32(nr) argument
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | camellia.h | 42 int MBEDTLS_PRIVATE(nr); /*!< number of rounds */
|
| H A D | aria.h | 53 unsigned char MBEDTLS_PRIVATE(nr); /*!< The number of rounds (12, 14 or 16) */
|
| H A D | aes.h | 64 int MBEDTLS_PRIVATE(nr); /*!< The number of rounds. */
|