Lines Matching defs:bits
538 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits,
546 int Nr = (bits + 256) / 32;
551 if (bits != 128 && bits != 192 && bits != 256) {
557 ck = &Key_RC[(bits - 128) / 64][0];
571 if (bits > 128) {
574 if (bits > 192) {
653 if (bits > 128) {
659 if (bits > 192) {
670 int ossl_aria_set_decrypt_key(const unsigned char *userKey, const int bits,
679 const int r = ossl_aria_set_encrypt_key(userKey, bits, key);
930 const unsigned int bytes = n / 8, bits = n % 8;
937 o->c[i] = ((t.c[i] >> bits) |
938 (t.c[i ? i - 1 : ARIA_BLOCK_SIZE - 1] << (8 - bits))) ^
943 * Circular rotate 19 bits right and xor.
952 * Circular rotate 31 bits right and xor.
961 * Circular rotate 61 bits left and xor.
970 * Circular rotate 31 bits left and xor.
979 * Circular rotate 19 bits left and xor.
1122 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits,
1131 switch (bits) {
1195 int ossl_aria_set_decrypt_key(const unsigned char *userKey, const int bits,
1199 const int r = ossl_aria_set_encrypt_key(userKey, bits, &ek);