Searched refs:partial (Results 1 – 11 of 11) sorted by relevance
| /lib/crypto/ |
| A D | sha1.c | 175 if (partial + len >= SHA1_BLOCK_SIZE) { in sha1_update() 178 if (partial) { in sha1_update() 179 size_t l = SHA1_BLOCK_SIZE - partial; in sha1_update() 181 memcpy(&ctx->buf[partial], data, l); in sha1_update() 195 partial = 0; in sha1_update() 198 memcpy(&ctx->buf[partial], data, len); in sha1_update() 207 ctx->buf[partial++] = 0x80; in __sha1_final() 208 if (partial > SHA1_BLOCK_SIZE - 8) { in __sha1_final() 209 memset(&ctx->buf[partial], 0, SHA1_BLOCK_SIZE - partial); in __sha1_final() 211 partial = 0; in __sha1_final() [all …]
|
| A D | sha256.c | 183 if (partial + len >= SHA256_BLOCK_SIZE) { in __sha256_update() 186 if (partial) { in __sha256_update() 187 size_t l = SHA256_BLOCK_SIZE - partial; in __sha256_update() 189 memcpy(&ctx->buf[partial], data, l); in __sha256_update() 203 partial = 0; in __sha256_update() 206 memcpy(&ctx->buf[partial], data, len); in __sha256_update() 216 ctx->buf[partial++] = 0x80; in __sha256_final() 217 if (partial > SHA256_BLOCK_SIZE - 8) { in __sha256_final() 218 memset(&ctx->buf[partial], 0, SHA256_BLOCK_SIZE - partial); in __sha256_final() 220 partial = 0; in __sha256_final() [all …]
|
| A D | sha512.c | 169 if (partial + len >= SHA512_BLOCK_SIZE) { in __sha512_update() 172 if (partial) { in __sha512_update() 173 size_t l = SHA512_BLOCK_SIZE - partial; in __sha512_update() 175 memcpy(&ctx->buf[partial], data, l); in __sha512_update() 189 partial = 0; in __sha512_update() 192 memcpy(&ctx->buf[partial], data, len); in __sha512_update() 203 ctx->buf[partial++] = 0x80; in __sha512_final() 204 if (partial > SHA512_BLOCK_SIZE - 16) { in __sha512_final() 205 memset(&ctx->buf[partial], 0, SHA512_BLOCK_SIZE - partial); in __sha512_final() 207 partial = 0; in __sha512_final() [all …]
|
| A D | chacha20poly1305.c | 221 size_t partial = 0; in chacha20poly1305_crypt_sg_inplace() local 267 if (unlikely(partial)) { in chacha20poly1305_crypt_sg_inplace() 268 size_t l = min(length, CHACHA_BLOCK_SIZE - partial); in chacha20poly1305_crypt_sg_inplace() 270 crypto_xor(addr, b.chacha_stream + partial, l); in chacha20poly1305_crypt_sg_inplace() 271 partial = (partial + l) & (CHACHA_BLOCK_SIZE - 1); in chacha20poly1305_crypt_sg_inplace() 291 partial = length; in chacha20poly1305_crypt_sg_inplace()
|
| /lib/tests/ |
| A D | fortify_kunit.c | 711 int i, partial; in fortify_test_strncat() local 714 partial = sizeof(src) / 2 - 1; in fortify_test_strncat() 715 for (i = 0; i < partial; i++) in fortify_test_strncat() 726 KUNIT_ASSERT_TRUE(test, strncat(pad.buf, src, partial) == pad.buf); in fortify_test_strncat() 730 KUNIT_ASSERT_TRUE(test, strncat(pad.buf, src, partial) == pad.buf); in fortify_test_strncat() 784 int i, partial; in fortify_test_strlcat() local 790 partial = sizeof(src) / 2 - 1; in fortify_test_strlcat() 791 for (i = 0; i < partial; i++) in fortify_test_strlcat() 802 KUNIT_ASSERT_EQ(test, strlcat(pad.buf, src, len), partial); in fortify_test_strlcat() 806 KUNIT_ASSERT_EQ(test, strlcat(pad.buf, src, len), partial * 2); in fortify_test_strlcat() [all …]
|
| A D | stackinit_kunit.c | 414 DEFINE_STRUCT_TESTS(base ## _ ## partial, \ 419 DEFINE_UNION_TESTS(base ## _ ## partial, \
|
| /lib/ |
| A D | test_firmware.c | 105 bool partial; member 235 test_fw_config->partial = false; in __test_firmware_config_init() 314 test_fw_config->partial ? "true" : "false"); in config_show() 599 &test_fw_config->partial); in config_partial_store() 606 return test_dev_config_show_bool(buf, test_fw_config->partial); in config_partial_show() 873 if (test_fw_config->partial) in test_fw_run_batch_request()
|
| A D | Kconfig.debug | 290 5.0+ accepts the -gdwarf-5 flag but only had partial support for some
|
| /lib/crypto/x86/ |
| A D | chacha-avx512vl-x86_64.S | 172 # xor remaining bytes from partial register into output 438 # xor remaining bytes from partial register into output 818 # xor remaining bytes from partial register into output
|
| A D | chacha-avx2-x86_64.S | 199 # xor remaining bytes from partial register into output 504 # xor remaining bytes from partial register into output 998 # xor remaining bytes from partial register into output
|
| A D | chacha-ssse3-x86_64.S | 172 # xor remaining bytes from partial register into output 768 # xor remaining bytes from partial register into output
|
Completed in 27 milliseconds