Lines Matching defs:userKey
538 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits,
548 if (userKey == NULL || key == NULL) {
559 w0[0] = GET_U32_BE(userKey, 0);
560 w0[1] = GET_U32_BE(userKey, 1);
561 w0[2] = GET_U32_BE(userKey, 2);
562 w0[3] = GET_U32_BE(userKey, 3);
572 w1[0] = GET_U32_BE(userKey, 4);
573 w1[1] = GET_U32_BE(userKey, 5);
575 w1[2] = GET_U32_BE(userKey, 6);
576 w1[3] = GET_U32_BE(userKey, 7);
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);
1122 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits,
1128 if (!userKey || !key)
1130 memcpy(w0.c, userKey, sizeof(w0));
1147 memcpy(kr.c, userKey + ARIA_BLOCK_SIZE, sizeof(kr) / 2);
1156 memcpy(kr.c, userKey + ARIA_BLOCK_SIZE, sizeof(kr));
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);