Home
last modified time | relevance | path

Searched refs:BITS_COUNT_OF_ONE_BYTE (Results 1 - 1 of 1) sorted by relevance

/third_party/musl/libc-test/src/functionalext/crypt/
H A Dencrypt.c23 #define BITS_COUNT_OF_ONE_BYTE 8 macro
38 for (int j = 0; j < BITS_COUNT_OF_ONE_BYTE; j++) { in test_encrypt_and_decrypt()
39 key[i * BITS_COUNT_OF_ONE_BYTE + j] = (keytext[i] >> j) & 1; in test_encrypt_and_decrypt()
45 for (int j = 0; j < BITS_COUNT_OF_ONE_BYTE; j++) { in test_encrypt_and_decrypt()
46 buf[i * BITS_COUNT_OF_ONE_BYTE + j] = (plaintext[i] >> j) & 1; in test_encrypt_and_decrypt()
56 for (int j = 0; j < BITS_COUNT_OF_ONE_BYTE; j++) { in test_encrypt_and_decrypt()
57 block_cipher[i] |= buf[i * BITS_COUNT_OF_ONE_BYTE + j] << j; in test_encrypt_and_decrypt()
67 for (int j = 0; j < BITS_COUNT_OF_ONE_BYTE; j++) { in test_encrypt_and_decrypt()
68 block_decrypt[i] |= buf[i * BITS_COUNT_OF_ONE_BYTE + j] << j; in test_encrypt_and_decrypt()

Completed in 1 milliseconds